001 package net.minecraft.client.model;
002
003 import cpw.mods.fml.relauncher.Side;
004 import cpw.mods.fml.relauncher.SideOnly;
005
006 @SideOnly(Side.CLIENT)
007 public class ModelCow extends ModelQuadruped
008 {
009 public ModelCow()
010 {
011 super(12, 0.0F);
012 this.head = new ModelRenderer(this, 0, 0);
013 this.head.addBox(-4.0F, -4.0F, -6.0F, 8, 8, 6, 0.0F);
014 this.head.setRotationPoint(0.0F, 4.0F, -8.0F);
015 this.head.setTextureOffset(22, 0).addBox(-5.0F, -5.0F, -4.0F, 1, 3, 1, 0.0F);
016 this.head.setTextureOffset(22, 0).addBox(4.0F, -5.0F, -4.0F, 1, 3, 1, 0.0F);
017 this.body = new ModelRenderer(this, 18, 4);
018 this.body.addBox(-6.0F, -10.0F, -7.0F, 12, 18, 10, 0.0F);
019 this.body.setRotationPoint(0.0F, 5.0F, 2.0F);
020 this.body.setTextureOffset(52, 0).addBox(-2.0F, 2.0F, -8.0F, 4, 6, 1);
021 --this.leg1.rotationPointX;
022 ++this.leg2.rotationPointX;
023 this.leg1.rotationPointZ += 0.0F;
024 this.leg2.rotationPointZ += 0.0F;
025 --this.leg3.rotationPointX;
026 ++this.leg4.rotationPointX;
027 --this.leg3.rotationPointZ;
028 --this.leg4.rotationPointZ;
029 this.field_78151_h += 2.0F;
030 }
031 }