Package net.minecraft.client.model

Examples of net.minecraft.client.model.ModelRenderer


  public ModelSpawnerClaw() {
    textureWidth = 64;
    textureHeight = 32;

    Plate = new ModelRenderer(this, 0, 0);
    Plate.addBox(0F, 0F, 0F, 12, 1, 12);
    Plate.setRotationPoint(-6F, 23F, -6F);
    Plate.setTextureSize(64, 32);
    Claw1 = new ModelRenderer(this, 0, 14);
    Claw1.addBox(0F, 0F, 0F, 2, 1, 3);
    Claw1.setRotationPoint(-1F, 23F, 6F);
    Claw1.setTextureSize(64, 32);
    Claw2 = new ModelRenderer(this, 11, 14);
    Claw2.addBox(0F, 0F, 0F, 2, 1, 3);
    Claw2.setRotationPoint(-1F, 23F, -9F);
    Claw2.setTextureSize(64, 32);
    Claw3 = new ModelRenderer(this, 0, 19);
    Claw3.addBox(0F, 0F, 0F, 3, 1, 2);
    Claw3.setRotationPoint(-9F, 23F, -1F);
    Claw3.setTextureSize(64, 32);
    Claw4 = new ModelRenderer(this, 11, 19);
    Claw4.addBox(0F, 0F, 0F, 3, 1, 2);
    Claw4.setRotationPoint(6F, 23F, -1F);
    Claw4.setTextureSize(64, 32);
    Claw5 = new ModelRenderer(this, 23, 16);
    Claw5.addBox(0F, 0F, 0F, 2, 5, 1);
    Claw5.setRotationPoint(-1F, 24F, 8F);
    Claw5.setTextureSize(64, 32);
    Claw6 = new ModelRenderer(this, 30, 16);
    Claw6.addBox(0F, 0F, 0F, 1, 5, 2);
    Claw6.setRotationPoint(8F, 24F, -1F);
    Claw6.setTextureSize(64, 32);
    Claw7 = new ModelRenderer(this, 37, 16);
    Claw7.addBox(0F, 0F, 0F, 2, 5, 1);
    Claw7.setRotationPoint(-1F, 24F, -9F);
    Claw7.setTextureSize(64, 32);
    Claw8 = new ModelRenderer(this, 44, 16);
    Claw8.addBox(0F, 0F, 0F, 1, 5, 2);
    Claw8.setRotationPoint(-9F, 24F, -1F);
    Claw8.setTextureSize(64, 32);
  }
View Full Code Here


  private final ModelRenderer bipedHeadwear;

  public ModelSkullOverride() {
    textureWidth = 64;
    textureHeight = 32;
    bipedHead = new ModelRenderer(this, 0, 0);
    bipedHead.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, 0F);
    bipedHead.setRotationPoint(0.0F, 0.0F, 0.0F);
    bipedHeadwear = new ModelRenderer(this, 32, 0);
    bipedHeadwear.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, 0.5F);
    bipedHeadwear.setRotationPoint(0.0F, 0.0F, 0.0F);
  }
View Full Code Here

  public ModelBrewery() {
    textureWidth = 64;
    textureHeight = 32;

    Pole = new ModelRenderer(this, 0, 6);
    Pole.addBox(0F, 0F, 0F, 2, 10, 2);
    Pole.setRotationPoint(-1F, 10F, -1F);
    Pole.setTextureSize(64, 32);
    Top = new ModelRenderer(this, 18, 0);
    Top.addBox(0F, 0F, 0F, 4, 1, 4);
    Top.setRotationPoint(-2F, 9F, -2F);
    Top.setTextureSize(64, 32);
    Bottom = new ModelRenderer(this, 18, 7);
    Bottom.addBox(0F, 0F, 0F, 4, 1, 4);
    Bottom.setRotationPoint(-2F, 20F, -2F);
    Bottom.setTextureSize(64, 32);
    Plate = new ModelRenderer(this, 0, 0);
    Plate.addBox(5F, 0F, -2F, 4, 1, 4);
    Plate.setRotationPoint(0F, 17F, 0F);
    Plate.setTextureSize(64, 32);
  }
