// Date: 3/5/2013 10:12:04 PM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX






package net.minecraft.src;

public class ModelGummyBear extends ModelBase
{
  //fields
    ModelRenderer head;
    ModelRenderer Snout;
    ModelRenderer body;
    ModelRenderer rightarm;
    ModelRenderer leftarm;
    ModelRenderer leftleg;
    ModelRenderer rightleg;
    ModelRenderer leftear;
    ModelRenderer rightear;
    ModelRenderer belly;
  
  public ModelGummyBear()
  {
    textureWidth = 64;
    textureHeight = 32;
    
      head = new ModelRenderer(this, 0, 0);
      head.addBox(-4F, -7F, -3F, 8, 7, 6);
      head.setRotationPoint(0F, 12F, 0F);
      head.setTextureSize(64, 32);
      head.mirror = true;
      setRotation(head, 0F, 0F, 0F);
      Snout = new ModelRenderer(this, 28, 0);
      Snout.addBox(-2F, -4F, -5F, 4, 4, 2);
      Snout.setRotationPoint(0F, 12F, 0F);
      Snout.setTextureSize(64, 32);
      Snout.mirror = true;
      setRotation(Snout, 0F, 0F, 0F);
      body = new ModelRenderer(this, 0, 13);
      body.addBox(-4F, -4F, -2F, 8, 9, 4);
      body.setRotationPoint(0F, 16F, 0F);
      body.setTextureSize(64, 32);
      body.mirror = true;
      setRotation(body, 0F, 0F, 0F);
      rightarm = new ModelRenderer(this, 24, 13);
      rightarm.addBox(-3F, -1F, -2F, 3, 5, 4);
      rightarm.setRotationPoint(-4F, 13F, 0F);
      rightarm.setTextureSize(64, 32);
      rightarm.mirror = true;
      setRotation(rightarm, 0F, 0F, 0F);
      leftarm = new ModelRenderer(this, 24, 13);
      leftarm.addBox(0F, -1F, -2F, 3, 5, 4);
      leftarm.setRotationPoint(4F, 13F, 0F);
      leftarm.setTextureSize(64, 32);
      leftarm.mirror = true;
      setRotation(leftarm, 0F, 0F, 0F);
      leftleg = new ModelRenderer(this, 24, 22);
      leftleg.addBox(-1F, 0F, -3F, 3, 3, 5);
      leftleg.setRotationPoint(2F, 21F, 0F);
      leftleg.setTextureSize(64, 32);
      leftleg.mirror = true;
      setRotation(leftleg, 0F, 0F, 0F);
      rightleg = new ModelRenderer(this, 24, 22);
      rightleg.addBox(-2F, 0F, -3F, 3, 3, 5);
      rightleg.setRotationPoint(-2F, 21F, 0F);
      rightleg.setTextureSize(64, 32);
      rightleg.mirror = true;
      setRotation(rightleg, 0F, 0F, 0F);
      leftear = new ModelRenderer(this, 0, 26);
      leftear.addBox(1F, -9F, -1F, 3, 2, 1);
      leftear.setRotationPoint(0F, 12F, 0F);
      leftear.setTextureSize(64, 32);
      leftear.mirror = true;
      setRotation(leftear, 0F, 0F, 0F);
      rightear = new ModelRenderer(this, 0, 26);
      rightear.addBox(-4F, -9F, -1F, 3, 2, 1);
      rightear.setRotationPoint(0F, 12F, 0F);
      rightear.setTextureSize(64, 32);
      rightear.mirror = true;
      setRotation(rightear, 0F, 0F, 0F);
      belly = new ModelRenderer(this, 28, 6);
      belly.addBox(-3F, -1F, -3F, 6, 5, 1);
      belly.setRotationPoint(0F, 16F, 0F);
      belly.setTextureSize(64, 32);
      belly.mirror = true;
      setRotation(belly, 0F, 0F, 0F);
  }
  
  public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
  {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5);
    head.render(f5);
    Snout.render(f5);
    body.render(f5);
    rightarm.render(f5);
    leftarm.render(f5);
    leftleg.render(f5);
    rightleg.render(f5);
    leftear.render(f5);
    rightear.render(f5);
    belly.render(f5);
  }
  
  private void setRotation(ModelRenderer model, float x, float y, float z)
  {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
  }
  
  public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
  {
    super.setRotationAngles(f, f1, f2, f3, f4, f5);
  }

}
