001    package net.minecraft.src;
002    
003    import cpw.mods.fml.common.Side;
004    import cpw.mods.fml.common.asm.SideOnly;
005    
006    @SideOnly(Side.CLIENT)
007    public class RenderCow extends RenderLiving
008    {
009        public RenderCow(ModelBase par1ModelBase, float par2)
010        {
011            super(par1ModelBase, par2);
012        }
013    
014        public void renderCow(EntityCow par1EntityCow, double par2, double par4, double par6, float par8, float par9)
015        {
016            super.doRenderLiving(par1EntityCow, par2, par4, par6, par8, par9);
017        }
018    
019        public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
020        {
021            this.renderCow((EntityCow)par1EntityLiving, par2, par4, par6, par8, par9);
022        }
023    
024        /**
025         * Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then
026         * handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic
027         * (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1,
028         * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.
029         */
030        public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
031        {
032            this.renderCow((EntityCow)par1Entity, par2, par4, par6, par8, par9);
033        }
034    }