Topic category: Help with Minecraft modding (Java Edition)
(This is on the latest EAP and I have about 5800 mod elements) When I changed the workspace version to 1.21.4 I got the following error (the mod works fine on other versions): Executing Gradle task: build Build info: MCreator 2025.1.05718 EAP (05718), neoforge-1.21.4, 64-bit, 16252 MB, Windows 10, JVM 21.0.5, JAVA_HOME: C:\Users\lvz12\Downloads\MCreatorEAP2025105718\jdk, started on: 2025-02-03-22:33:17 BUILD FAILED Task completed in 6 minutes and 19 seconds Calculating task graph as configuration cache cannot be reused because environment variable 'MCREATOR_JVM_OPTIONS' has changed. > Task :processTestResources NO-SOURCE > Task :jarJar NO-SOURCE > Task :createMinecraftArtifacts UP-TO-DATE > Task :compileJava C:\Users\lvz12\Downloads\0Mcreatorworkspaces0\1.21.4\src\main\java\net\mcreator\crystalcraftunlimitedjava\init\CrystalcraftUnlimitedJavaModItems.java:2037: error: code too large public static final DeferredRegister.Items REGISTRY = DeferredRegister.createItems(CrystalcraftUnlimitedJavaMod.MODID); ^ > Task :processResources > Task :compileJava FAILED 1 error > Task :processResources UP-TO-DATE FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler output below. C:\Users\lvz12\Downloads\0Mcreatorworkspaces0\1.21.4\src\main\java\net\mcreator\crystalcraftunlimitedjava\init\CrystalcraftUnlimitedJavaModItems.java:2037: error: code too large public static final DeferredRegister.Items REGISTRY = DeferredRegister.createItems(CrystalcraftUnlimitedJavaMod.MODID); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error * Try: > Check your code and dependencies to fix the compilation error(s) > Run with --scan to get full insights. BUILD FAILED in 1m 31s 3 actionable tasks: 1 executed, 2 up-to-date Configuration cache entry stored. BUILD FAILED Task completed in 1 minute and 35 seconds
Is the mod just to big to ever update again or is there a fix?