i need help with my mob

Started by thebebist on Tue, 05/15/2018 - 19:08

Topic category: Help with modding (Java Edition)

Last seen on 16:46, 8. Sep 2020
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
Last seen on 00:36, 3. Mar 2020
Joined Sep 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.