예제 #1
0
        public ModelEnderman() : base(0.0F, -14F)
        {
            IsCarrying  = false;
            IsAttacking = false;
            float f  = -14F;
            float f1 = 0.0F;

            BipedHeadwear = new ModelRenderer(this, 0, 16);
            BipedHeadwear.AddBox(-4F, -8F, -4F, 8, 8, 8, f1 - 0.5F);
            BipedHeadwear.SetRotationPoint(0.0F, 0.0F + f, 0.0F);
            BipedBody = new ModelRenderer(this, 32, 16);
            BipedBody.AddBox(-4F, 0.0F, -2F, 8, 12, 4, f1);
            BipedBody.SetRotationPoint(0.0F, 0.0F + f, 0.0F);
            BipedRightArm = new ModelRenderer(this, 56, 0);
            BipedRightArm.AddBox(-1F, -2F, -1F, 2, 30, 2, f1);
            BipedRightArm.SetRotationPoint(-3F, 2.0F + f, 0.0F);
            BipedLeftArm        = new ModelRenderer(this, 56, 0);
            BipedLeftArm.Mirror = true;
            BipedLeftArm.AddBox(-1F, -2F, -1F, 2, 30, 2, f1);
            BipedLeftArm.SetRotationPoint(5F, 2.0F + f, 0.0F);
            BipedRightLeg = new ModelRenderer(this, 56, 0);
            BipedRightLeg.AddBox(-1F, 0.0F, -1F, 2, 30, 2, f1);
            BipedRightLeg.SetRotationPoint(-2F, 12F + f, 0.0F);
            BipedLeftLeg        = new ModelRenderer(this, 56, 0);
            BipedLeftLeg.Mirror = true;
            BipedLeftLeg.AddBox(-1F, 0.0F, -1F, 2, 30, 2, f1);
            BipedLeftLeg.SetRotationPoint(2.0F, 12F + f, 0.0F);
        }
예제 #2
0
        public ModelMagmaCube()
        {
            Field_40345_a = new ModelRenderer[8];

            for (int i = 0; i < Field_40345_a.Length; i++)
            {
                sbyte byte0 = 0;
                int   j     = i;

                if (i == 2)
                {
                    byte0 = 24;
                    j     = 10;
                }
                else if (i == 3)
                {
                    byte0 = 24;
                    j     = 19;
                }

                Field_40345_a[i] = new ModelRenderer(this, byte0, j);
                Field_40345_a[i].AddBox(-4F, 16 + i, -4F, 8, 1, 8);
            }

            Field_40344_b = new ModelRenderer(this, 0, 16);
            Field_40344_b.AddBox(-2F, 18F, -2F, 4, 4, 4);
        }
예제 #3
0
 public ModelSign()
 {
     SignBoard = new ModelRenderer(this, 0, 0);
     SignBoard.AddBox(-12F, -14F, -1F, 24, 12, 2, 0.0F);
     SignStick = new ModelRenderer(this, 0, 14);
     SignStick.AddBox(-1F, -2F, -1F, 2, 14, 2, 0.0F);
 }
예제 #4
0
 public ModelSheep2() : base(12, 0.0F)
 {
     Head = new ModelRenderer(this, 0, 0);
     Head.AddBox(-3F, -4F, -6F, 6, 6, 8, 0.0F);
     Head.SetRotationPoint(0.0F, 6F, -8F);
     Body = new ModelRenderer(this, 28, 8);
     Body.AddBox(-4F, -10F, -7F, 8, 16, 6, 0.0F);
     Body.SetRotationPoint(0.0F, 5F, 2.0F);
 }
예제 #5
0
        public ModelSlime(int par1)
        {
            SlimeBodies = new ModelRenderer(this, 0, par1);
            SlimeBodies.AddBox(-4F, 16F, -4F, 8, 8, 8);

            if (par1 > 0)
            {
                SlimeBodies = new ModelRenderer(this, 0, par1);
                SlimeBodies.AddBox(-3F, 17F, -3F, 6, 6, 6);
                SlimeRightEye = new ModelRenderer(this, 32, 0);
                SlimeRightEye.AddBox(-3.25F, 18F, -3.5F, 2, 2, 2);
                SlimeLeftEye = new ModelRenderer(this, 32, 4);
                SlimeLeftEye.AddBox(1.25F, 18F, -3.5F, 2, 2, 2);
                SlimeMouth = new ModelRenderer(this, 32, 8);
                SlimeMouth.AddBox(0.0F, 21F, -3.5F, 1, 1, 1);
            }
        }
