Names of JAVA models are changing to "ModelNew"

Started by Oopsie-Doopsie on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 16:14, 2. Dec 2021
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Names of JAVA models are changing to "ModelNew"

(Sorry for my bad english, I'm from Russia)
Okay, I want to create a mob for my mod. For example, name of mob model is "mouse.java", but when I importing this model, name changing into "ModelNew". Idk why that's happening, but because of this I can't import other models - their names ALSO changing into "ModelNew", so MCreator gives an error - "Java Model with the name ModelNew already exist! Make sure that the model in code is different and import it again." Excuse me, what?

Last seen on 18:16, 20. Oct 2021
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"mouse.java" is the name of…
Thu, 07/11/2019 - 23:43

"mouse.java" is the name of the file, "ModelNew" is because you did not name it PublicClass, "PublicClass" would be the internal name of the model, where it will be recognized  Exemple: p"class ModelWoodGolem extends ModelBase" this is a line of the code where that is, if you open the model with a text editor you can see!

Last seen on 18:16, 20. Oct 2021
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Make suret that the model…
Thu, 07/11/2019 - 23:46

"Make suret that the model in code is different and import it again." - MCreator itself confirms what I say!

Last seen on 16:14, 2. Dec 2021
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm sorry, but what should I…
Fri, 07/19/2019 - 17:31

I'm sorry, but what should I do qwq