View Full Code Here

  public ModelAltar() {
    textureWidth = 256;
    textureHeight = 128;

    gobletBase = new ModelRenderer(this, 0, 0);
    gobletBase.addBox(0F, 0F, 0F, 16, 2, 16);
    gobletBase.setRotationPoint(-8F, 22F, -8F);
    gobletBase.setTextureSize(256, 128);
    gobletBase2 = new ModelRenderer(this, 0, 18);
    gobletBase2.addBox(0F, 0F, 0F, 14, 1, 14);
    gobletBase2.setRotationPoint(-7F, 21F, -7F);
    gobletBase2.setTextureSize(256, 128);
    gobletStand = new ModelRenderer(this, 68, 0);
    gobletStand.addBox(0F, 0F, 0F, 6, 8, 6);
    gobletStand.setRotationPoint(-3F, 12F, -3F);
    gobletStand.setTextureSize(256, 128);
    gobletBase3 = new ModelRenderer(this, 0, 33);
    gobletBase3.addBox(0F, 0F, 0F, 12, 1, 12);
    gobletBase3.setRotationPoint(-6F, 20F, -6F);
    gobletBase3.setTextureSize(256, 128);
    kelkBase = new ModelRenderer(this, 72, 45);
    kelkBase.addBox(0F, 0F, 0F, 8, 1, 8);
    kelkBase.setRotationPoint(-4F, 11F, -4F);
    kelkBase.setTextureSize(256, 128);
    kelkBase2 = new ModelRenderer(this, 72, 34);
    kelkBase2.addBox(0F, 0F, 0F, 10, 1, 10);
    kelkBase2.setRotationPoint(-5F, 10F, -5F);
    kelkBase2.setTextureSize(256, 128);
    kelkWall1 = new ModelRenderer(this, 72, 18);
    kelkWall1.addBox(0F, 0F, 0F, 1, 6, 10);
    kelkWall1.setRotationPoint(5F, 4F, -5F);
    kelkWall1.setTextureSize(256, 128);
    kelkWall2 = new ModelRenderer(this, 72, 18);
    kelkWall2.addBox(0F, 0F, 0F, 1, 6, 10);
    kelkWall2.setRotationPoint(-6F, 4F, -5F);
    kelkWall2.setTextureSize(256, 128);
    kelkWall3 = new ModelRenderer(this, 94, 18);
    kelkWall3.addBox(0F, 0F, 0F, 10, 6, 1);
    kelkWall3.setRotationPoint(-5F, 4F, 5F);
    kelkWall3.setTextureSize(256, 128);
    kelkWall4 = new ModelRenderer(this, 94, 18);
    kelkWall4.addBox(0F, 0F, 0F, 10, 6, 1);
    kelkWall4.setRotationPoint(-5F, 4F, -6F);
    kelkWall4.setTextureSize(256, 128);
  }
