I can't compile my fabric mod

Started by Badpig on Sat, 03/27/2021 - 02:35

Topic category: Help with MCreator software

Last seen on 02:51, 6. Sep 2022
Joined Mar 2021

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't compile my fabric mod
Sat, 03/27/2021 - 02:35

here the log

Executing Gradle task: jar
Build info: MCreator 2021.1.12313 EAP (12313), fabric-1.16.5, 64-bit, 3766 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\badpi\Downloads\MCreator EAP 2021.1 b12313 Windows 64bit (1)\MCreatorEAP20211b12313\jdk
> Configure project :
Fabric Loom: 0.6.54 Build(release #54)
> Task :compileJava
C:\Users\x\MCreatorWorkspaces\badpig_mod\src\main\java\net\mcreator\badpigmod\BadpigModMod.java:30: error: cannot find symbol public static final Block Deepslate_BLOCK = Registry.register(Registry.BLOCK, id("deepslate"), new DeepslateBlock());
symbol: class DeepslateBlock
location: class BadpigModMod
1 error
> Task :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 1m 21s
1 actionable task: 1 executed
Task completed in 1 minute and 32 seconds

I need to update the block…
Sat, 03/27/2021 - 04:14

I need to update the block and plant mod elements to support the new bounding box editor code. You will have to use the second snapshot until I update the plugin. :/ I will try to update it during the week.