i need help with my mob

Started by thebebist on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i need help with my mob
Wed, 05/16/2018 - 11:44 (edited)

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.
 

Edited by thebebist on Wed, 05/16/2018 - 11:44
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What format did you use? I…
Mon, 05/21/2018 - 12:31

What format did you use? I think mobs need .java moddels. Also make sure the moddels and texture names exactly match the mob name.