Package net.minecraft.src

Examples of net.minecraft.src.ModelRenderer


  public ModelSabreCat() {
    textureWidth = 128;
    textureHeight = 64;

    ear1 = new ModelRenderer(this, 74, 0);
    ear1.addBox(0F, 0F, 0F, 2, 2, 1);
    ear1.setRotationPoint(-3F, 8F, -6.533333F);
    ear1.setTextureSize(64, 32);
    ear1.mirror = true;
    setRotation(ear1, 0F, 0.1745329F, -0.0872665F);
    ear2 = new ModelRenderer(this, 74, 0);
    ear2.addBox(0F, 0F, 0F, 2, 2, 1);
    ear2.setRotationPoint(4F, 8F, -7F);
    ear2.setTextureSize(64, 32);
    ear2.mirror = true;
    setRotation(ear2, 0F, -0.1745329F, 0.0872665F);
    tooth1 = new ModelRenderer(this, 68, 0);
    tooth1.addBox(0F, 0F, 0F, 1, 3, 1);
    tooth1.setRotationPoint(2F, 14.53333F, -12F);
    tooth1.setTextureSize(64, 32);
    tooth1.mirror = true;
    setRotation(tooth1, 0.2094395F, 0F, 0F);
    tooth2 = new ModelRenderer(this, 68, 0);
    tooth2.addBox(0F, 0F, 0F, 1, 3, 1);
    tooth2.setRotationPoint(0F, 14.46667F, -12F);
    tooth2.setTextureSize(64, 32);
    tooth2.mirror = true;
    setRotation(tooth2, 0.2094395F, 0F, 0F);
    Head = new ModelRenderer(this, 0, 0);
    Head.addBox(0F, 0F, 0F, 7, 7, 7);
    Head.setRotationPoint(-2F, 9F, -9F);
    Head.setTextureSize(64, 32);
    Head.mirror = true;
    setRotation(Head, 0.063722F, 0F, 0F);
    Nose = new ModelRenderer(this, 28, 0);
    Nose.addBox(0F, 0F, 0F, 4, 3, 6);
    Nose.setRotationPoint(-0.5F, 12F, -12F);
    Nose.setTextureSize(64, 32);
    Nose.mirror = true;
    setRotation(Nose, 0F, 0F, 0F);
    Mouth = new ModelRenderer(this, 48, 0);
    Mouth.addBox(0F, 0F, 0F, 4, 1, 6);
    Mouth.setRotationPoint(0F, 15.53333F, -10.53333F);
    Mouth.setTextureSize(64, 32);
    Mouth.mirror = true;
    setRotation(Mouth, 0.1919862F, 0F, 0F);
    body1 = new ModelRenderer(this, 0, 15);
    body1.addBox(-6F, 0F, -4F, 11, 9, 10);
    body1.setRotationPoint(2F, 13F, -5F);
    body1.setTextureSize(64, 32);
    body1.mirror = true;
    setRotation(body1, 1.570796F, 0F, 0F);
    Body2 = new ModelRenderer(this, 43, 14);
    Body2.addBox(0F, 0F, 0F, 7, 12, 8);
    Body2.setRotationPoint(-2F, 16F, 3F);
    Body2.setTextureSize(64, 32);
    Body2.mirror = true;
    setRotation(Body2, 1.570796F, 0F, 0F);
   
    Tail = new ModelRenderer(this, 74, 14);
    Tail.addBox(0F, 0F, 0F, 3, 10, 2);
    Tail.setRotationPoint(0F, 11F, 13F);
    Tail.setTextureSize(64, 32);
    Tail.mirror = true;
    setRotation(Tail, 0.7211002F, 0F, 0F);
   
    Leg4 = new ModelRenderer(this, 0, 35);
    Leg4.addBox(0F, 0F, 0F, 3, 11, 3);
    Leg4.setRotationPoint(-2.466667F, 13F, 11F);
    Leg4.setTextureSize(64, 32);
    Leg4.mirror = true;
    setRotation(Leg4, 0F, 0F, 0F);
   
    Leg3 = new ModelRenderer(this, 0, 35);
    Leg3.addBox(0F, 0F, 0F, 3, 11, 3);
    Leg3.setRotationPoint(2.466667F, 13F, 11F);
    Leg3.setTextureSize(64, 32);
    Leg3.mirror = true;
    setRotation(Leg3, 0F, 0F, 0F);
   
    Leg2 = new ModelRenderer(this, 0, 35);
    Leg2.addBox(0F, 0F, 0F, 3, 9, 3);
    Leg2.setRotationPoint(2.466667F, 15F, -3F);
    Leg2.setTextureSize(64, 32);
    Leg2.mirror = true;
    setRotation(Leg2, 0F, 0F, 0F);
   
    Leg1 = new ModelRenderer(this, 0, 35);
    Leg1.addBox(0F, 0F, 0F, 3, 9, 3);
    Leg1.setRotationPoint(-2.533333F, 15F, -3F);
    Leg1.setTextureSize(64, 32);
    Leg1.mirror = true;
    setRotation(Leg1, 0F, 0F, 0F);
View Full Code Here


  public ModelTroll()
  {
    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);
      mouth = new ModelRenderer(this, 0, 8);
      mouth.addBox(0F, 0F, 0F, 4, 3, 3);
      mouth.setRotationPoint(-2F, -3F, -6F);
      mouth.setTextureSize(64, 32);
      mouth.mirror = true;
      setRotation(mouth, 0F, 0F, 0F);
      rightforearm = new ModelRenderer(this, 20, 16);
      rightforearm.addBox(0F, 0F, 0F, 4, 10, 4);
      rightforearm.setRotationPoint(-11F, 6F, 0F);
      rightforearm.setTextureSize(64, 32);
      rightforearm.mirror = true;
      setRotation(rightforearm, -0.9294653F, -0.1115358F, 0.0174533F);
      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, -0.5574829F, 1.115265F, 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, -0.5574829F, -1.115265F, 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);
      leftforearm = new ModelRenderer(this, 20, 16);
      leftforearm.addBox(0F, 0F, 0F, 4, 10, 4);
      leftforearm.setRotationPoint(7F, 6F, 0F);
      leftforearm.setTextureSize(64, 32);
      leftforearm.mirror = true;
      setRotation(leftforearm, -0.9294653F, -0.1115358F, 0.0174533F);
