Topic category: Help with MCreator software
Hi there, I've been trying to update my workspace from 2021.1 to 2021.2 and every time I try, my workspace is filled with hundreds of errors about a missing symbol. I know the fix for that listed in the knowledge base https://mcreator.net/wiki/gradle-setup-errors#wiki-index-13 has to do with deleting gradle folder and gradle caches, however I've tried all these and there's been no change. To clarify:
-tried deleting the cache folder. No change
-tried deleting the entire gradle folder. No change
-tried deleting the entire gradle folder, then making a new workspace, and following the build workspace - reload gradle - regenerate code and build in actual workspace. No change.
I was really excited for the aquatic fix so i'm trying really hard to get this update to work. Does anyone have any further ideas or suggestions?
so maybe give us the console text? paste it on pastebin or smt like that
Executing Gradle task: build
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 32694 MB, Windows 10, JVM 11.0.11, JAVA_HOME: D:\MCreator\jdk
> Task :compileJava
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\entity\DolphinEntity.java:76: error: cannot find symbol FMLJavaModLoadingContext.get().getModEventBus().register(new DolphinRenderer.ModelRegisterHandler());
^
symbol: class ModelRegisterHandler
location: class net.minecraft.client.renderer.entity.DolphinRenderer
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\entity\FoxEntity.java:64: error: cannot find symbol FMLJavaModLoadingContext.get().getModEventBus().register(new FoxRenderer.ModelRegisterHandler());
^
symbol: class ModelRegisterHandler
location: class net.minecraft.client.renderer.entity.FoxRenderer
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\entity\renderer\DolphinRenderer.java:25: error: cannot find symbol RenderingRegistry.registerEntityRenderingHandler(DolphinEntity.entity, renderManager -> {
^
symbol: variable entity
location: class net.minecraft.entity.passive.DolphinEntity
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\entity\renderer\FoxRenderer.java:26: error: cannot find symbol RenderingRegistry.registerEntityRenderingHandler(FoxEntity.entity, renderManager -> {
^
symbol: variable entity
location: class net.minecraft.entity.passive.FoxEntity
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\entity\renderer\MuleRenderer.java:25: error: cannot find symbol RenderingRegistry.registerEntityRenderingHandler(MuleEntity.entity, renderManager -> {
^
symbol: variable entity
location: class net.minecraft.entity.passive.horse.MuleEntity
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\entity\renderer\TurtleRenderer.java:26: error: cannot find symbol RenderingRegistry.registerEntityRenderingHandler(TurtleEntity.entity, renderManager -> {
^
symbol: variable entity
location: class net.minecraft.entity.passive.TurtleEntity
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\entity\renderer\ZombieHorseRenderer.java:25: error: cannot find symbol RenderingRegistry.registerEntityRenderingHandler(ZombieHorseEntity.entity, renderManager -> {
^
symbol: variable entity
location: class net.minecraft.entity.passive.horse.ZombieHorseEntity
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\entity\TurtleEntity.java:51: error: cannot find symbol FMLJavaModLoadingContext.get().getModEventBus().register(new TurtleRenderer.ModelRegisterHandler());
^
symbol: class ModelRegisterHandler
location: class net.minecraft.client.renderer.entity.TurtleRenderer
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\procedures\DolphinEggProcedure.java:65: error: cannot find symbol Entity entityToSpawn = new DolphinEntity.CustomEntity(DolphinEntity.entity, (World) world);
^
symbol: class CustomEntity
location: class net.minecraft.entity.passive.DolphinEntity
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\procedures\DolphinEggProcedure.java:65: error: cannot find symbol Entity entityToSpawn = new DolphinEntity.CustomEntity(DolphinEntity.entity, (World) world);
^
symbol: variable entity
location: class net.minecraft.entity.passive.DolphinEntity
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\procedures\TurtleTransferProcedure.java:41: error: cannot find symbol .getEntitiesWithinAABB(TurtleEntity.CustomEntity.class,
^
symbol: class CustomEntity
location: class net.minecraft.entity.passive.TurtleEntity
D:\MocAwakenedBackup\src\main\java\net\mcreator\mocreatures\procedures\TurtleTransferProcedure.java:49: error: cannot find symbol .getEntitiesWithinAABB(TurtleEntity.CustomEntity.class,
^
symbol: class CustomEntity
location: class net.minecraft.entity.passive.TurtleEntity
12 errors
> 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 12s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 22 seconds
I am having a very similar problem; I get hundreds of mod elements with missing symbol errors that claim to be missing important core files. I’ve looked through the workspace’s actual source files, and found there actually are a bunch missing, but manually restoring the missing files from backups doesn’t help. I think something might be wrong on the workspace side, but I haven’t quite figured it out yet.