private static final ResourceLocation texture = new ResourceLocation(LibResources.MODEL_TINY_POTATO);
private static final ModelTinyPotato model = new ModelTinyPotato();
@Override
public void renderTileEntityAt(TileEntity var1, double d0, double d1, double d2, float var8) {
TileTinyPotato potato = (TileTinyPotato) var1;
GL11.glPushMatrix();
GL11.glEnable(GL12.GL_RESCALE_NORMAL);
GL11.glColor4f(1F, 1F, 1F, 1F);
GL11.glTranslated(d0, d1, d2);
Minecraft.getMinecraft().renderEngine.bindTexture(texture);
GL11.glTranslatef(0.5F, 1.5F, 0.5F);
GL11.glScalef(1F, -1F, -1F);
int meta = potato.getWorldObj() == null ? 3 : potato.getBlockMetadata();
GL11.glRotatef(meta * 90F - 180F, 0F, 1F, 0F);
float jump = potato.jumpTicks;
if(jump > 0)
jump += var8;