Topic category: Plugins and third-party tools
Hello kinda new here and cant figure this out any help is appreciated :) thank you
I keep getting this error message:
Your main mod file did not compile properly
ect.
here's my console log:
Executing Gradle task: runClient
Build info: MCreator 2021.2.36710, fabric-1.16.5, 64-bit, 16315 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
Fabric Loom: 0.7.34
> Task :compileJava FAILED
C:\Users\Humes\MCreatorWorkspaces\block_generators\src\main\java\net\mcreator\blockgenerators\block\WoodGenerator2Block.java:66: error: method does not override or implement a method from a supertype @Override
^
C:\Users\Humes\MCreatorWorkspaces\block_generators\src\main\java\net\mcreator\blockgenerators\block\WoodGenerator2Block.java:68: error: cannot find symbol super.neighborUpdate(world, pos, neighborBlock, posFrom, notify);
^
symbol: variable neighborBlock
location: class WoodGenerator2Block
C:\Users\Humes\MCreatorWorkspaces\block_generators\src\main\java\net\mcreator\blockgenerators\block\WoodGenerator2Block.java:75: error: cannot find symbol WoodGeneratorRedstoneOnProcedure.executeProcedure($_dependencies);
^
symbol: variable WoodGeneratorRedstoneOnProcedure
location: class WoodGenerator2Block
C:\Users\Humes\MCreatorWorkspaces\block_generators\src\main\java\net\mcreator\blockgenerators\BlockGeneratorsMod.java:48: error: cannot find symbol new WoodGeneratorRedstoneOnProcedure();
^
symbol: class WoodGeneratorRedstoneOnProcedure
location: class BlockGeneratorsMod
4 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 897ms
1 actionable task: 1 executed
BUILD FAILED
the procedure on your Wood Generator and trigger Redstone On is not working properly, did you import your mod from Forge to Fabric? If not your Procedure is just not compatible, you might want to check dependencies and the procedure itself
if that doesn't work delete the block + procedure and re do it