Topic category: Help with Minecraft modding (Java Edition)
i am trying to create a mob with one of my models but glade task fails
please help!
glade output:
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:57: error: ')' expected
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_terrair.Modelterrair (god)(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("terrair.png");}};
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:57: error: illegal start of expression
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_terrair.Modelterrair (god)(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("terrair.png");}};
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:57: error: ';' expected
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_terrair.Modelterrair (god)(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("terrair.png");}};
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:57: error: not a statement
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_terrair.Modelterrair (god)(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("terrair.png");}};
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:57: error: ';' expected
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_terrair.Modelterrair (god)(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("terrair.png");}};
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:57: error: illegal start of expression
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_terrair.Modelterrair (god)(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("terrair.png");}};
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:57: error: ';' expected
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_terrair.Modelterrair (god)(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("terrair.png");}};
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:57: error: ';' expected
RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_terrair.Modelterrair (god)(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("terrair.png");}};
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:234: error: '{' expected
public static class Modelterrair (god) extends ModelBase
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:259: error: <identifier> expected
public Modelterrair (god)()
^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_terrair.java:259: error: ';' expected
public Modelterrair (god)()
^
11 errors
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.
What format did you use? I think mobs need .java moddels. Also make sure the moddels and texture names exactly match the mob name.