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

Started by Brazolne on

Topic category: Help with MCreator software

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't add more than one Java model to my Workspace

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.

Joined Apr 2014
Points:

User statistics:

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

Maybe, change its name?

Joined Jan 2020
Points:

User statistics:

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

Yeah just change the name when you export it

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.