Topic category: Help with Minecraft modding (Java Edition)
i can't upload 2 model on Mcreator
this is what I get out as soon as I enter the second
> Task :compileJava FAILED
C:\Users\Morgan\MCreatorWorkspaces\schiavotest\src\main\java\net\mcreator\schiavotest\client\model\Boatcustom_model.java:21: error: class Modelcustom_model is public, should be declared in a file named Modelcustom_model.java public class Modelcustom_model<T extends Entity> extends EntityModel<T> {
^
C:\Users\Morgan\MCreatorWorkspaces\schiavotest\src\main\java\net\mcreator\schiavotest\client\model\Schiavocustom_model.java:22: error: class Modelcustom_model is public, should be declared in a file named Modelcustom_model.java public class Modelcustom_model<T extends Entity> extends EntityModel<T> {
^
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. 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 1 second
I managed to insert 2 but when I insert them this message comes out, what could I do?
Make sure of that in the project setting on blockbench, you are exporting for the right version.
If you are using MCreator for 1.16.5, use MCP 1.15-1.16
If you are using 1.17 or 1.18, use mojmaps for 1.17
ive been having the same problem and the responce from @urielito3010 hasnt worked with me