Examples of ModelRenderer


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

Examples of net.minecraft.client.model.ModelRenderer

  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

Examples of net.minecraft.client.model.ModelRenderer

  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

Examples of net.minecraft.client.model.ModelRenderer

  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

Examples of net.minecraft.client.model.ModelRenderer

  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

Examples of net.minecraft.client.model.ModelRenderer

  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

Examples of net.minecraft.client.model.ModelRenderer

  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

Examples of net.minecraft.client.model.ModelRenderer

  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

Examples of net.minecraft.src.ModelRenderer

  public ModelCraftingTableII()
  {
      textureWidth = 128;
      textureHeight = 64;
   
      Table = new ModelRenderer(this, 0, 0);
      Table.addBox(-7F, 0F, -7F, 9, 16, 14);
      Table.setRotationPoint(0F, 0F, 0F);
      Table.setTextureSize(128, 64);
      Table.mirror = true;
      setRotation(Table, 0F, 0F, 0F);
      Door = new ModelRenderer(this, 96, 0);
      Door.addBox(0F, 0F, 0F, 1, 16, 13);
      Door.setRotationPoint(6F, 0F, -6F);
      Door.setTextureSize(128, 64);
      Door.mirror = true;
      setRotation(Door, 0F, 0F, 0F);
      door_side1 = new ModelRenderer(this, 61, 0);
      door_side1.addBox(0F, 0F, 0F, 4, 16, 1);
      door_side1.setRotationPoint(2F, 0F, -7F);
      door_side1.setTextureSize(128, 64);
      door_side1.mirror = true;
      setRotation(door_side1, 0F, 0F, 0F);
      door_side2 = new ModelRenderer(this, 71, 0);
      door_side2.addBox(0F, 0F, 0F, 4, 16, 1);
      door_side2.setRotationPoint(2F, 0F, 6F);
      door_side2.setTextureSize(128, 64);
      door_side2.mirror = true;
      setRotation(door_side2, 0F, 0F, 0F);
      door_topside1 = new ModelRenderer(this, 0, 46);
      door_topside1.addBox(0F, 0F, 0F, 4, 1, 12);
      door_topside1.setRotationPoint(2F, 0F, -6F);
      door_topside1.setTextureSize(128, 64);
      door_topside1.mirror = true;
      setRotation(door_topside1, 0F, 0F, 0F);
      door_topside2 = new ModelRenderer(this, 0, 33);
      door_topside2.addBox(0F, 0F, 0F, 4, 1, 12);
      door_topside2.setRotationPoint(2F, 15F, -5.8F);
      door_topside2.setTextureSize(128, 64);
      door_topside2.mirror = true;
      setRotation(door_topside2, 0F, 0F, 0F);
      Book = new ModelRenderer(this, 61, 23);
      Book.addBox(0F, 0F, 0F, 5, 1, 3);
      Book.setRotationPoint(-2F, -1F, 3.5F);
      Book.setTextureSize(128, 64);
      Book.mirror = true;
      setRotation(Book, 0F, 0.4833219F, 0F);
View Full Code Here

Examples of org.jdesktop.wonderland.client.jme.cellrenderer.ModelRenderer

        synchronized(this) {
            if (renderer==null) {
                if (deployedModel==null) {
                    getDeployedModel();
                }
                renderer = new ModelRenderer(cell, deployedModel);
                renderer.setPickingEnabled(pickable);
                renderer.setLightingEnabled(lightingEnabled);
                renderer.setBackfaceCullingEnabled(backfaceCullingEnabled);
                renderer.setTransparency(transparency);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.