Topic category: Troubleshooting, bugs, and solutions
I mentioned this in another topic, but i thought it would be better to move it to its own topic.
Attempting to run a mod results in 'One or more of my main mod files not compiling properly'
I made a test mod, and this is in the console:
Executing Gradle task: runClient
Build info: MCreator 2023.4.52316, forge-1.20.1, 64-bit, 7883 MB, Windows 11, JVM 17.0.9, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-01-25-10:47:54
> Task :compileJava FAILED
C:\Users\*****\MCreatorWorkspaces\emp\src\main\java\net\mcreator\emp\EmpMod.java:50: error: package EmpModItems does not exist EmpModItems.REGISTRY.register(bus);
^
1 error
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 2s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 30 seconds
Running the test mod works fine when there's no mod elements in it
I started seeing this issue when I updated from 2023.3 to 2023.4
This is caused by not updating the plugins for the appropriate version, namely geckolib
Thank you so much!!!!!! :D
how to fix this geckolib please help me because I don't know and I have had this error for 6 months now