Started by
MED98
on
Topic category: Help with Minecraft modding (Java Edition)
sry for my bad english :/
Im using the fabric 1.21.8 generator, i was working on my mod called minecraft+ and when i tried running it, it keeps giving me that error, can someone explain to me?
- heres the error btw
Executing Gradle task: runClient
Build info: MCreator 2026.1.14619, fabric-1.21.8, 64-bit, 16219 MB, Windows 11, JVM 21.0.10, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2026-05-12-14:17:32
> Configure project :
Fabric Loom: 1.15.5
> Task :compileJava FAILED
C:\Users\med\MCreatorWorkspaces\minecraft_\src\main\java\net\mcreator\minecraft\init\MinecraftModBlocks.java:50: error: cannot find symbol
REDMAPLELEAVES = register("redmapleleaves", RedmapleleavesBlock::new);
^
symbol: class RedmapleleavesBlock
location: class MinecraftModBlocks
C:\Users\med\MCreatorWorkspaces\minecraft_\src\main\java\net\mcreator\minecraft\init\MinecraftModBlocksRenderers.java:17: error: cannot find symbol
RedmapleleavesBlock.registerRenderLayer();
^
symbol: variable RedmapleleavesBlock
location: class MinecraftModBlocksRenderers
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler output below.
C:\Users\med\MCreatorWorkspaces\minecraft_\src\main\java\net\mcreator\minecraft\init\MinecraftModBlocks.java:50: error: cannot find symbol
REDMAPLELEAVES = register("redmapleleaves", RedmapleleavesBlock::new);
^
symbol: class RedmapleleavesBlock
location: class MinecraftModBlocks
C:\Users\med\MCreatorWorkspaces\minecraft_\src\main\java\net\mcreator\minecraft\init\MinecraftModBlocksRenderers.java:17: error: cannot find symbol
RedmapleleavesBlock.registerRenderLayer();
^
symbol: variable RedmapleleavesBlock
location: class MinecraftModBlocksRenderers
Note: Recompile with -Xlint:unchecked for details.
2 errors
* Try:
> Check your code and dependencies to fix the compilation error(s)
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
BUILD FAILED in 1s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 1 minute and 7 seconds
This seems like Fabric generator MCreator plugin bug. Get in touch with the plugin author