Your model name is not a valid Java name (duplicate)

Started by titedog on Tue, 07/30/2019 - 21:51

Topic category: Bugs and solutions

Last seen on 19:30, 29. Jun 2020
Joined Oct 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Your model name is not a valid Java name (duplicate)
Thu, 08/01/2019 - 14:49 (edited)

When I try to create an entity with a custom .java class model, it doesn't allow me to import said java file into mcreator. It has an error where it tells me that the name must contain whitespace, ASCII characters, etc. I don't understand why this is happening, as literally the name of the java file is crab.java

I thought it might be something with the code so I looked into it but there is no name to be found, yet alone a solution.

I really need help, if anyone could.

Thanks.

Edited by titedog on Thu, 08/01/2019 - 14:49
Last seen on 19:30, 29. Jun 2020
Joined Oct 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I looked through these, and…
Thu, 08/01/2019 - 12:02

I looked through these, and they didn't help. I looked through the code of my java model and couldn't find anything referencing a name. If you need me to I can send you the code of my java model.

If you can't find the name,…
Thu, 08/01/2019 - 14:49

If you can't find the name, yes, post the model code. But in one of the existing topics, do not open new ones.