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

Started by MattyBoii360 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why Is My Model Name Is Not A Valid Java Name!?

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!!!

Joined Dec 2020
Points:

User statistics:

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

Joined Feb 2020
Points:

User statistics:

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

Joined Feb 2020
Points:

User statistics:

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