Topic category: Help with Minecraft modding (Java Edition)
I'm adding custom mobs into my mod and once I added my fifth, 2 of them had troubles with the models. I tried to make different models, but only one of the models would work and it was the one with the default name "Modelcustom_model", when swapped the one that worked wouldn't anymore and the one that didn't work would work, as soon as I named the models they would stop working. They were working fine just before I added the fifth mob. The error says "error: cannot find symbol" Which from what I have seen is when the name has unknown symbols but the name doesn't and like I said it worked just fine before I added the fifth, the models are named CrySlimePink and CryDogBlue (cry stands for crystal) and worked earlier, Here is the full error message,
Executing Gradle task: build
Build info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 16145 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Task :compileJava FAILED
C:\Users\____\MCreatorWorkspaces\ugh_and_ooga\src\main\java\net\mcreator\ughandooga\entity\renderer\CrystalDogRenderer.java:28: error: cannot find symbol return new MobRenderer(renderManager, new CryDogBlue(), 0f) {
^
symbol: class CryDogBlue
location: class ModelRegisterHandler
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 3 seconds
I had same issue :(
Do you had rotated part on your mob? Because i had and it doesn't works for me and appear the same message.
When I added the fifth I gave it animations, and I also gave the dog model animations too, if thats what you mean
Did you manually rename it in code?
I tried to rename it in blockbench but when put in mcreator it change to Modelcustom_model, I tried changing the name by using file explorer and that worked until now
I have the same problem and i don't know what to do