Topic category: Troubleshooting, bugs, and solutions
I was making a creative tab, and decided to delete it in order to replace it with a different one, however MCreator automatically started building for literally no reason while I was trying to replace the creative tab of the items that were BY DEFAULT added to the creative tab. This caused an error that literally cannot be fixed because I guess testing things isn't real anymore.
Executing Gradle task: build
Build info: MCreator 2024.1.18518, forge-1.20.1, 64-bit, 32693 MB, Windows 11, JVM 17.0.10, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-05-17-18:17:47
Loaded APIs: jei
> Task :compileJava FAILED
C:\Users\[MY USERNAME]\MCreatorWorkspaces\resourceful\src\main\java\net\mcreator\resourceful\ResourcefulMod.java:49: error: package ResourcefulModTabs does not exist ResourcefulModTabs.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 --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 3s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 7 seconds
Try regenerating code of the whole workspace
Also make sure to install latest 2024.1 patch which should generally not rebuild workspace while reordering tabs
I have regenerated code dozens of times, I have no creative tabs, and I'm already on the latest version.
Try exporting workspace to zip and importing it back into new folder
The error still occurs.. yet it managed to successfully build when creating the mod from the zip?