public ModelDolphin() { Body = new ModelRenderer(4, 6); Body.addBox(0.0F, 0.0F, 0.0F, 6, 8, 18, 0.0F); Body.setPosition(-4F, 17F, -10F); UHead = new ModelRenderer(0, 0); UHead.addBox(0.0F, 0.0F, 0.0F, 5, 7, 8, 0.0F); UHead.setPosition(-3.5F, 18F, -16.5F); DHead = new ModelRenderer(50, 0); DHead.addBox(0.0F, 0.0F, 0.0F, 3, 3, 4, 0.0F); DHead.setPosition(-2.5F, 21.5F, -20.5F); PTail = new ModelRenderer(34, 9); PTail.addBox(0.0F, 0.0F, 0.0F, 5, 5, 10, 0.0F); PTail.setPosition(-3.5F, 19F, 8F); UpperFin = new ModelRenderer(4, 12); UpperFin.addBox(0.0F, 0.0F, 0.0F, 1, 4, 8, 0.0F); UpperFin.setPosition(-1.5F, 18F, -4F); UpperFin.rotateAngleX = 0.7853981F; LTailFin = new ModelRenderer(34, 0); LTailFin.addBox(0.0F, 0.0F, 0.0F, 4, 1, 8, 0.3F); LTailFin.setPosition(-2F, 21.5F, 18F); LTailFin.rotateAngleY = 0.7853981F; RTailFin = new ModelRenderer(34, 0); RTailFin.addBox(0.0F, 0.0F, 0.0F, 4, 1, 8, 0.3F); RTailFin.setPosition(-3F, 21.5F, 15F); RTailFin.rotateAngleY = -0.7853981F; LeftFin = new ModelRenderer(14, 0); LeftFin.addBox(0.0F, 0.0F, 0.0F, 8, 1, 4, 0.0F); LeftFin.setPosition(2.0F, 24F, -7F); LeftFin.rotateAngleY = -0.5235988F; LeftFin.rotateAngleZ = 0.5235988F; RightFin = new ModelRenderer(14, 0); RightFin.addBox(0.0F, 0.0F, 0.0F, 8, 1, 4, 0.0F); RightFin.setPosition(-10F, 27.5F, -3F); RightFin.rotateAngleY = 0.5235988F; RightFin.rotateAngleZ = -0.5235988F; }
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); }