001 package net.minecraft.src; 002 003 import cpw.mods.fml.common.Side; 004 import cpw.mods.fml.common.asm.SideOnly; 005 import org.lwjgl.opengl.GL11; 006 007 @SideOnly(Side.CLIENT) 008 public class RenderEntity extends Render 009 { 010 /** 011 * Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then 012 * handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic 013 * (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1, 014 * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that. 015 */ 016 public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) 017 { 018 GL11.glPushMatrix(); 019 renderOffsetAABB(par1Entity.boundingBox, par2 - par1Entity.lastTickPosX, par4 - par1Entity.lastTickPosY, par6 - par1Entity.lastTickPosZ); 020 GL11.glPopMatrix(); 021 } 022 }