Why Is My Model Name Is Not A Valid Java Name!?

Started by MattyBoii360 on Thu, 12/31/2020 - 02:03

Topic category: Help with modding (Java Edition)

Last seen on 03:44, 3. Jan 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Why Is My Model Name Is Not A Valid Java Name!?
Thu, 12/31/2020 - 02:03

I made a model with blockbench, but when I tried to import the .java mode into Mcreator it says the mode name is not a valid java name! it doe not violate any of the name rules like NO spaces and other stuff. The name is alien_mob.java I'm confused as to why it doesn't work when importing it to Mcreator, the name inside the java code has no spaces and is called the same thing as the file name!! Please Help!!!

Last seen on 20:56, 2. Jan 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
that should only happen if…
Thu, 12/31/2020 - 06:09

that should only happen if the name is already in the game or if you already named something that. maybe you added it twice on accident?

Last seen on 03:44, 3. Jan 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm very sure I didn't name…
Thu, 12/31/2020 - 06:12

I'm very sure I didn't name it twice, or there is something named that already. The java file is alien_mob and it's also the same thing in the class code of the java file. well, IDK what to do now

Last seen on 03:44, 3. Jan 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
lol NorthWestTreesGaming is…
Sun, 01/03/2021 - 03:47

lol NorthWestTreesGaming is like the god of using the M-Creator software correctly.