예제 #6
0
 public ModelChest()
 {
     ChestLid = (new ModelRenderer(this, 0, 0)).SetTextureSize(64, 64);
     ChestLid.AddBox(0.0F, -5F, -14F, 14, 5, 14, 0.0F);
     ChestLid.RotationPointX = 1.0F;
     ChestLid.RotationPointY = 7F;
     ChestLid.RotationPointZ = 15F;
     ChestKnob = (new ModelRenderer(this, 0, 0)).SetTextureSize(64, 64);
     ChestKnob.AddBox(-1F, -2F, -15F, 2, 4, 1, 0.0F);
     ChestKnob.RotationPointX = 8F;
     ChestKnob.RotationPointY = 7F;
     ChestKnob.RotationPointZ = 15F;
     ChestBelow = (new ModelRenderer(this, 0, 19)).SetTextureSize(64, 64);
     ChestBelow.AddBox(0.0F, 0.0F, 0.0F, 14, 10, 14, 0.0F);
     ChestBelow.RotationPointX = 1.0F;
     ChestBelow.RotationPointY = 6F;
     ChestBelow.RotationPointZ = 1.0F;
 }
        public ModelSkeleton()
        {
            float f = 0.0F;

            BipedRightArm = new ModelRenderer(this, 40, 16);
            BipedRightArm.AddBox(-1F, -2F, -1F, 2, 12, 2, f);
            BipedRightArm.SetRotationPoint(-5F, 2.0F, 0.0F);
            BipedLeftArm        = new ModelRenderer(this, 40, 16);
            BipedLeftArm.Mirror = true;
            BipedLeftArm.AddBox(-1F, -2F, -1F, 2, 12, 2, f);
            BipedLeftArm.SetRotationPoint(5F, 2.0F, 0.0F);
            BipedRightLeg = new ModelRenderer(this, 0, 16);
            BipedRightLeg.AddBox(-1F, 0.0F, -1F, 2, 12, 2, f);
            BipedRightLeg.SetRotationPoint(-2F, 12F, 0.0F);
            BipedLeftLeg        = new ModelRenderer(this, 0, 16);
            BipedLeftLeg.Mirror = true;
            BipedLeftLeg.AddBox(-1F, 0.0F, -1F, 2, 12, 2, f);
            BipedLeftLeg.SetRotationPoint(2.0F, 12F, 0.0F);
        }
예제 #8
0
 public ModelCow() : base(12, 0.0F)
 {
     Head = new ModelRenderer(this, 0, 0);
     Head.AddBox(-4F, -4F, -6F, 8, 8, 6, 0.0F);
     Head.SetRotationPoint(0.0F, 4F, -8F);
     Head.SetTextureOffset(22, 0).AddBox(-5F, -5F, -4F, 1, 3, 1, 0.0F);
     Head.SetTextureOffset(22, 0).AddBox(4F, -5F, -4F, 1, 3, 1, 0.0F);
     Body = new ModelRenderer(this, 18, 4);
     Body.AddBox(-6F, -10F, -7F, 12, 18, 10, 0.0F);
     Body.SetRotationPoint(0.0F, 5F, 2.0F);
     Body.SetTextureOffset(52, 0).AddBox(-2F, 2.0F, -8F, 4, 6, 1);
     Leg1.RotationPointX--;
     Leg2.RotationPointX++;
     Leg1.RotationPointZ += 0.0F;
     Leg2.RotationPointZ += 0.0F;
     Leg3.RotationPointX--;
     Leg4.RotationPointX++;
     Leg3.RotationPointZ--;
     Leg4.RotationPointZ--;
     Field_40332_n += 2.0F;
 }
        public ModelSheep1() : base(12, 0.0F)
        {
            Head = new ModelRenderer(this, 0, 0);
            Head.AddBox(-3F, -4F, -4F, 6, 6, 6, 0.6F);
            Head.SetRotationPoint(0.0F, 6F, -8F);
            Body = new ModelRenderer(this, 28, 8);
            Body.AddBox(-4F, -10F, -7F, 8, 16, 6, 1.75F);
            Body.SetRotationPoint(0.0F, 5F, 2.0F);
            float f = 0.5F;

            Leg1 = new ModelRenderer(this, 0, 16);
            Leg1.AddBox(-2F, 0.0F, -2F, 4, 6, 4, f);
            Leg1.SetRotationPoint(-3F, 12F, 7F);
            Leg2 = new ModelRenderer(this, 0, 16);
            Leg2.AddBox(-2F, 0.0F, -2F, 4, 6, 4, f);
            Leg2.SetRotationPoint(3F, 12F, 7F);
            Leg3 = new ModelRenderer(this, 0, 16);
            Leg3.AddBox(-2F, 0.0F, -2F, 4, 6, 4, f);
            Leg3.SetRotationPoint(-3F, 12F, -5F);
            Leg4 = new ModelRenderer(this, 0, 16);
            Leg4.AddBox(-2F, 0.0F, -2F, 4, 6, 4, f);
            Leg4.SetRotationPoint(3F, 12F, -5F);
        }