Started by
Bengee867
on
Topic category: Help with Minecraft modding (Java Edition)
I am creating a road mod, and all that I have made so far is a guard rail. The model was made with Techne, but when I recompile the workspace I get a error. This is what comes in in the grandle log:
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_crashBarrier.java:211: error: variable Shape1 is already defined in class ModelGuardRail1
ModelRenderer Shape1;
^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_crashBarrier.java:212: error: variable Shape1 is already defined in class ModelGuardRail1
ModelRenderer Shape1;
^
2 errors
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.
I am really confused and would appreciate some help :)
You have made multiple elements of your custom mob model that have a same name. You can't do this. Fix your model in Techne, export it again and import it again.