View Full Code Here

  public ModelBell()
  {
    textureWidth = 64;
    textureHeight = 32;
   
      Shape1 = new ModelRenderer(this, 0, 0);
      Shape1.addBox(0F, 0F, 0F, 16, 1, 1);
      Shape1.setRotationPoint(-8F, 20F, 7F);
      Shape1.setTextureSize(64, 32);
      Shape1.mirror = true;
      setRotation(Shape1, 0F, 0F, 0F);
      Shape2 = new ModelRenderer(this, 0, 0);
      Shape2.addBox(0F, 0F, 0F, 1, 2, 14);
      Shape2.setRotationPoint(6F, 18F, -7F);
      Shape2.setTextureSize(64, 32);
      Shape2.mirror = true;
      setRotation(Shape2, 0F, 0F, 0F);
      Shape3 = new ModelRenderer(this, 0, 0);
      Shape3.addBox(0F, 0F, 0F, 1, 1, 14);
      Shape3.setRotationPoint(7F, 20F, -7F);
      Shape3.setTextureSize(64, 32);
      Shape3.mirror = true;
      setRotation(Shape3, 0F, 0F, 0F);
      Shape4 = new ModelRenderer(this, 0, 0);
      Shape4.addBox(0F, 0F, 0F, 1, 1, 14);
      Shape4.setRotationPoint(-8F, 20F, -7F);
      Shape4.setTextureSize(64, 32);
      Shape4.mirror = true;
      setRotation(Shape4, 0F, 0F, 0F);
      Shape5 = new ModelRenderer(this, 0, 0);
      Shape5.addBox(0F, 0F, 0F, 1, 2, 8);
      Shape5.setRotationPoint(3F, 12F, -4F);
      Shape5.setTextureSize(64, 32);
      Shape5.mirror = true;
      setRotation(Shape5, 0F, 0F, 0F);
      Shape6 = new ModelRenderer(this, 0, 0);
      Shape6.addBox(0F, 0F, 0F, 16, 1, 1);
      Shape6.setRotationPoint(-8F, 20F, -8F);
      Shape6.setTextureSize(64, 32);
      Shape6.mirror = true;
      setRotation(Shape6, 0F, 0F, 0F);
      Shape7 = new ModelRenderer(this, 0, 0);
      Shape7.addBox(0F, 0F, 0F, 10, 2, 1);
      Shape7.setRotationPoint(-5F, 16F, 5F);
      Shape7.setTextureSize(64, 32);
      Shape7.mirror = true;
      setRotation(Shape7, 0F, 0F, 0F);
      Shape8 = new ModelRenderer(this, 0, 0);
      Shape8.addBox(0F, 0F, 0F, 12, 2, 1);
      Shape8.setRotationPoint(-6F, 18F, 6F);
      Shape8.setTextureSize(64, 32);
      Shape8.mirror = true;
      setRotation(Shape8, 0F, 0F, 0F);
      Shape9 = new ModelRenderer(this, 0, 0);
      Shape9.addBox(0F, 0F, 0F, 1, 2, 14);
      Shape9.setRotationPoint(-7F, 18F, -7F);
      Shape9.setTextureSize(64, 32);
      Shape9.mirror = true;
      setRotation(Shape9, 0F, 0F, 0F);
      Shape10 = new ModelRenderer(this, 0, 0);
      Shape10.addBox(0F, 0F, 0F, 1, 2, 12);
      Shape10.setRotationPoint(-6F, 16F, -6F);
      Shape10.setTextureSize(64, 32);
      Shape10.mirror = true;
      setRotation(Shape10, 0F, 0F, 0F);
      Shape11 = new ModelRenderer(this, 0, 0);
      Shape11.addBox(0F, 0F, 0F, 12, 2, 1);
      Shape11.setRotationPoint(-6F, 18F, -7F);
      Shape11.setTextureSize(64, 32);
      Shape11.mirror = true;
      setRotation(Shape11, 0F, 0F, 0F);
      Shape12 = new ModelRenderer(this, 0, 0);
      Shape12.addBox(0F, 0F, 0F, 10, 2, 1);
      Shape12.setRotationPoint(-5F, 16F, -6F);
      Shape12.setTextureSize(64, 32);
      Shape12.mirror = true;
      setRotation(Shape12, 0F, 0F, 0F);
      Shape13 = new ModelRenderer(this, 0, 0);
      Shape13.addBox(0F, 0F, 0F, 10, 2, 1);
      Shape13.setRotationPoint(-5F, 14F, 4F);
      Shape13.setTextureSize(64, 32);
      Shape13.mirror = true;
      setRotation(Shape13, 0F, 0F, 0F);
      Shape14 = new ModelRenderer(this, 0, 0);
      Shape14.addBox(0F, 0F, 0F, 6, 2, 1);
      Shape14.setRotationPoint(-3F, 10F, -3F);
      Shape14.setTextureSize(64, 32);
      Shape14.mirror = true;
      setRotation(Shape14, 0F, 0F, 0F);
      Shape15 = new ModelRenderer(this, 0, 0);
      Shape15.addBox(0F, 0F, 0F, 1, 2, 12);
      Shape15.setRotationPoint(5F, 16F, -6F);
      Shape15.setTextureSize(64, 32);
      Shape15.mirror = true;
      setRotation(Shape15, 0F, 0F, 0F);
      Shape16 = new ModelRenderer(this, 0, 0);
      Shape16.addBox(0F, 0F, 0F, 1, 2, 8);
      Shape16.setRotationPoint(4F, 14F, -4F);
      Shape16.setTextureSize(64, 32);
      Shape16.mirror = true;
      setRotation(Shape16, 0F, 0F, 0F);
      Shape17 = new ModelRenderer(this, 0, 0);
      Shape17.addBox(0F, 0F, 0F, 1, 2, 8);
      Shape17.setRotationPoint(-5F, 14F, -4F);
      Shape17.setTextureSize(64, 32);
      Shape17.mirror = true;
      setRotation(Shape17, 0F, 0F, 0F);
      Shape18 = new ModelRenderer(this, 0, 0);
      Shape18.addBox(0F, 0F, 0F, 1, 2, 4);
      Shape18.setRotationPoint(2F, 10F, -2F);
      Shape18.setTextureSize(64, 32);
      Shape18.mirror = true;
      setRotation(Shape18, 0F, 0F, 0F);
      Shape19 = new ModelRenderer(this, 0, 0);
      Shape19.addBox(0F, 0F, 0F, 10, 2, 1);
      Shape19.setRotationPoint(-5F, 14F, -5F);
      Shape19.setTextureSize(64, 32);
      Shape19.mirror = true;
      setRotation(Shape19, 0F, 0F, 0F);
      Shape20 = new ModelRenderer(this, 0, 0);
      Shape20.addBox(0F, 0F, 0F, 6, 2, 1);
      Shape20.setRotationPoint(-3F, 12F, -4F);
      Shape20.setTextureSize(64, 32);
      Shape20.mirror = true;
      setRotation(Shape20, 0F, 0F, 0F);
      Shape21 = new ModelRenderer(this, 0, 0);
      Shape21.addBox(0F, 0F, 0F, 6, 2, 1);
      Shape21.setRotationPoint(-3F, 12F, 3F);
      Shape21.setTextureSize(64, 32);
      Shape21.mirror = true;
      setRotation(Shape21, 0F, 0F, 0F);
      Shape22 = new ModelRenderer(this, 0, 0);
      Shape22.addBox(0F, 0F, 0F, 6, 2, 1);
      Shape22.setRotationPoint(-3F, 10F, 2F);
      Shape22.setTextureSize(64, 32);
      Shape22.mirror = true;
      setRotation(Shape22, 0F, 0F, 0F);
      Shape23 = new ModelRenderer(this, 0, 0);
      Shape23.addBox(0F, 0F, 0F, 1, 2, 8);
      Shape23.setRotationPoint(-4F, 12F, -4F);
      Shape23.setTextureSize(64, 32);
      Shape23.mirror = true;
      setRotation(Shape23, 0F, 0F, 0F);
      Shape24 = new ModelRenderer(this, 0, 0);
      Shape24.addBox(0F, 0F, 0F, 1, 1, 2);
      Shape24.setRotationPoint(1F, 9F, -1F);
      Shape24.setTextureSize(64, 32);
      Shape24.mirror = true;
      setRotation(Shape24, 0F, 0F, 0F);
      Shape25 = new ModelRenderer(this, 0, 0);
      Shape25.addBox(0F, 0F, 0F, 4, 1, 1);
      Shape25.setRotationPoint(-2F, 9F, -2F);
      Shape25.setTextureSize(64, 32);
      Shape25.mirror = true;
      setRotation(Shape25, 0F, 0F, 0F);
      Shape26 = new ModelRenderer(this, 0, 0);
      Shape26.addBox(0F, 0F, 0F, 4, 1, 1);
      Shape26.setRotationPoint(-2F, 9F, 1F);
      Shape26.setTextureSize(64, 32);
      Shape26.mirror = true;
      setRotation(Shape26, 0F, 0F, 0F);
      Shape27 = new ModelRenderer(this, 0, 0);
      Shape27.addBox(0F, 0F, 0F, 1, 2, 4);
      Shape27.setRotationPoint(-3F, 10F, -2F);
      Shape27.setTextureSize(64, 32);
      Shape27.mirror = true;
      setRotation(Shape27, 0F, 0F, 0F);
      Shape28 = new ModelRenderer(this, 0, 0);
      Shape28.addBox(0F, 0F, 0F, 1, 1, 2);
      Shape28.setRotationPoint(-2F, 9F, -1F);
      Shape28.setTextureSize(64, 32);
      Shape28.mirror = true;
      setRotation(Shape28, 0F, 0F, 0F);
      Shape29 = new ModelRenderer(this, 0, 0);
      Shape29.addBox(0F, 0F, 0F, 2, 1, 2);
      Shape29.setRotationPoint(-1F, 8F, -1F);
      Shape29.setTextureSize(64, 32);
      Shape29.mirror = true;
      setRotation(Shape29, 0F, 0F, 0F);
View Full Code Here

  public ModelFemale()
  {
    textureWidth = 64;
    textureHeight = 64;
   
      head = new ModelRenderer(this, 0, 0);
      head.addBox(-4F, -8F, -4F, 8, 8, 8);
      head.setRotationPoint(0F, 0F, 0F);
      head.setTextureSize(64, 64);
      head.mirror = true;
      setRotation(head, 0F, 0F, 0F);
      body = new ModelRenderer(this, 16, 16);
      body.addBox(-4F, 0F, -2F, 8, 12, 4);
      body.setRotationPoint(0F, 0F, 0F);
      body.setTextureSize(64, 64);
      body.mirror = true;
      setRotation(body, 0F, 0F, 0F);
      rightarm = new ModelRenderer(this, 40, 16);
      rightarm.addBox(-3F, -2F, -2F, 4, 12, 4);
      rightarm.setRotationPoint(-5F, 2F, 0F);
      rightarm.setTextureSize(64, 64);
      rightarm.mirror = true;
      setRotation(rightarm, 0F, 0F, 0F);
      leftarm = new ModelRenderer(this, 40, 16);
      leftarm.addBox(-1F, -2F, -2F, 4, 12, 4);
      leftarm.setRotationPoint(5F, 2F, 0F);
      leftarm.setTextureSize(64, 64);
      leftarm.mirror = true;
      setRotation(leftarm, 0F, 0F, 0F);
      rightleg = new ModelRenderer(this, 0, 16);
      rightleg.addBox(-2F, 0F, -2F, 4, 12, 4);
      rightleg.setRotationPoint(-2F, 12F, 0F);
      rightleg.setTextureSize(64, 64);
      rightleg.mirror = true;
      setRotation(rightleg, 0F, 0F, 0F);
      leftleg = new ModelRenderer(this, 0, 16);
      leftleg.addBox(-2F, 0F, -2F, 4, 12, 4);
      leftleg.setRotationPoint(2F, 12F, 0F);
      leftleg.setTextureSize(64, 64);
      leftleg.mirror = true;
      setRotation(leftleg, 0F, 0F, 0F);
      Bun = new ModelRenderer(this, 32, 0);
      Bun.addBox(0F, 0F, 0F, 4, 4, 1);
      Bun.setRotationPoint(-2F, -7F, 4F);
      Bun.setTextureSize(64, 64);
      Bun.mirror = true;
      setRotation(Bun, 0F, 0F, 0F);
      Knot = new ModelRenderer(this, 34, 0);
      Knot.addBox(0F, 0F, 0F, 2, 2, 2);
      Knot.setRotationPoint(-1F, -5F, 5F);
      Knot.setTextureSize(64, 64);
      Knot.mirror = true;
      setRotation(Knot, 0F, 0F, 0F);
      TopTail = new ModelRenderer(this, 34, 0);
      TopTail.addBox(0F, 0F, 0F, 2, 4, 1);
      TopTail.setRotationPoint(-1F, -3F, 6F);
      TopTail.setTextureSize(64, 64);
      TopTail.mirror = true;
      setRotation(TopTail, 0F, 0F, 0F);
      MiddleTail = new ModelRenderer(this, 35, 0);
      MiddleTail.addBox(0F, 0F, 0F, 2, 4, 1);
      MiddleTail.setRotationPoint(-1F, 0F, 7F);
      MiddleTail.setTextureSize(64, 64);
      MiddleTail.mirror = true;
      setRotation(MiddleTail, 0F, 0F, 0F);
      //LeftChest = new ModelRenderer(this, 0, 50);
      //LeftChest.addBox(0F, 0F, 0F, 3, 7, 1);
      //LeftChest.setRotationPoint(2.65F, 3.7F, -1.9F);
      //LeftChest.setTextureSize(64, 64);
      //LeftChest.mirror = true;
      //setRotation(LeftChest, -0.0872665F, 1.809191F, 0.3755949F);
      //RightChest = new ModelRenderer(this, 0, 50);
      //RightChest.addBox(0F, 0F, 0F, 3, 7, 1);
      //RightChest.setRotationPoint(-3.8F, 3.8F, -2.1F);
      //RightChest.setTextureSize(64, 64);
      //RightChest.mirror = true;
      //setRotation(RightChest, 0.1031331F, 1.302218F, 0.3756064F);
      UpperChest = new ModelRenderer(this, 0, 32);
      UpperChest.addBox(0F, 0F, 0F, 6, 4, 4);
      UpperChest.setRotationPoint(-3F, 2F, -2F);
      UpperChest.setTextureSize(64, 64);
      UpperChest.mirror = true;
      setRotation(UpperChest, -0.7853982F, 0F, 0F);
      LowerChest = new ModelRenderer(this, 0, 40);
      LowerChest.addBox(0F, 0F, -23F, 6, 7, 2);
      LowerChest.setRotationPoint(-3F, -3.65F, 16.5F);
      LowerChest.setTextureSize(64, 64);
      LowerChest.mirror = true;
      setRotation(LowerChest, 0.3839724F, 0F, 0F);
View Full Code Here

  public ModelGraveStone()
  {
    textureWidth = 128;
    textureHeight = 128;
   
      BasePlate = new ModelRenderer(this, 0, 0);
      BasePlate.addBox(-8F, 0F, -5F, 16, 1, 10);
      BasePlate.setRotationPoint(0F, 23F, 3F);
      BasePlate.setTextureSize(128, 128);
      BasePlate.mirror = true;
      setRotation(BasePlate, 0F, 0F, 0F);
      MainStone = new ModelRenderer(this, 54, 0);
      MainStone.addBox(-6F, 0F, -2F, 12, 10, 4);
      MainStone.setRotationPoint(0F, 13F, 3F);
      MainStone.setTextureSize(128, 128);
      MainStone.mirror = true;
      setRotation(MainStone, 0F, 0F, 0F);
      Top1 = new ModelRenderer(this, 88, 0);
      Top1.addBox(-5F, 0F, -2F, 10, 2, 4);
      Top1.setRotationPoint(0F, 11F, 3F);
      Top1.setTextureSize(128, 128);
      Top1.mirror = true;
      setRotation(Top1, 0F, 0F, 0F);
      Top2 = new ModelRenderer(this, 0, 20);
      Top2.addBox(-4F, 0F, -2F, 8, 1, 4);
      Top2.setRotationPoint(0F, 10F, 3F);
      Top2.setTextureSize(128, 128);
      Top2.mirror = true;
      setRotation(Top2, 0F, 0F, 0F);
      Top3 = new ModelRenderer(this, 28, 20);
      Top3.addBox(-3F, 0F, -2F, 6, 1, 4);
      Top3.setRotationPoint(0F, 9F, 3F);
      Top3.setTextureSize(128, 128);
      Top3.mirror = true;
      setRotation(Top3, 0F, 0F, 0F);
      TippyTop = new ModelRenderer(this, 52, 20);
      TippyTop.addBox(-2F, 0F, -2F, 4, 1, 4);
      TippyTop.setRotationPoint(0F, 8F, 3F);
      TippyTop.setTextureSize(128, 128);
      TippyTop.mirror = true;
      setRotation(TippyTop, 0F, 0F, 0F);
View Full Code Here

  public ModelHunter()
  {
    textureWidth = 64;
    textureHeight = 32;
   
      head = new ModelRenderer(this, 0, 0);
      head.addBox(-4F, -8F, -4F, 8, 8, 8);
      head.setRotationPoint(0F, 0F, 0F);
      head.setTextureSize(64, 32);
      head.mirror = true;
      setRotation(head, 0F, 0F, 0F);
      body = new ModelRenderer(this, 16, 16);
      body.addBox(-4F, 0F, -2F, 8, 12, 4);
      body.setRotationPoint(0F, 0F, 0F);
      body.setTextureSize(64, 32);
      body.mirror = true;
      setRotation(body, 0F, 0F, 0F);
      rightarm = new ModelRenderer(this, 40, 16);
      rightarm.addBox(-3F, -2F, -2F, 4, 12, 4);
      rightarm.setRotationPoint(-5F, 2F, 0F);
      rightarm.setTextureSize(64, 32);
      rightarm.mirror = true;
      setRotation(rightarm, 0F, 0F, 0F);
      leftarm = new ModelRenderer(this, 40, 16);
      leftarm.addBox(-1F, -2F, -2F, 4, 12, 4);
      leftarm.setRotationPoint(5F, 2F, 0F);
      leftarm.setTextureSize(64, 32);
      leftarm.mirror = true;
      setRotation(leftarm, 0F, 0F, 0F);
      rightleg = new ModelRenderer(this, 0, 16);
      rightleg.addBox(-2F, 0F, -2F, 4, 12, 4);
      rightleg.setRotationPoint(-2F, 12F, 0F);
      rightleg.setTextureSize(64, 32);
      rightleg.mirror = true;
      setRotation(rightleg, 0F, 0F, 0F);
      leftleg = new ModelRenderer(this, 0, 16);
      leftleg.addBox(-2F, 0F, -2F, 4, 12, 4);
      leftleg.setRotationPoint(2F, 12F, 0F);
      leftleg.setTextureSize(64, 32);
      leftleg.mirror = true;
      setRotation(leftleg, 0F, 0F, 0F);
View Full Code Here

    public ModelBackpack(float enlargement, float yShift, int textureWidth, int textureHeight) {
        this.textureWidth = textureWidth;
        this.textureHeight = textureHeight;

        bagTop = new ModelRenderer(this, 44, 0);
        bagTop.addBox(-3F, -0.5F + yShift, 2F, 6, 1, 4, enlargement);
        setRotation(bagTop, 0F, 0F, 0F);
        bagMain = new ModelRenderer(this, 42, 6);
        bagMain.addBox(-3.5F, 0F + yShift, 2F, 7, 10, 4, enlargement);
        setRotation(bagMain, 0F, 0F, 0F);
        pocketLeft = new ModelRenderer(this, 33, 5);
        pocketLeft.addBox(3.5F, 5F + yShift, 2.5F, 1, 4, 3, enlargement);
        setRotation(pocketLeft, 0F, 0F, 0F);
        pocketRight = new ModelRenderer(this, 33, 13);
        pocketRight.addBox(-4.5F, 4.7F + yShift, 2.5F, 1, 4, 3, enlargement);
        setRotation(pocketRight, 0F, 0F, 0F);
        pocketFront = new ModelRenderer(this, 15, 27);
        pocketFront.addBox(-2F, 4.7F + yShift, 6.2F, 4, 4, 1, enlargement);
        setRotation(pocketFront, 0F, 0F, 0F);
        ledgeFront1 = new ModelRenderer(this, 0, 23);
        ledgeFront1.addBox(-3F, 1F + yShift, 5.3F, 6, 8, 1, enlargement);
        setRotation(ledgeFront1, 0F, 0F, 0F);
        ledgeFront2 = new ModelRenderer(this, 1, 20);
        ledgeFront2.addBox(-2F, 0.6F + yShift, 5.3F, 4, 1, 1, enlargement);
        setRotation(ledgeFront2, 0F, 0F, 0F);
        ledgeFront3 = new ModelRenderer(this, 1, 17);
        ledgeFront3.addBox(-2F, 8.5F + yShift, 5.3F, 4, 1, 1, enlargement);
        setRotation(ledgeFront3, 0F, 0F, 0F);
        stringTopLeft = new ModelRenderer(this, 54, 21);
        stringTopLeft.addBox(2.5F, -0.1F + yShift, -2F, 1, 0, 4, enlargement);
        setRotation(stringTopLeft, 0F, 0F, 0F);
        stringTopRight = new ModelRenderer(this, 41, 21);
        stringTopRight.addBox(-3.5F, -0.1F + yShift, -2F, 1, 0, 4, enlargement);
        setRotation(stringTopRight, 0F, 0F, 0F);
        stringBackLeft = new ModelRenderer(this, 62, 21);
        stringBackLeft.addBox(2.5F, -0.1F + yShift, -2.1F, 1, 10, 0, enlargement);
        setRotation(stringBackLeft, 0F, 0F, 0F);
        stringBackRight = new ModelRenderer(this, 49, 21);
        stringBackRight.addBox(-3.5F, -0.10F + yShift, -2.1F, 1, 10, 0, enlargement);
        setRotation(stringBackRight, 0F, 0F, 0F);
        stringBottomLeft = new ModelRenderer(this, 54, 27);
        stringBottomLeft.addBox(2.5F, 10F + yShift, -2F, 1, 0, 5, enlargement);
        setRotation(stringBottomLeft, 0F, 0F, 0F);
        stringBottomRight = new ModelRenderer(this, 41, 27);
        stringBottomRight.addBox(-3.5F, 10F + yShift, -2F, 1, 0, 5, enlargement);
        setRotation(stringBottomRight, 0F, 0F, 0F);

        bagMain.addChild(bagTop);
        bagMain.addChild(pocketLeft);
View Full Code Here

  public ModelHeatGenerator()
  {
    textureWidth = 128;
    textureHeight = 128;

    A = new ModelRenderer(this, 0, 0);
    A.addBox(-8F, 0F, -8F, 16, 1, 16);
    A.setRotationPoint(0F, 23F, 0F);
    A.setTextureSize(128, 128);
    A.mirror = true;
    setRotation(A, 0F, 0F, 0F);
    B = new ModelRenderer(this, 0, 85);
    B.addBox(0F, 0F, 0F, 8, 6, 10);
    B.setRotationPoint(-8F, 17F, -5F);
    B.setTextureSize(128, 128);
    B.mirror = true;
    setRotation(B, 0F, 0F, 0F);
    C = new ModelRenderer(this, 0, 67);
    C.addBox(-1F, -2F, 0F, 2, 4, 12);
    C.setRotationPoint(-5F, 20F, -6F);
    C.setTextureSize(128, 128);
    C.mirror = true;
    setRotation(C, 0F, 0F, 1.570796F);
    D = new ModelRenderer(this, 0, 67);
    D.addBox(-1F, -2F, 0F, 2, 4, 12);
    D.setRotationPoint(-5F, 20F, -6F);
    D.setTextureSize(128, 128);
    D.mirror = true;
    setRotation(D, 0F, 0F, 0.5235988F);
    E = new ModelRenderer(this, 0, 67);
    E.addBox(-1F, -2F, 0F, 2, 4, 12);
    E.setRotationPoint(-5F, 20F, -6F);
    E.setTextureSize(128, 128);
    E.mirror = true;
    setRotation(E, 0F, 0F, -0.5235988F);
    F = new ModelRenderer(this, 68, 0);
    F.addBox(-2F, -4F, 0F, 4, 8, 10);
    F.setRotationPoint(-4F, 13F, -5F);
    F.setTextureSize(128, 128);
    F.mirror = true;
    setRotation(F, 0F, 0F, 0.5235988F);
    G = new ModelRenderer(this, 68, 0);
    G.addBox(-2F, -4F, 0F, 4, 8, 10);
    G.setRotationPoint(-4F, 13F, -5F);
    G.setTextureSize(128, 128);
    G.mirror = true;
    setRotation(G, 0F, 0F, -0.5235988F);
    H = new ModelRenderer(this, 68, 0);
    H.addBox(-2F, -4F, 0F, 4, 8, 10);
    H.setRotationPoint(-4F, 13F, -5F);
    H.setTextureSize(128, 128);
    H.mirror = true;
    setRotation(H, 0F, 0F, 1.570796F);
    I = new ModelRenderer(this, 0, 18);
    I.addBox(0F, 0F, 0F, 8, 13, 14);
    I.setRotationPoint(0F, 10F, -6F);
    I.setTextureSize(128, 128);
    I.mirror = true;
    setRotation(I, 0F, 0F, 0F);
    J = new ModelRenderer(this, 0, 47);
    J.addBox(0F, 0F, 0F, 6, 11, 1);
    J.setRotationPoint(1F, 11F, -7F);
    J.setTextureSize(128, 128);
    J.mirror = true;
    setRotation(J, 0F, 0F, 0F);
    K = new ModelRenderer(this, 51, 21);
    K.addBox(0F, 0F, 0F, 10, 4, 1);
    K.setRotationPoint(-8F, 13F, -4F);
    K.setTextureSize(128, 128);
    K.mirror = true;
    setRotation(K, 0F, 0F, 0F);
    L = new ModelRenderer(this, 51, 21);
    L.addBox(0F, 0F, 0F, 10, 4, 1);
    L.setRotationPoint(-8F, 13F, 3F);
    L.setTextureSize(128, 128);
    L.mirror = true;
    setRotation(L, 0F, 0F, 0F);
    M = new ModelRenderer(this, 0, 103);
    M.addBox(0F, 0F, 0F, 2, 4, 2);
    M.setRotationPoint(-2F, 19F, -7F);
    M.setTextureSize(128, 128);
    M.mirror = true;
    setRotation(M, 0F, 0F, 0F);
    N = new ModelRenderer(this, 51, 0);
    N.addBox(0F, 0F, 0F, 6, 1, 1);
    N.setRotationPoint(-3F, 9F, 0F);
    N.setTextureSize(128, 128);
    N.mirror = true;
    setRotation(N, 0F, 0F, 0F);
    O = new ModelRenderer(this, 51, 0);
    O.addBox(0F, 0F, 0F, 6, 1, 1);
    O.setRotationPoint(-3F, 9F, 2F);
    O.setTextureSize(128, 128);
    O.mirror = true;
    setRotation(O, 0F, 0F, 0F);
View Full Code Here

TOP

Related Classes of net.minecraft.client.model.ModelRenderer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.