Ejemplo n.º 1
0
  public ModelYorkshire() {

    super("yorkshire");
    textureWidth = 64;
    textureHeight = 32;

    WolfHead = new ModelRenderer(this, 0, 0);
    WolfHead.addBox(-3F, -3F, -2F, 4, 4, 3);
    WolfHead.setRotationPoint(0F, 19F, -6F);
    WolfHead.setTextureSize(64, 32);
    WolfHead.mirror = true;
    setRotation(WolfHead, 0F, 0F, 0F);
    Body = new ModelRenderer(this, 15, 0);
    Body.addBox(-4F, -2F, -3F, 3, 6, 4);
    Body.setRotationPoint(1.5F, 19F, -4F);
    Body.setTextureSize(64, 32);
    Body.mirror = true;
    setRotation(Body, 1.570796F, 0F, 0F);
    Leg1 = new ModelRenderer(this, 0, 12);
    Leg1.addBox(-1F, 0F, -1F, 1, 2, 1);
    Leg1.setRotationPoint(-1.5F, 22F, -1F);
    Leg1.setTextureSize(64, 32);
    Leg1.mirror = true;
    setRotation(Leg1, 0F, 0F, 0F);
    Leg2 = new ModelRenderer(this, 0, 12);
    Leg2.addBox(-1F, 0F, -1F, 1, 2, 1);
    Leg2.setRotationPoint(0.5F, 22F, -1F);
    Leg2.setTextureSize(64, 32);
    Leg2.mirror = true;
    setRotation(Leg2, 0F, 0F, 0F);
    Leg3 = new ModelRenderer(this, 0, 12);
    Leg3.addBox(-1F, 0F, -1F, 1, 2, 1);
    Leg3.setRotationPoint(-1.5F, 22F, -4F);
    Leg3.setTextureSize(64, 32);
    Leg3.mirror = true;
    setRotation(Leg3, 0F, 0F, 0F);
    Leg4 = new ModelRenderer(this, 0, 12);
    Leg4.addBox(-1F, 0F, -1F, 1, 2, 1);
    Leg4.setRotationPoint(0.5F, 22F, -4F);
    Leg4.setTextureSize(64, 32);
    Leg4.mirror = true;
    setRotation(Leg4, 0F, 0F, 0F);
    Tail = new ModelRenderer(this, 5, 12);
    Tail.addBox(-1F, 0F, -1F, 1, 4, 1);
    Tail.setRotationPoint(-0.5F, 18.6F, -1F);
    Tail.setTextureSize(64, 32);
    Tail.mirror = true;
    setRotation(Tail, 2.046006F, 0F, 0F);
    Ear1 = new ModelRenderer(this, 7, 8);
    Ear1.addBox(-3F, -5F, 0F, 2, 2, 1);
    Ear1.setRotationPoint(1F, 18.5F, -7F);
    Ear1.setTextureSize(64, 32);
    Ear1.mirror = true;
    setRotation(Ear1, 0F, 0F, -0.4833219F);
    Ear2 = new ModelRenderer(this, 7, 8);
    Ear2.addBox(1F, -5F, 0F, 2, 2, 1);
    Ear2.setRotationPoint(-3F, 18.5F, -7F);
    Ear2.setTextureSize(64, 32);
    Ear2.mirror = true;
    setRotation(Ear2, 0F, 0F, 0.4712389F);
    Nose = new ModelRenderer(this, 0, 8);
    Nose.addBox(-2F, 0F, -5F, 2, 2, 1);
    Nose.setRotationPoint(0F, 18F, -4F);
    Nose.setTextureSize(64, 32);
    Nose.mirror = true;
    setRotation(Nose, 0F, 0F, 0F);
  }