Names of JAVA models are changing to "ModelNew"

Started by Oopsie-Doopsie on Thu, 07/11/2019 - 11:08

Topic category: Bugs and solutions

Last seen on 17:37, 19. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Names of JAVA models are changing to "ModelNew"
Thu, 07/11/2019 - 11:08

(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 20:02, 19. Jul 2019
Joined Aug 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
"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 20:02, 19. Jul 2019
Joined Aug 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
"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 17:37, 19. Jul 2019
Joined Jul 2019
User points:

Statistics:

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

I'm sorry, but what should I do qwq