Error with multiple BlockBench models

Started by NoLoveTermi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error with multiple BlockBench models

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

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I managed to insert 2 but…
Fri, 03/25/2022 - 18:24

I managed to insert 2 but when I insert them this message comes out, what could I do?

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make sure of that in the…
Sat, 03/26/2022 - 03:05

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

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ive been having the same…
Sun, 03/27/2022 - 19:25

ive been having the same problem and the responce from @urielito3010 hasnt worked with me