View Full Code Here

  {
    super(6, 0.0F);
    textureWidth = 128;
    textureHeight = 32;

    tusk2 = new ModelRenderer(this, 76, 0);
    tusk2.addBox(0F, 0F, 0F, 1, 1, 10);
    tusk2.setRotationPoint(3F, 10F, -23F);
    tusk2.setTextureSize(128, 32);
    tusk2.mirror = true;
    setRotation(tusk2, 0F, 0F, 0F);
    tusk1 = new ModelRenderer(this, 76, 0);
    tusk1.addBox(0F, 0F, 0F, 1, 1, 10);
    tusk1.setRotationPoint(-4F, 10F, -23F);
    tusk1.setTextureSize(128, 32);
    tusk1.mirror = true;
    setRotation(tusk1, 0F, 0F, 0F);
    snout = new ModelRenderer(this, 0, 0);
    snout.addBox(0F, 0F, 0F, 4, 15, 4);
    snout.setRotationPoint(-2F, 4F, -18F);
    snout.setTextureSize(128, 32);
    snout.mirror = true;
    setRotation(snout, 0F, 0F, 0F);
    head = new ModelRenderer(this, 43, 0);
    head.addBox(-4F, -4F, -8F, 8, 11, 8);
    head.setRotationPoint(0F, 6F, -6F);
    head.setTextureSize(128, 32);
    head.mirror = true;
    setRotation(head, 0F, 0F, 0F);
    body = new ModelRenderer(this, 0, 0);
    body.addBox(-5F, -10F, -7F, 10, 16, 11);
    body.setRotationPoint(0F, 11F, 3F);
    body.setTextureSize(128, 32);
    body.mirror = true;
    setRotation(body, 1.570796F, 0F, 0F);
   
    leg1 = new ModelRenderer(this, 42, 20);
    leg1.addBox(-2F, 0F, -2F, 4, 6, 4);
    leg1.setRotationPoint(-3F, 18F, 7F);
    leg1.setTextureSize(128, 32);
    leg1.mirror = true;
    setRotation(leg1, 0F, 0F, 0F);
   
    leg2 = new ModelRenderer(this, 42, 20);
    leg2.addBox(-2F, 0F, -2F, 4, 6, 4);
    leg2.setRotationPoint(3F, 18F, 7F);
    leg2.setTextureSize(128, 32);
    leg2.mirror = true;
    setRotation(leg2, 0F, 0F, 0F);
   
    leg3 = new ModelRenderer(this, 42, 20);
    leg3.addBox(-2F, 0F, -2F, 4, 6, 4);
    leg3.setRotationPoint(-3F, 18F, -5F);
    leg3.setTextureSize(128, 32);
    leg3.mirror = true;
    setRotation(leg3, 0F, 0F, 0F);
   
    leg4 = new ModelRenderer(this, 42, 20);
    leg4.addBox(-2F, 0F, -2F, 4, 6, 4);
    leg4.setRotationPoint(3F, 18F, -5F);
    leg4.setTextureSize(128, 32);
    leg4.mirror = true;
    setRotation(leg4, 0F, 0F, 0F);
   
    back = new ModelRenderer(this, 0, 0);
    back.addBox(0F, 0F, 0F, 5, 8, 16);
    back.setRotationPoint(-2F, 4F, -7F);
    back.setTextureSize(128, 32);
    back.mirror = true;
    setRotation(back, 0F, 0F, 0F);
View Full Code Here

  public ModelDeer()
  {
    textureWidth = 128;
    textureHeight = 64;
   
      leg1 = new ModelRenderer(this, 0, 33);
      leg1.addBox(0F, 0F, 0F, 3, 12, 3);
      leg1.setRotationPoint(-4F, 12F, -1F);
      leg1.setTextureSize(64, 32);
      leg1.mirror = true;
      setRotation(leg1, 0F, 0F, 0F);
      leg2 = new ModelRenderer(this, 0, 33);
      leg2.addBox(0F, 0F, 0F, 3, 12, 3);
      leg2.setRotationPoint(2F, 12F, 17F);
      leg2.setTextureSize(64, 32);
      leg2.mirror = true;
      setRotation(leg2, 0F, 0F, 0F);
      leg3 = new ModelRenderer(this, 0, 33);
      leg3.addBox(0F, 0F, 0F, 3, 12, 3);
      leg3.setRotationPoint(-4F, 12F, 17F);
      leg3.setTextureSize(64, 32);
      leg3.mirror = true;
      setRotation(leg3, 0F, 0F, 0F);
      leg4 = new ModelRenderer(this, 0, 33);
      leg4.addBox(0F, 0F, 0F, 3, 12, 3);
      leg4.setRotationPoint(2F, 12F, -1F);
      leg4.setTextureSize(64, 32);
      leg4.mirror = true;
      setRotation(leg4, 0F, 0F, 0F);
      body = new ModelRenderer(this, 35, 0);
      body.addBox(0F, 0F, 0F, 11, 10, 22);
      body.setRotationPoint(-5F, 2F, -1.5F);
      body.setTextureSize(64, 32);
      body.mirror = true;
      setRotation(body, 0F, 0F, 0F);
      tail = new ModelRenderer(this, 0, 23);
      tail.addBox(0F, 0F, 0F, 3, 2, 5);
      tail.setRotationPoint(-1F, 3F, 19F);
      tail.setTextureSize(64, 32);
      tail.mirror = true;
      setRotation(tail, 0.8922867F, 0F, 0F);
      neck = new ModelRenderer(this, 16, 23);
      neck.addBox(0F, -11F, 0F, 4, 11, 4);
      neck.setRotationPoint(-1.5F, 5F, -1F);
      neck.setTextureSize(64, 32);
      neck.mirror = true;
      setRotation(neck, 0.5576792F, 0F, 0F);
      head = new ModelRenderer(this, 0, 0);
      head.addBox(1F, 0F, -8F, 5, 5, 9);
      head.setRotationPoint(-3.033333F, -7F, -3F);
      head.setTextureSize(64, 32);
      head.mirror = true;
      setRotation(head, 0.1487144F, 0F, 0F);
      left_horn1 = new ModelRenderer(this, 0, 15);
      left_horn1.addBox(0F, -5F, 0F, 1, 5, 1);
      left_horn1.setRotationPoint(2F, -6F, -4F);
      left_horn1.setTextureSize(64, 32);
      left_horn1.mirror = true;
      setRotation(left_horn1, 0F, 0.0743572F, 1.152537F);
      left_horn2 = new ModelRenderer(this, 0, 15);
      left_horn2.addBox(0F, -5F, 0F, 1, 5, 1);
      left_horn2.setRotationPoint(6F, -8F, -4F);
      left_horn2.setTextureSize(64, 32);
      left_horn2.mirror = true;
      setRotation(left_horn2, 0F, 0.4833219F, 1.07818F);
      left_horn3 = new ModelRenderer(this, 0, 15);
      left_horn3.addBox(0F, 0F, 0F, 1, 4, 1);
      left_horn3.setRotationPoint(11F, -10F, -5F);
      left_horn3.setTextureSize(64, 32);
      left_horn3.mirror = true;
      setRotation(left_horn3, 0F, -1.412787F, 2.13777F);
      left_horn4 = new ModelRenderer(this, 0, 15);
      left_horn4.addBox(0F, 0F, 0F, 1, 4, 1);
      left_horn4.setRotationPoint(7F, -8F, -4F);
      left_horn4.setTextureSize(64, 32);
      left_horn4.mirror = true;
      setRotation(left_horn4, 0F, -1.412787F, 2.13777F);
      left_horn5 = new ModelRenderer(this, 0, 15);
      left_horn5.addBox(0F, 0F, 0F, 1, 4, 1);
      left_horn5.setRotationPoint(4F, -6.5F, -3F);
      left_horn5.setTextureSize(64, 32);
      left_horn5.mirror = true;
      setRotation(left_horn5, 0F, -1.412787F, 2.13777F);
      right_horn1 = new ModelRenderer(this, 0, 15);
      right_horn1.addBox(-1F, -5F, 0F, 1, 5, 1);
      right_horn1.setRotationPoint(-1F, -6F, -4F);
      right_horn1.setTextureSize(64, 32);
      right_horn1.mirror = true;
      setRotation(right_horn1, 0F, -0.074351F, -1.152546F);
      right_horn2 = new ModelRenderer(this, 0, 15);
      right_horn2.addBox(-1F, -5F, 0F, 1, 5, 1);
      right_horn2.setRotationPoint(-5F, -8F, -4F);
      right_horn2.setTextureSize(64, 32);
      right_horn2.mirror = true;
      setRotation(right_horn2, 0F, -0.4833166F, -1.078177F);
      right_horn3 = new ModelRenderer(this, 0, 15);
      right_horn3.addBox(-1F, 0F, 0F, 1, 4, 1);
      right_horn3.setRotationPoint(-10F, -10F, -5F);
      right_horn3.setTextureSize(64, 32);
      right_horn3.mirror = true;
      setRotation(right_horn3, 0F, 1.412792F, -2.137767F);
      right_horn4 = new ModelRenderer(this, 0, 15);
      right_horn4.addBox(-1F, 0F, 0F, 1, 4, 1);
      right_horn4.setRotationPoint(-6F, -8F, -4F);
      right_horn4.setTextureSize(64, 32);
      right_horn4.mirror = true;
      setRotation(right_horn4, 0F, 1.412792F, -2.144748F);
      right_horn5 = new ModelRenderer(this, 0, 15);
      right_horn5.addBox(-1F, 0F, 0F, 1, 4, 1);
      right_horn5.setRotationPoint(-3F, -6.5F, -3F);
      right_horn5.setTextureSize(64, 32);
      right_horn5.mirror = true;
      setRotation(right_horn5, 0F, 1.412792F, -2.137767F);
View Full Code Here

  public ModelDragonFlying() {
    textureWidth = 64;
    textureHeight = 64;

    tail2 = new ModelRenderer(this, 45, 34);
    tail2.addBox(0F, 0F, 0F, 2, 2, 6);
    tail2.setRotationPoint(1F, -1F, 32F);
    tail2.setTextureSize(64, 32);
    tail2.mirror = true;
    setRotation(tail2, 0.1396263F, 0F, 0F);
    tail1 = new ModelRenderer(this, 45, 34);
    tail1.addBox(0F, 0F, 0F, 2, 2, 6);
    tail1.setRotationPoint(1F, -2F, 27F);
    tail1.setTextureSize(64, 32);
    tail1.mirror = true;
    setRotation(tail1, -0.1396263F, 0F, 0F);
    body = new ModelRenderer(this, 17, 0);
    body.addBox(0F, 0F, 0F, 6, 4, 14);
    body.setRotationPoint(-1F, -2F, 14F);
    body.setTextureSize(64, 32);
    body.mirror = true;
    setRotation(body, 0F, 0F, 0F);
    frontleg2 = new ModelRenderer(this, 19, 47);
    frontleg2.addBox(0F, 0F, 0F, 2, 5, 2);
    frontleg2.setRotationPoint(3F, 0F, 14F);
    frontleg2.setTextureSize(64, 32);
    frontleg2.mirror = true;
    setRotation(frontleg2, 0F, 0F, 0F);
    frontleg1 = new ModelRenderer(this, 19, 47);
    frontleg1.addBox(0F, 0F, 0F, 2, 5, 2);
    frontleg1.setRotationPoint(-1F, 0F, 14F);
    frontleg1.setTextureSize(64, 32);
    frontleg1.mirror = true;
    setRotation(frontleg1, 0F, 0F, 0F);
    backlegtip2 = new ModelRenderer(this, 0, 47);
    backlegtip2.addBox(0F, 0F, 0F, 3, 3, 6);
    backlegtip2.setRotationPoint(3F, 4F, 24F);
    backlegtip2.setTextureSize(64, 32);
    backlegtip2.mirror = true;
    setRotation(backlegtip2, 0F, 0F, 0F);
    backleg2 = new ModelRenderer(this, 45, 25);
    backleg2.addBox(0F, 0F, 0F, 3, 5, 3);
    backleg2.setRotationPoint(3F, 0F, 24F);
    backleg2.setTextureSize(64, 32);
    backleg2.mirror = true;
    setRotation(backleg2, 0F, 0F, 0F);
    backlegtip1 = new ModelRenderer(this, 0, 47);
    backlegtip1.addBox(0F, 0F, 0F, 3, 3, 6);
    backlegtip1.setRotationPoint(-2F, 4F, 24F);
    backlegtip1.setTextureSize(64, 32);
    backlegtip1.mirror = true;
    setRotation(backlegtip1, 0F, 0F, 0F);
    backleg1 = new ModelRenderer(this, 45, 25);
    backleg1.addBox(0F, 0F, 0F, 3, 5, 3);
    backleg1.setRotationPoint(-2F, 0F, 24F);
    backleg1.setTextureSize(64, 32);
    backleg1.mirror = true;
    setRotation(backleg1, 0F, 0F, 0F);
    lowerJaw = new ModelRenderer(this, 0, 6);
    lowerJaw.addBox(0F, 0F, 0F, 4, 1, 4);
    lowerJaw.setRotationPoint(0F, 0F, 0F);
    lowerJaw.setTextureSize(64, 32);
    lowerJaw.mirror = true;
    setRotation(lowerJaw, 0F, 0F, 0F);
    upperJaw = new ModelRenderer(this, 0, 0);
    upperJaw.addBox(0F, 0F, 0F, 4, 1, 4);
    upperJaw.setRotationPoint(0F, -1F, 0F);
    upperJaw.setTextureSize(64, 32);
    upperJaw.mirror = true;
    setRotation(upperJaw, 0F, 0F, 0F);
    head = new ModelRenderer(this, 0, 12);
    head.addBox(0F, 0F, 0F, 4, 4, 4);
    head.setRotationPoint(0F, -3F, 3F);
    head.setTextureSize(64, 32);
    head.mirror = true;
    setRotation(head, 0F, 0F, 0F);
    neck1 = new ModelRenderer(this, 45, 19);
    neck1.addBox(0F, 0F, 0F, 2, 2, 3);
    neck1.setRotationPoint(1F, -1F, 6F);
    neck1.setTextureSize(64, 32);
    neck1.mirror = true;
    setRotation(neck1, 0F, 0F, 0F);
    neck2 = new ModelRenderer(this, 45, 19);
    neck2.addBox(0F, 0F, 0F, 2, 2, 3);
    neck2.setRotationPoint(1F, -1F, 9F);
    neck2.setTextureSize(64, 32);
    neck2.mirror = true;
    setRotation(neck2, 0F, 0F, 0F);
    neck3 = new ModelRenderer(this, 45, 19);
    neck3.addBox(0F, 0F, 0F, 2, 2, 3);
    neck3.setRotationPoint(1F, -1F, 12F);
    neck3.setTextureSize(64, 32);
    neck3.mirror = true;
    setRotation(neck3, 0F, 0F, 0F);
    wing2 = new ModelRenderer(this, 0, 34);
    wing2.addBox(0F, 0F, 0F, 10, 0, 12);
    wing2.setRotationPoint(4F, -1.5F, 15F);
    wing2.setTextureSize(64, 32);
    wing2.mirror = true;
    setRotation(wing2, 0F, 0F, -0.3316126F);
    wingtip2 = new ModelRenderer(this, 0, 21);
    wingtip2.addBox(0F, 0F, 0F, 10, 0, 12);
    wingtip2.setRotationPoint(13F, -5F, 15F);
    wingtip2.setTextureSize(64, 32);
    wingtip2.mirror = true;
    setRotation(wingtip2, 0F, 0F, 0.3490659F);
    wing1 = new ModelRenderer(this, 0, 21);
    wing1.addBox(0F, 0F, 0F, 10, 0, 12);
    wing1.setRotationPoint(-10F, -5F, 15F);
    wing1.setTextureSize(64, 32);
    wing1.mirror = true;
    setRotation(wing1, 0F, 0F, 0.3490659F);
    wingtip1 = new ModelRenderer(this, 0, 34);
    wingtip1.addBox(0F, 0F, 0F, 10, 0, 12);
    wingtip1.setRotationPoint(-19F, -2F, 15F);
    wingtip1.setTextureSize(64, 32);
    wingtip1.mirror = true;
    setRotation(wingtip1, 0F, 0F, -0.3316126F);
View Full Code Here

  public ModelDwarvenSpider()
  {
    textureWidth = 64;
    textureHeight = 32;
   
      head = new ModelRenderer(this, 42, 4);
      head.addBox(-4F, -4F, -8F, 6, 6, 6);
      head.setRotationPoint(1F, 14F, 5F);
      head.setTextureSize(64, 32);
      head.mirror = true;
      setRotation(head, 0F, 0F, 0F);
      body = new ModelRenderer(this, 0, 11);
      body.addBox(-5F, -4F, -6F, 8, 8, 13);
      body.setRotationPoint(1F, 17F, 1F);
      body.setTextureSize(64, 32);
      body.mirror = true;
      setRotation(body, 0F, 0F, 0F);
      leg8 = new ModelRenderer(this, 18, 0);
      leg8.addBox(-1F, -1F, -1F, 16, 2, 2);
      leg8.setRotationPoint(4F, 15F, -1F);
      leg8.setTextureSize(64, 32);
      leg8.mirror = true;
      setRotation(leg8, 0F, 1.570796F, 0F);
      leg6 = new ModelRenderer(this, 18, 0);
      leg6.addBox(-1F, -1F, -1F, 16, 2, 2);
      leg6.setRotationPoint(4F, 20F, -3F);
      leg6.setTextureSize(64, 32);
      leg6.mirror = true;
      setRotation(leg6, 0F, 0.2792527F, 0.1919862F);
      leg4 = new ModelRenderer(this, 18, 0);
      leg4.addBox(-1F, -1F, -1F, 16, 2, 2);
      leg4.setRotationPoint(4F, 20F, 2F);
      leg4.setTextureSize(64, 32);
      leg4.mirror = true;
      setRotation(leg4, 0F, 0F, 0.1919862F);
      leg2 = new ModelRenderer(this, 18, 0);
      leg2.addBox(-1F, -1F, -1F, 16, 2, 2);
      leg2.setRotationPoint(4F, 20F, 6F);
      leg2.setTextureSize(64, 32);
      leg2.mirror = true;
      setRotation(leg2, 0F, -0.5759587F, 0.1919862F);
      leg7 = new ModelRenderer(this, 18, 0);
      leg7.addBox(-15F, -1F, -1F, 16, 2, 2);
      leg7.setRotationPoint(-4F, 15F, -1F);
      leg7.setTextureSize(64, 32);
      leg7.mirror = true;
      setRotation(leg7, 0F, -1.570796F, 0F);
      leg5 = new ModelRenderer(this, 18, 0);
      leg5.addBox(-15F, -1F, -1F, 16, 2, 2);
      leg5.setRotationPoint(-4F, 20F, -3F);
      leg5.setTextureSize(64, 32);
      leg5.mirror = true;
      setRotation(leg5, 0F, -0.2792527F, -0.1919862F);
      leg3 = new ModelRenderer(this, 18, 0);
      leg3.addBox(-15F, -1F, -1F, 16, 2, 2);
      leg3.setRotationPoint(-4F, 20F, 2F);
      leg3.setTextureSize(64, 32);
      leg3.mirror = true;
      setRotation(leg3, 0F, 0F, -0.1919862F);
      leg1 = new ModelRenderer(this, 18, 0);
      leg1.addBox(-15F, -1F, -1F, 16, 2, 2);
      leg1.setRotationPoint(-4F, 20F, 6F);
      leg1.setTextureSize(64, 32);
      leg1.mirror = true;
      setRotation(leg1, 0F, 0.5759587F, -0.1919862F);
View Full Code Here

  public ModelSlaughterfish() {
    textureWidth = 128;
    textureHeight = 64;

    vin1_right = new ModelRenderer(this, 0, 32);
    vin1_right.addBox(0F, 0F, 0F, 0, 3, 1);
    vin1_right.setRotationPoint(1F, 3F, -3F);
    vin1_right.setTextureSize(64, 32);
    vin1_right.mirror = true;
    setRotation(vin1_right, 1.152537F, 0.1115358F, -0.2974289F);
    vin2_right = new ModelRenderer(this, 0, 32);
    vin2_right.addBox(0F, 0F, 0F, 0, 2, 1);
    vin2_right.setRotationPoint(-1F, 3F, 1F);
    vin2_right.setTextureSize(64, 32);
    vin2_right.mirror = true;
    setRotation(vin2_right, 1.33843F, -0.185895F, 0.185895F);
    tailvin1 = new ModelRenderer(this, 0, 32);
    tailvin1.addBox(0F, 0F, 0F, 0, 3, 1);
    tailvin1.setRotationPoint(0F, 3F, 10F);
    tailvin1.setTextureSize(64, 32);
    tailvin1.mirror = true;
    setRotation(tailvin1, 2.268928F, 0F, 0F);
    tailvin2 = new ModelRenderer(this, 0, 32);
    tailvin2.addBox(0F, 0F, 0F, 0, 3, 1);
    tailvin2.setRotationPoint(0F, 3F, 10F);
    tailvin2.setTextureSize(64, 32);
    tailvin2.mirror = true;
    setRotation(tailvin2, 1.937315F, 0F, 0F);
    tailvin3 = new ModelRenderer(this, 0, 32);
    tailvin3.addBox(0F, 0F, 0F, 0, 3, 1);
    tailvin3.setRotationPoint(0F, 3F, 10F);
    tailvin3.setTextureSize(64, 32);
    tailvin3.mirror = true;
    setRotation(tailvin3, 1.58825F, 0F, 0F);
    backvin = new ModelRenderer(this, 3, 31);
    backvin.addBox(0F, 0F, 0F, 0, 1, 4);
    backvin.setRotationPoint(0F, 0F, -2F);
    backvin.setTextureSize(64, 32);
    backvin.mirror = true;
    setRotation(backvin, 0.4089647F, 0F, 0F);
    backvin2 = new ModelRenderer(this, 3, 31);
    backvin2.addBox(0F, 0F, 0F, 0, 1, 4);
    backvin2.setRotationPoint(0F, 0F, 0F);
    backvin2.setTextureSize(64, 32);
    backvin2.mirror = true;
    setRotation(backvin2, 0.4089647F, 0F, 0F);
    backvin3 = new ModelRenderer(this, 12, 30);
    backvin3.addBox(0F, 0F, 0F, 0, 1, 5);
    backvin3.setRotationPoint(0F, 0F, 0F);
    backvin3.setTextureSize(64, 32);
    backvin3.mirror = true;
    setRotation(backvin3, 0.1487144F, 0F, 0F);
    vin1_left = new ModelRenderer(this, 0, 32);
    vin1_left.addBox(0F, 0F, 0F, 0, 3, 1);
    vin1_left.setRotationPoint(-1F, 3F, -3F);
    vin1_left.setTextureSize(64, 32);
    vin1_left.mirror = true;
    setRotation(vin1_left, 1.152537F, -0.111544F, 0.2974216F);
    vin2_left = new ModelRenderer(this, 0, 32);
    vin2_left.addBox(0F, 0F, 0F, 0, 2, 1);
    vin2_left.setRotationPoint(1F, 3F, 1F);
    vin2_left.setTextureSize(64, 32);
    vin2_left.mirror = true;
    setRotation(vin2_left, 1.33843F, 0.1858931F, -0.1858931F);
    head = new ModelRenderer(this, 0, 0);
    head.addBox(0F, 0F, 0F, 1, 2, 3);
    head.setRotationPoint(-0.5F, 1.333333F, -6F);
    head.setTextureSize(64, 32);
    head.mirror = true;
    setRotation(head, 0F, 0F, 0F);
    mouth1 = new ModelRenderer(this, 8, 0);
    mouth1.addBox(0F, 0F, 0F, 1, 1, 6);
    mouth1.setRotationPoint(-0.5333334F, 1.666667F, -9F);
    mouth1.setTextureSize(64, 32);
    mouth1.mirror = true;
    setRotation(mouth1, 0F, 0F, 0F);
    Mouth2 = new ModelRenderer(this, 22, 0);
    Mouth2.addBox(0F, 0F, -8F, 1, 1, 8);
    Mouth2.setRotationPoint(-0.5F, 2.5F, -2F);
    Mouth2.setTextureSize(64, 32);
    Mouth2.mirror = true;
    setRotation(Mouth2, 0.0743572F, 0F, 0F);
    Body = new ModelRenderer(this, 0, 11);
    Body.addBox(0F, 0F, 0F, 1, 5, 8);
    Body.setRotationPoint(-0.4666667F, 0F, -3F);
    Body.setTextureSize(64, 32);
    Body.mirror = true;
    setRotation(Body, 0F, 0F, 0F);
    Body2 = new ModelRenderer(this, 20, 11);
    Body2.addBox(0F, 0F, 0F, 2, 3, 10);
    Body2.setRotationPoint(-1F, 1F, -4F);
    Body2.setTextureSize(64, 32);
    Body2.mirror = true;
    setRotation(Body2, 0F, 0F, 0F);
    tail1 = new ModelRenderer(this, 0, 25);
    tail1.addBox(0F, 0F, 0F, 1, 2, 3);
    tail1.setRotationPoint(-0.5F, 1.5F, 6F);
    tail1.setTextureSize(64, 32);
    tail1.mirror = true;
    setRotation(tail1, 0F, 0F, 0F);
    tail2 = new ModelRenderer(this, 9, 25);
    tail2.addBox(0F, 0F, 0F, 1, 1, 3);
    tail2.setRotationPoint(-0.5F, 2F, 8F);
    tail2.setTextureSize(64, 32);
    tail2.mirror = true;
    setRotation(tail2, 0F, 0F, 0F);
View Full Code Here

  private ModelBase model = new ModelBase() {};
  private ModelRenderer box;
  private String baseTexture;

  public RenderLuminolamp() {
    box = new ModelRenderer(model, 0, 0);
    box.addBox(-8F, 1F, -8F, 16, 7, 16);
    box.rotationPointX = 8F;
    box.rotationPointY = 8F;
    box.rotationPointZ = 8F;
  }
View Full Code Here

TOP

Related Classes of net.minecraft.src.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.