Mob help

2 posts / 0 new
Last post
stegy17's picture
Offline
Last seen: 1 year 10 months ago
Joined: 12/22/2014 - 19:07
Gems: 0
Mob help

Please Help, when i tried to make a orc mob and had finished it had come up with this error:

 

 

>C:\Pylo\MCreator156\forge\build\sources\java\mod\mcreator\mcreator_basicOrc.java:110: error: cannot find symbol

 

>                             RenderingRegistry.registerEntityRenderingHandler(mcreator_basicOrc.EntitybasicOrc.class, new RenderLiving(new mcreator_basicOrc.Modeluy(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("BasicOrc.png");}});

 

>                                                                                                                                                            ^

 

>  symbol:   class Modeluy

 

>  location: class mcreator_basicOrc

 

>1 error

 

>: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.

 

>BUILD F>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

 

AILED

 

>* Try:

 

>Total time: 5.513 secs

 

>C:\Pylo\MCreator156\forge>

 

>Task completed with return code 0 in 6199 milliseconds

 

 

If you can help me with this, then thank you

 

 



MedaiP90's picture
Offline
Last seen: 2 years 2 months ago
Joined: 07/20/2014 - 13:15
Gems: 0
MCreator uses this code to

MCreator uses this code to render a mob:

public void registerRenderers(){
        RenderingRegistry.registerEntityRenderingHandler(mcreator_roboGuard.EntityroboGuard.class, new RenderLiving(new mcreator_roboGuard.ModelRoboGuard(), 0){
protected ResourceLocation getEntityTexture(Entity par1Entity){
return new ResourceLocation("RoboGuard.png");
}
}); 
}

 

RoboGuard is my custom mob.