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