protected void passSpecialRender(EntityLiving entityliving, double d, double d1, double d2)
{
renderName((EntityDigimon)entityliving, entityliving, d, d1+entityliving.height/2, d2);
}
protected void renderName(EntityDigimon entityplayer,EntityLiving entityliving, double d, double d1, double d2)
{
EntityDigimon digimonScreen = entityplayer;
if(Minecraft.isGuiEnabled() && (entityliving instanceof EntityDigimon) && ...
Why...
1) passing two times same argument in renderName ?
2) casting to EntityDigimon before checking if it is castable ?
3) saving an argument into a local variable ?
4) using such bad variable naming ?
When and where is passSpecialRender method called ?
How is that supposed to do anything interesting ?
public void renderModel(EntityLiving entityliving, double d, double d1, double d2,
float f, float f1)
{
super.doRenderLiving(entityliving, d, d1, d2, f, f1);
}
public void doRenderLiving(EntityLiving entityliving, double d, double d1, double d2,
float f, float f1)
{
renderModel(entityliving, d, d1, d2, f, f1);
}
public void doRender(Entity entity, double d, double d1, double d2,
float f, float f1)
{
renderModel((EntityLiving)entity, d, d1, d2, f, f1);
}
Your code is looping here.