I can't add more than one Java model to my Workspace

Started by Brazolne on Mon, 03/30/2020 - 20:34

Topic category: Help with MCreator software

Last seen on 23:57, 11. Dec 2020
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I can't add more than one Java model to my Workspace
Mon, 03/30/2020 - 20:34

Whenever i try to add another model, the following message appears:
"Java model with the name Modelcustom_model already exists! Make sure that the model name in code is different and import it again"

 

So, i mean, the instructions are actually clear, i kinda get it, but i still don't know how to do it.

Last seen on 21:05, 27. Apr 2021
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Maybe, change its name?
Tue, 03/31/2020 - 00:10

Maybe, change its name?

Last seen on 00:13, 27. Mar 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yeah just change the name…
Tue, 03/31/2020 - 03:21

Yeah just change the name when you export it

Last seen on 12:47, 26. May 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you have to go into the…
Wed, 04/08/2020 - 13:09

you have to go into the workspace folder and rename the model currently in the workspace. This will cause a compilation error. You then go into the code of the <entity>.java and use find and replace to turn "Modelcustom_model" into whatever you named the java model in your workspace folder.