Topic category: Help with Minecraft modding (Java Edition)
Good afternoon. I'm making a mod that has a mob that can just walk. It's passive. But when I try to run the mod, a window appears to regenerate the code. This is what the console shows:
> Task :compileJava
Picked up JAVA_TOOL_OPTIONS: -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.local.only=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
C:\Users\User\MCreatorWorkspaces\delited_content_of_minecraft\src\main\java\net\mcreator\delitedcontentofminecraft\client\renderer\MobRenderer.java:13: error: cyclic inheritance involving MobRenderer public class MobRenderer extends MobRenderer<MobEntity, Modelmob<MobEntity>> {
^
C:\Users\User\MCreatorWorkspaces\delited_content_of_minecraft\src\main\java\net\mcreator\delitedcontentofminecraft\init\DelitedContentOfMinecraftModEntityRenderers.java:18: error: cannot find symbol event.registerEntityRenderer(DelitedContentOfMinecraftModEntities.MOB.get(), MobRenderer::new);
^
symbol: class MobRenderer
location: class DelitedContentOfMinecraftModEntityRenderers
2 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 --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 36s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 39 seconds
You have called your entity "Mob", which is already used in the game.