Started by
brok4d
on
Topic category: Troubleshooting, bugs, and solutions
Hello I am making a mod with the Mcreator 2020.5 version with 1.12.2, my problem is that the procedures that I put triggers of the item spawn do not recognize the entity well, that I think is I leave the error to see what happens.
Executing Gradle task: build
Build info: MCreator 2020.5.47520, forge-1.12.2, 64-bit, 8149 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
C:\Users\TATTO\MCreatorWorkspaces\brokmod\build\sources\main\java\net\mcreator\broktatomod\procedure\ProcedureBoaterWaterRightClickedInAir.java:68: error: package EntityBoater does not exist Entity entityToSpawn = new EntityBoater.EntityCustom(world);
^
C:\Users\TATTO\MCreatorWorkspaces\brokmod\build\sources\main\java\net\mcreator\broktatomod\procedure\ProcedureBoatWaterRightClickedOnBlock.java:70: error: package EntityBoater does not exist Entity entityToSpawn = new EntityBoater.EntityCustom(world);
^
2 errors
:compileJava FAILED
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
5 actionable tasks: 3 executed, 2 up-to-date
BUILD FAILED
Task completed in 82766 milliseconds
I have tried a different, very simple new model and the same error happens to me, however with models already made I have imported from before it works. What can be?
I corrected it was that the entities are not good for me, I desistale the Mcreator and imported the project and it still did not work, I created a new entity that I did before but without success and now it works, I think a bug in the program because it broke.