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