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

    Base = new ModelRenderer(this, 0, 0);
    Base.addBox(0F, 0F, 0F, 10, 12, 10);
    Base.setRotationPoint(-5F, 12F, -5F);
    Base.setTextureSize(64, 64);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);
    Prong1 = new ModelRenderer(this, 0, 0);
    Prong1.addBox(0F, 0F, 0F, 4, 8, 2);
    Prong1.setRotationPoint(-2F, 8F, -7F);
    Prong1.setTextureSize(64, 64);
    Prong1.mirror = true;
    setRotation(Prong1, 0F, 0F, 0F);
    Prong2 = new ModelRenderer(this, 0, 0);
    Prong2.addBox(0F, 0F, 0F, 4, 8, 2);
    Prong2.setRotationPoint(-2F, 8F, 5F);
    Prong2.setTextureSize(64, 64);
    Prong2.mirror = true;
    setRotation(Prong2, 0F, 0F, 0F);
    Prong3 = new ModelRenderer(this, 0, 0);
    Prong3.addBox(0F, 0F, 0F, 4, 8, 2);
    Prong3.setRotationPoint(-7F, 8F, 2F);
    Prong3.setTextureSize(64, 64);
    Prong3.mirror = true;
    setRotation(Prong3, 0F, 1.570796F, 0F);
    Prong4 = new ModelRenderer(this, 0, 0);
    Prong4.addBox(0F, 0F, 0F, 4, 8, 2);
    Prong4.setRotationPoint(5F, 8F, 2F);
    Prong4.setTextureSize(64, 64);
    Prong4.mirror = true;
    setRotation(Prong4, 0F, 1.570796F, 0F);
  }
예제 #2
0
  public ModelWraith() {
    textureWidth = 64;
    textureHeight = 32;

    head = new ModelRenderer(this, 0, 0);
    head.addBox(-4F, -4F, -6F, 8, 8, 6);
    head.setRotationPoint(0F, 6F, -8F);
    head.setTextureSize(64, 32);
    head.mirror = true;
    setRotation(head, 0F, 0F, 0F);
    body = new ModelRenderer(this, 19, 0);
    body.addBox(-6F, -10F, -7F, 12, 22, 10);
    body.setRotationPoint(0F, 11F, 2F);
    body.setTextureSize(64, 32);
    body.mirror = true;
    setRotation(body, 0.8644027F, 0F, 0F);
    leg3 = new ModelRenderer(this, 0, 16);
    leg3.addBox(-3F, 0F, -3F, 4, 11, 4);
    leg3.setRotationPoint(-3F, 13F, -5F);
    leg3.setTextureSize(64, 32);
    leg3.mirror = true;
    setRotation(leg3, -1.308997F, 1.134464F, 0F);
    leg4 = new ModelRenderer(this, 0, 16);
    leg4.addBox(-1F, 0F, -3F, 4, 11, 4);
    leg4.setRotationPoint(3F, 13F, -5F);
    leg4.setTextureSize(64, 32);
    leg4.mirror = true;
    setRotation(leg4, -1.308997F, -1.134464F, -0.0743572F);
  }
예제 #3
0
  public ModelChargepad() {
    textureWidth = 64;
    textureHeight = 64;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 16, 1, 16);
    Shape1.setRotationPoint(-8F, 23F, -8F);
    Shape1.setTextureSize(64, 64);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 0, 18);
    Shape2.addBox(0F, 0F, 0F, 8, 11, 2);
    Shape2.setRotationPoint(-4F, 12F, 6F);
    Shape2.setTextureSize(64, 64);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 0, 0);
    Shape3.addBox(0F, 0F, 0F, 4, 3, 1);
    Shape3.setRotationPoint(-2F, 14F, 5F);
    Shape3.setTextureSize(64, 64);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 3, 8);
    Shape4.addBox(0F, 0F, 0F, 2, 5, 2);
    Shape4.setRotationPoint(-5F, 18F, 5F);
    Shape4.setTextureSize(64, 64);
    Shape4.mirror = true;
    setRotation(Shape4, 0F, 0F, 0F);
    Shape5 = new ModelRenderer(this, 3, 8);
    Shape5.addBox(0F, 0F, 0F, 2, 5, 2);
    Shape5.setRotationPoint(3F, 18F, 5F);
    Shape5.setTextureSize(64, 64);
    Shape5.mirror = true;
    setRotation(Shape5, 0F, 0F, 0F);
  }
  public ModelCobaltGuardianMinion() {
    textureWidth = 64;
    textureHeight = 32;

    head = new ModelRenderer(this, 0, 0);
    head.addBox(-5F, -5F, -5F, 10, 10, 10);
    head.setRotationPoint(0F, 15F, 0F);
    head.setTextureSize(64, 32);
    head.mirror = true;
    setRotation(head, 0F, 0F, 0F);
    footright = new ModelRenderer(this, 40, 7);
    footright.addBox(-1F, 0F, -1F, 2, 4, 2);
    footright.setRotationPoint(-2F, 20F, 0F);
    footright.setTextureSize(64, 32);
    footright.mirror = true;
    setRotation(footright, 0F, 0F, 0F);
    footleft = new ModelRenderer(this, 40, 7);
    footleft.addBox(-1F, 0F, -1F, 2, 4, 2);
    footleft.setRotationPoint(2F, 20F, 0F);
    footleft.setTextureSize(64, 32);
    footleft.mirror = true;
    setRotation(footleft, 0F, 0F, 0F);
    armleft = new ModelRenderer(this, 40, 0);
    armleft.addBox(0F, -1F, -1F, 2, 5, 2);
    armleft.setRotationPoint(5F, 14F, 0F);
    armleft.setTextureSize(64, 32);
    armleft.mirror = true;
    setRotation(armleft, 0F, 0F, 0F);
    armright = new ModelRenderer(this, 40, 0);
    armright.addBox(-2F, -1F, -1F, 2, 5, 2);
    armright.setRotationPoint(-5F, 14F, 0F);
    armright.setTextureSize(64, 32);
    armright.mirror = true;
    setRotation(armright, 0F, 0F, 0F);
  }
예제 #5
0
  public ModelFlag() {
    textureWidth = 64;
    textureHeight = 64;

    Pole = new ModelRenderer(this, 0, 0);
    Pole.addBox(-0.5F, -60F, 0F, 1, 60, 1);
    Pole.setRotationPoint(0F, 0F, 0F);
    Pole.setTextureSize(64, 64);
    Pole.mirror = true;
    setRotation(Pole, -0.1745329F, 0F, 0F);
    Knob = new ModelRenderer(this, 4, 2);
    Knob.addBox(-1F, -61F, -0.5F, 2, 1, 2);
    Knob.setRotationPoint(0F, 0F, 0F);
    Knob.setTextureSize(64, 64);
    Knob.mirror = true;
    setRotation(Knob, -0.1745329F, 0F, 0F);
    KnobTop = new ModelRenderer(this, 4, 0);
    KnobTop.addBox(-0.5F, -62F, 0F, 1, 1, 1);
    KnobTop.setRotationPoint(0F, 0F, 0F);
    KnobTop.setTextureSize(64, 64);
    KnobTop.mirror = true;
    setRotation(KnobTop, -0.1745329F, 0F, 0F);
    Flag = new ModelRenderer(this, 4, 0);
    Flag.addBox(-0.5F, -60F, 1F, 1, 12, 16);
    Flag.setRotationPoint(0F, 0F, 0F);
    Flag.setTextureSize(64, 64);
    Flag.mirror = true;
    setRotation(Flag, -0.1745329F, 0F, 0F);
  }
  public WireTurnModel() {
    textureWidth = 64;
    textureHeight = 32;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 7, 2, 2);
    Shape1.setRotationPoint(-8F, 22F, 1F);
    Shape1.setTextureSize(64, 32);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 0, 0);
    Shape2.addBox(0F, 0F, 0F, 11, 2, 2);
    Shape2.setRotationPoint(-8F, 22F, -3F);
    Shape2.setTextureSize(64, 32);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 0, 0);
    Shape3.addBox(0F, 0F, 0F, 2, 2, 9);
    Shape3.setRotationPoint(1F, 22F, -1F);
    Shape3.setTextureSize(64, 32);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 0, 0);
    Shape4.addBox(0F, 0F, 0F, 2, 2, 5);
    Shape4.setRotationPoint(-3F, 22F, 3F);
    Shape4.setTextureSize(64, 32);
    Shape4.mirror = true;
    setRotation(Shape4, 0F, 0F, 0F);
  }
  public ModelStrobeLight() {
    textureWidth = 64;
    textureHeight = 32;

    Base = new ModelRenderer(this, 0, 15);
    Base.addBox(-4F, -2F, -4F, 8, 3, 8);
    Base.setRotationPoint(0F, 23F, 0F);
    Base.setTextureSize(64, 32);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);

    Light = new ModelRenderer(this, 28, 0);
    Light.addBox(-2F, -6F, -2F, 3, 4, 3);
    Light.setRotationPoint(0.5F, 23F, 0.5F);
    Light.setTextureSize(64, 32);
    Light.mirror = true;
    setRotation(Light, 0F, 0F, 0F);

    GlassTop = new ModelRenderer(this, 0, 0);
    GlassTop.addBox(-4F, -10F, -4F, 7, 8, 7);
    GlassTop.setRotationPoint(0.5F, 23F, 0.5F);
    GlassTop.setTextureSize(64, 32);
    GlassTop.mirror = true;
    setRotation(GlassTop, 0F, 0F, 0F);
  }
예제 #8
0
  public ModelBunny() {
    textureWidth = 64;
    textureHeight = 32;

    Head = new ModelRenderer(this, 0, 0);
    Head.addBox(-3F, -3F, -2F, 6, 6, 4);
    Head.setRotationPoint(-1F, 16.5F, -7F);
    Head.setTextureSize(64, 32);
    Head.mirror = true;
    setRotation(Head, 0F, 0F, 0F);
    Body = new ModelRenderer(this, 18, 14);
    Body.addBox(-4F, -2F, -3F, 6, 9, 6);
    Body.setRotationPoint(0F, 17F, -3F);
    Body.setTextureSize(64, 32);
    Body.mirror = true;
    setRotation(Body, 1.570796F, 0F, 0F);
    Leg1 = new ModelRenderer(this, 0, 18);
    Leg1.addBox(-1F, 0F, -1F, 2, 5, 2);
    Leg1.setRotationPoint(-2.5F, 19F, 3F);
    Leg1.setTextureSize(64, 32);
    Leg1.mirror = true;
    setRotation(Leg1, 0F, 0F, 0F);
    Leg2 = new ModelRenderer(this, 0, 18);
    Leg2.addBox(-1F, 0F, -1F, 2, 5, 2);
    Leg2.setRotationPoint(0.5F, 19F, 3F);
    Leg2.setTextureSize(64, 32);
    Leg2.mirror = true;
    setRotation(Leg2, 0F, 0F, 0F);
    Leg3 = new ModelRenderer(this, 0, 18);
    Leg3.addBox(-1F, 0F, -1F, 2, 5, 2);
    Leg3.setRotationPoint(-2.5F, 19F, -4F);
    Leg3.setTextureSize(64, 32);
    Leg3.mirror = true;
    setRotation(Leg3, 0F, 0F, 0F);
    Leg4 = new ModelRenderer(this, 0, 18);
    Leg4.addBox(-1F, 0F, -1F, 2, 5, 2);
    Leg4.setRotationPoint(0.5F, 19F, -4F);
    Leg4.setTextureSize(64, 32);
    Leg4.mirror = true;
    setRotation(Leg4, 0F, 0F, 0F);
    Ear1 = new ModelRenderer(this, 16, 14);
    Ear1.addBox(-3F, -5F, 0F, 2, 2, 1);
    Ear1.setRotationPoint(-1F, 16.5F, -7F);
    Ear1.setTextureSize(64, 32);
    Ear1.mirror = true;
    setRotation(Ear1, 0F, 0F, 0F);
    Ear2 = new ModelRenderer(this, 16, 14);
    Ear2.addBox(1F, -5F, 0F, 2, 2, 1);
    Ear2.setRotationPoint(-1F, 16.5F, -7F);
    Ear2.setTextureSize(64, 32);
    Ear2.mirror = true;
    setRotation(Ear2, 0F, 0F, 0F);
    tail = new ModelRenderer(this, 6, 0);
    tail.addBox(0F, -5F, 8F, 2, 2, 1);
    tail.setRotationPoint(-2F, 16F, 4F);
    tail.setTextureSize(64, 32);
    tail.mirror = true;
    setRotation(tail, 0F, 0F, 0F);
    Body.addChild(tail);
  }
예제 #9
0
 public ModelLaser() {
   textureWidth = 64;
   textureHeight = 16;
   laserInner = new ModelRenderer(this, 0, 0);
   laserInner.setRotationPoint(0.0F, 0.0F, 0.0F);
   laserInner.addBox(-0.5F, -0.5F, -3.5F, 1, 1, 7);
   laserOuter = new ModelRenderer(this, 17, 0);
   laserOuter.setRotationPoint(0.0F, 0.0F, 0.0F);
   laserOuter.addBox(-1.0F, -1.0F, -4.0F, 2, 2, 8);
   laserInner.addChild(laserOuter);
 }
예제 #10
0
  public ModelTransitionTrack2() {
    textureWidth = 64;
    textureHeight = 32;

    Base = new ModelRenderer(this, 0, 0);
    Base.addBox(-8F, 0F, -2F, 26, 3, 4);
    Base.setRotationPoint(-1F, 14F, 0F);
    Base.setTextureSize(64, 32);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0.7853982F);
    Top_1 = new ModelRenderer(this, 0, 0);
    Top_1.addBox(-8F, 0F, -1F, 26, 2, 3);
    Top_1.setRotationPoint(0F, 12.5F, -5.5F);
    Top_1.setTextureSize(64, 32);
    Top_1.mirror = true;
    setRotation(Top_1, 0F, 0F, 0.7853982F);
    Top_2 = new ModelRenderer(this, 0, 0);
    Top_2.addBox(-8F, 0F, -1F, 26, 2, 3);
    Top_2.setRotationPoint(0F, 12.5F, 4.5F);
    Top_2.setTextureSize(64, 32);
    Top_2.mirror = true;
    setRotation(Top_2, 0F, 0F, 0.7853982F);
    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 5, 3, 4);
    Shape1.setRotationPoint(-12F, 5F, -2F);
    Shape1.setTextureSize(64, 32);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 0, 0);
    Shape3.addBox(0F, 0F, 0F, 9, 3, 4);
    Shape3.setRotationPoint(-7F, 5F, -2F);
    Shape3.setTextureSize(64, 32);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 1.047198F);
    Shape4 = new ModelRenderer(this, 0, 0);
    Shape4.addBox(0F, 0F, 0F, 11, 2, 3);
    Shape4.setRotationPoint(-7F, 2F, 3.5F);
    Shape4.setTextureSize(64, 32);
    Shape4.mirror = true;
    setRotation(Shape4, 0F, 0F, 1.047198F);
    Shape5 = new ModelRenderer(this, 0, 0);
    Shape5.addBox(0F, 0F, 0F, 13, 2, 3);
    Shape5.setRotationPoint(-7F, 2F, -6.5F);
    Shape5.setTextureSize(64, 32);
    Shape5.mirror = true;
    setRotation(Shape5, 0F, 0F, 1.047198F);
    Shape2 = new ModelRenderer(this, 0, 0);
    Shape2.addBox(0F, 0F, 0F, 6, 2, 3);
    Shape2.setRotationPoint(-13F, 1.5F, 3.5F);
    Shape2.setTextureSize(64, 32);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape6 = new ModelRenderer(this, 0, 0);
    Shape6.addBox(0F, 0F, 0F, 6, 2, 3);
    Shape6.setRotationPoint(-13F, 1.5F, -6.5F);
    Shape6.setTextureSize(64, 32);
    Shape6.mirror = true;
    setRotation(Shape6, 0F, 0F, 0F);
  }
예제 #11
0
  public ModelDarkSludge() {
    textureWidth = 128;
    textureHeight = 64;

    head1 = new ModelRenderer(this, 0, 0);
    head1.addBox(-4F, -6F, -8F, 8, 6, 8);
    head1.setRotationPoint(0F, 15F, 3F);
    head1.setTextureSize(128, 64);
    head1.mirror = true;
    setRotation(head1, -0.0743572F, 0F, -0.1115358F);
    head2 = new ModelRenderer(this, 0, 16);
    head2.addBox(-3F, 0F, -3F, 6, 2, 3);
    head2.setRotationPoint(0F, 15F, 3F);
    head2.setTextureSize(128, 64);
    head2.mirror = true;
    setRotation(head2, -0.074351F, 0F, -0.111544F);
    jaw = new ModelRenderer(this, 0, 22);
    jaw.addBox(-4F, -1F, -8F, 8, 2, 7);
    jaw.setRotationPoint(0F, 15F, 3F);
    jaw.setTextureSize(128, 64);
    jaw.mirror = true;
    setRotation(jaw, 0.5205068F, 0F, 0.0371705F);
    teeth = new ModelRenderer(this, 0, 32);
    teeth.addBox(-4F, 0F, -8F, 8, 1, 5);
    teeth.setRotationPoint(0F, 15F, 4F);
    teeth.setTextureSize(128, 64);
    teeth.mirror = true;
    setRotation(teeth, -0.0743572F, 0F, -0.1115358F);
    spine = new ModelRenderer(this, 0, 39);
    spine.addBox(-1F, 0F, -2F, 2, 3, 2);
    spine.setRotationPoint(0F, 15F, 3F);
    spine.setTextureSize(128, 64);
    spine.mirror = true;
    setRotation(spine, 0.2602503F, 0F, 0F);
    spinepiece = new ModelRenderer(this, 0, 45);
    spinepiece.addBox(-1F, 0F, -1F, 2, 1, 2);
    spinepiece.setRotationPoint(0F, 19F, 3F);
    spinepiece.setTextureSize(128, 64);
    spinepiece.mirror = true;
    setRotation(spinepiece, 0F, 0F, 0.2230717F);
    slime1 = new ModelRenderer(this, 40, 0);
    slime1.addBox(-9F, -7F, -9F, 18, 14, 18);
    slime1.setRotationPoint(0F, 15F, 0F);
    slime1.setTextureSize(128, 64);
    slime1.mirror = true;
    setRotation(slime1, 0F, 0F, 0F);
    slime2 = new ModelRenderer(this, 40, 32);
    slime2.addBox(-7F, -9F, -7F, 14, 2, 14);
    slime2.setRotationPoint(0F, 15F, 0F);
    slime2.setTextureSize(128, 64);
    slime2.mirror = true;
    setRotation(slime2, 0F, 0F, 0F);
    slime3 = new ModelRenderer(this, 40, 48);
    slime3.addBox(-7F, 7F, -7F, 14, 2, 14);
    slime3.setRotationPoint(0F, 15F, 0F);
    slime3.setTextureSize(128, 64);
    slime3.mirror = true;
    setRotation(slime3, 0F, 0F, 0F);
  }
예제 #12
0
  public ModelForgeTop() {
    textureWidth = 64;
    textureHeight = 32;

    Back = new ModelRenderer(this, 0, 0);
    Back.addBox(-4F, -5F, -6F, 8, 6, 2);
    Back.setRotationPoint(0F, 22F, 0F);
    Back.setTextureSize(64, 32);
    Back.mirror = true;
    setRotation(Back, 0F, 1.570796F, 0F);
    Right = new ModelRenderer(this, 0, 0);
    Right.addBox(-4F, -7F, -6F, 8, 6, 2);
    Right.setRotationPoint(0F, 24F, 0F);
    Right.setTextureSize(64, 32);
    Right.mirror = true;
    setRotation(Right, 0F, 3.154392F, 0F);
    cornerBR = new ModelRenderer(this, 0, 8);
    cornerBR.addBox(-6F, -13F, -6F, 2, 12, 2);
    cornerBR.setRotationPoint(0F, 24F, 0F);
    cornerBR.setTextureSize(64, 32);
    cornerBR.mirror = true;
    setRotation(cornerBR, 0F, 1.570796F, 0F);
    Left = new ModelRenderer(this, 0, 0);
    Left.addBox(-4F, -5F, -6F, 8, 6, 2);
    Left.setRotationPoint(0F, 22F, 0F);
    Left.setTextureSize(64, 32);
    Left.mirror = true;
    setRotation(Left, 0F, 0F, 0F);
    front = new ModelRenderer(this, 0, 0);
    front.addBox(-4F, -7F, -6F, 8, 6, 2);
    front.setRotationPoint(0F, 24F, 0F);
    front.setTextureSize(64, 32);
    front.mirror = true;
    setRotation(front, 0F, -1.570796F, 0F);
    cornerBL = new ModelRenderer(this, 0, 8);
    cornerBL.addBox(4F, -11F, -6F, 2, 12, 2);
    cornerBL.setRotationPoint(0F, 22F, 0F);
    cornerBL.setTextureSize(64, 32);
    cornerBL.mirror = true;
    setRotation(cornerBL, 0F, 1.570796F, 0F);
    cornerFR = new ModelRenderer(this, 0, 8);
    cornerFR.addBox(-6F, -13F, 4F, 2, 12, 2);
    cornerFR.setRotationPoint(0F, 24F, 0F);
    cornerFR.setTextureSize(64, 32);
    cornerFR.mirror = true;
    setRotation(cornerFR, 0F, 1.570796F, 0F);
    cornerFL = new ModelRenderer(this, 0, 8);
    cornerFL.addBox(4F, -13F, 4F, 2, 12, 2);
    cornerFL.setRotationPoint(0F, 24F, 0F);
    cornerFL.setTextureSize(64, 32);
    cornerFL.mirror = true;
    setRotation(cornerFL, 0F, 1.570796F, 0F);
    Top = new ModelRenderer(this, 20, 0);
    Top.addBox(-6F, -14F, -6F, 12, 3, 12);
    Top.setRotationPoint(0F, 22F, 0F);
    Top.setTextureSize(64, 32);
    Top.mirror = true;
    setRotation(Top, 0F, 0F, 0F);
  }
예제 #13
0
  public ModelJaffaStatue() {
    textureWidth = 256;
    textureHeight = 128;

    Shape1 = new ModelRenderer(this, 0, 74);
    Shape1.addBox(0F, 0F, 0F, 12, 8, 1);
    Shape1.setRotationPoint(-6F, 12F, -2F);
    Shape1.setTextureSize(256, 128);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 0, 91);
    Shape2.addBox(0F, 0F, 0F, 8, 2, 1);
    Shape2.setRotationPoint(-4F, 20F, -2F);
    Shape2.setTextureSize(256, 128);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 80, 0);
    Shape3.addBox(0F, 0F, 0F, 16, 12, 2);
    Shape3.setRotationPoint(-8F, 10F, -1F);
    Shape3.setTextureSize(256, 128);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 78, 16);
    Shape4.addBox(0F, 0F, 0F, 12, 2, 2);
    Shape4.setRotationPoint(-6F, 8F, -1F);
    Shape4.setTextureSize(256, 128);
    Shape4.mirror = true;
    setRotation(Shape4, 0F, 0F, 0F);
    Shape5 = new ModelRenderer(this, 78, 26);
    Shape5.addBox(0F, 0F, 0F, 12, 2, 2);
    Shape5.setRotationPoint(-6F, 22F, -1F);
    Shape5.setTextureSize(256, 128);
    Shape5.mirror = true;
    setRotation(Shape5, 0F, 0F, 0F);
    Shape6 = new ModelRenderer(this, 125, 11);
    Shape6.addBox(0F, 0F, 0F, 14, 10, 2);
    Shape6.setRotationPoint(-7F, 11F, 1F);
    Shape6.setTextureSize(256, 128);
    Shape6.mirror = true;
    setRotation(Shape6, 0F, 0F, 0F);
    Shape7 = new ModelRenderer(this, 124, 0);
    Shape7.addBox(0F, 0F, 0F, 10, 2, 2);
    Shape7.setRotationPoint(-5F, 9F, 1F);
    Shape7.setTextureSize(256, 128);
    Shape7.mirror = true;
    setRotation(Shape7, 0F, 0F, 0F);
    Shape8 = new ModelRenderer(this, 125, 6);
    Shape8.addBox(0F, 0F, 0F, 10, 2, 2);
    Shape8.setRotationPoint(-5F, 21F, 1F);
    Shape8.setTextureSize(256, 128);
    Shape8.mirror = true;
    setRotation(Shape8, 0F, 0F, 0F);
    Shape9 = new ModelRenderer(this, 0, 86);
    Shape9.addBox(0F, 0F, 0F, 8, 2, 1);
    Shape9.setRotationPoint(-4F, 10F, -2F);
    Shape9.setTextureSize(256, 128);
    Shape9.mirror = true;
    setRotation(Shape9, 0F, 0F, 0F);
  }
예제 #14
0
 private void initVillagerSpiderChest() {
   villagerSpiderChestRight = new ModelRenderer(this, 46, 16);
   villagerSpiderChestRight.addBox(0F, -4F, -4F, 1, 8, 8);
   villagerSpiderChestRight.setRotationPoint(-5.9F, 20F, 11F);
   villagerSpiderChestRight.setTextureSize(64, 32);
   villagerSpiderChestRight.mirror = true;
   setRotation(villagerSpiderChestRight, 0F, 0F, 0F);
   villagerSpiderChestLeft = new ModelRenderer(this, 46, 16);
   villagerSpiderChestLeft.addBox(0F, -4F, -4F, 1, 8, 8);
   villagerSpiderChestLeft.setRotationPoint(5.9F, 20F, 11F);
   villagerSpiderChestLeft.setTextureSize(64, 32);
   villagerSpiderChestLeft.mirror = true;
   setRotation(villagerSpiderChestLeft, 0F, 3.141593F, 0F);
 }
예제 #15
0
  public ModelCowTFC() {
    super(12, 0.0F);
    this.head = new ModelRenderer(this, 0, 0);
    this.head.addBox(-4.0F, -4.0F, -6.0F, 8, 8, 6, 0.0F);
    this.head.setRotationPoint(0.0F, 4.0F, -8.0F);

    horn1 = new ModelRenderer(this, 22, 0);
    horn1.addBox(0F, 0F, 0F, 1, 3, 1, 0.15F);
    horn1.setRotationPoint(-5.5F, -2.5F, -2F);
    horn1.rotateAngleZ = (float) -Math.PI / 2;

    horn1b = new ModelRenderer(this, 22, 0);
    horn1b.addBox(0, -2.1f, -0.5f, 1, 3, 1, 0F);
    horn1b.setRotationPoint(0f, 0f, 0f);
    horn1b.rotateAngleX = (float) Math.PI / 3f;
    horn1b.rotateAngleY = (float) -Math.PI / 12f;
    horn1.addChild(horn1b);

    this.head.addChild(horn1);
    horn2 = new ModelRenderer(this, 22, 0);
    horn2.addBox(0F, -3F, 0F, 1, 3, 1, 0.15F);
    horn2.setRotationPoint(5.5F, -2.5F, -2F);
    horn2.rotateAngleZ = (float) -Math.PI / 2;

    horn2b = new ModelRenderer(this, 22, 0);
    horn2b.addBox(0f, -0.8F, -0.5f, 1, 3, 1, 0F);
    horn2b.setRotationPoint(0F, 0F, 0F);
    horn2b.rotateAngleX = (float) -Math.PI / 3F;
    horn2b.rotateAngleY = (float) -Math.PI / 12F;
    horn2.addChild(horn2b);

    this.head.addChild(horn2);
    this.body = new ModelRenderer(this, 18, 4);
    this.body.addBox(-6.0F, -10.0F, -7.0F, 12, 18, 10, 0.0F);
    this.body.setRotationPoint(0.0F, 5.0F, 2.0F);
    this.udders = new ModelRenderer(this, 18, 4);
    this.udders.setRotationPoint(0.0F, 5.0F, 2.0F);
    this.udders.setTextureOffset(52, 0).addBox(-2.0F, 2.0F, -8.0F, 4, 6, 1);

    --this.leg1.rotationPointX;
    ++this.leg2.rotationPointX;
    this.leg1.rotationPointZ += 0.0F;
    this.leg2.rotationPointZ += 0.0F;
    --this.leg3.rotationPointX;
    ++this.leg4.rotationPointX;
    --this.leg3.rotationPointZ;
    --this.leg4.rotationPointZ;
    this.field_78151_h += 2.0F;
  }
예제 #16
0
  private void initEnderSpider() {
    enderSpiderBody = new ModelRenderer(this, 0, 0);
    enderSpiderBody.addBox(-3F, -3F, -3F, 6, 6, 6);
    enderSpiderBody.setRotationPoint(0F, 5F, 0F);

    enderSpiderLeg8 = new ModelRenderer(this, 18, 0);
    enderSpiderLeg8.addBox(-1F, -1F, -1F, 17, 1, 1);
    enderSpiderLeg8.setRotationPoint(2.5F, 9F, -1F);
    enderSpiderLeg8.setTextureSize(64, 32);
    enderSpiderLeg8.mirror = true;
    setRotation(enderSpiderLeg8, 0.2974289F, 0.5759587F, 1.230457F);
    enderSpiderLeg6 = new ModelRenderer(this, 18, 0);
    enderSpiderLeg6.addBox(-1F, -1F, -1F, 17, 1, 1);
    enderSpiderLeg6.setRotationPoint(2.5F, 9F, 0F);
    enderSpiderLeg6.setTextureSize(64, 32);
    enderSpiderLeg6.mirror = true;
    setRotation(enderSpiderLeg6, 0.5948578F, 0.2792527F, 1.22173F);
    enderSpiderLeg4 = new ModelRenderer(this, 18, 0);
    enderSpiderLeg4.addBox(-1F, -1F, -1F, 17, 1, 1);
    enderSpiderLeg4.setRotationPoint(2F, 9F, 1F);
    enderSpiderLeg4.setTextureSize(64, 32);
    enderSpiderLeg4.mirror = true;
    setRotation(enderSpiderLeg4, 0F, -0.2792527F, 1.22173F);
    enderSpiderLeg2 = new ModelRenderer(this, 18, 0);
    enderSpiderLeg2.addBox(-1F, -1F, -1F, 17, 1, 1);
    enderSpiderLeg2.setRotationPoint(2F, 9F, 2F);
    enderSpiderLeg2.setTextureSize(64, 32);
    enderSpiderLeg2.mirror = true;
    setRotation(enderSpiderLeg2, 0.2974289F, -0.5759587F, 1.230457F);
    enderSpiderLeg7 = new ModelRenderer(this, 18, 0);
    enderSpiderLeg7.addBox(-15F, -1F, -1F, 17, 1, 1);
    enderSpiderLeg7.setRotationPoint(-2.5F, 10F, -1F);
    enderSpiderLeg7.setTextureSize(64, 32);
    enderSpiderLeg7.mirror = true;
    setRotation(enderSpiderLeg7, 0F, -0.5759587F, -1.230457F);
    enderSpiderLeg5 = new ModelRenderer(this, 18, 0);
    enderSpiderLeg5.addBox(-15F, -1F, -1F, 17, 1, 1);
    enderSpiderLeg5.setRotationPoint(-2.5F, 10F, 0F);
    enderSpiderLeg5.setTextureSize(64, 32);
    enderSpiderLeg5.mirror = true;
    setRotation(enderSpiderLeg5, 0F, -0.2792527F, -1.22173F);
    enderSpiderLeg3 = new ModelRenderer(this, 18, 0);
    enderSpiderLeg3.addBox(-15F, -1F, -1F, 17, 1, 1);
    enderSpiderLeg3.setRotationPoint(-2.5F, 10F, 1F);
    enderSpiderLeg3.setTextureSize(64, 32);
    enderSpiderLeg3.mirror = true;
    setRotation(enderSpiderLeg3, 0F, 0.2792527F, -1.22173F);
    enderSpiderLeg1 = new ModelRenderer(this, 18, 0);
    enderSpiderLeg1.addBox(-15F, -1F, -1F, 18, 1, 1);
    enderSpiderLeg1.setRotationPoint(-2.5F, 10F, 2F);
    enderSpiderLeg1.setTextureSize(64, 32);
    enderSpiderLeg1.mirror = true;
    setRotation(enderSpiderLeg1, 0.3665191F, 0.5759587F, -1.230457F);
  }
  public CrystalGuardianModel() {
    textureWidth = 64;
    textureHeight = 64;

    chest = new ModelRenderer(this, 0, 0);
    chest.addBox(-8F, -8F, -5F, 16, 16, 10);
    chest.setRotationPoint(0F, 0F, 0F);
    setRotation(chest, 0F, 0F, 0F);
    leftarm = new ModelRenderer(this, 0, 26);
    leftarm.mirror = true;
    leftarm.addBox(0F, -2F, -2F, 4, 22, 4);
    leftarm.setRotationPoint(8F, -5F, 0F);
    setRotation(leftarm, 0F, 0F, 0F);
    rightarm = new ModelRenderer(this, 0, 26);
    rightarm.mirror = false;
    rightarm.addBox(-4F, -2F, -2F, 4, 22, 4);
    rightarm.setRotationPoint(-8F, -5F, 0F);
    setRotation(rightarm, 0F, 0F, 0F);
    leftleg = new ModelRenderer(this, 16, 26);
    leftleg.mirror = true;
    leftleg.addBox(-2F, 0F, -3F, 4, 16, 6);
    leftleg.setRotationPoint(4F, 8F, 0F);
    setRotation(leftleg, 0F, 0F, 0F);
    rightleg = new ModelRenderer(this, 16, 26);
    rightleg.mirror = false;
    rightleg.addBox(-2F, 0F, -3F, 4, 16, 6);
    rightleg.setRotationPoint(-4F, 8F, 0F);
    setRotation(rightleg, 0F, 0F, 0F);
    neckplate = new ModelRenderer(this, 8, 48);
    neckplate.addBox(-4F, -1F, -4F, 8, 1, 8);
    neckplate.setRotationPoint(0F, -8F, 0F);
    setRotation(neckplate, 0F, 0F, 0F);
    head = new ModelRenderer(this, 36, 26);
    head.addBox(-3F, -6F, -3F, 6, 6, 6);
    head.setRotationPoint(0F, -9F, 0F);
    setRotation(head, 0F, 0F, 0F);
    crystal = new ModelRenderer(this, 36, 38);
    crystal.addBox(-1F, -8F, -1F, 2, 2, 2);
    crystal.setRotationPoint(0F, -9F, 0F);
    setRotation(crystal, 0F, 0F, 0F);
    eyeleft = new ModelRenderer(this, 36, 42);
    eyeleft.addBox(1F, -4F, -4F, 2, 2, 1);
    eyeleft.setRotationPoint(0F, -9F, 0F);
    setRotation(eyeleft, 0F, 0F, 0F);
    eyeright = new ModelRenderer(this, 36, 42);
    eyeright.addBox(-3F, -4F, -4F, 2, 2, 1);
    eyeright.setRotationPoint(0F, -9F, 0F);
    setRotation(eyeright, 0F, 0F, 0F);
  }
 public ModelTFHydraMortar() {
   textureWidth = 32;
   textureHeight = 32;
   box = new ModelRenderer(this, 0, 0);
   box.addBox(-4F, 0F, -4F, 8, 8, 8, 0F);
   box.setRotationPoint(0F, 0F, 0F);
 }
예제 #19
0
  public ModelDildo() {
    textureWidth = 128;
    textureHeight = 64;

    Base1 = new ModelRenderer(this, 0, 0);
    Base1.addBox(0F, 0F, 0F, 16, 9, 16);
    Base1.setRotationPoint(-8F, 17F, -8F);
    Base1.setTextureSize(128, 64);
    Base1.mirror = mirror;
    setRotation(Base1, 0.0872665F, 0F, 0F);
    Base2 = new ModelRenderer(this, 0, 0);
    Base2.addBox(0F, 0F, 0F, 12, 8, 12);
    Base2.setRotationPoint(-6F, 10F, -6F);
    Base2.setTextureSize(128, 64);
    Base2.mirror = mirror;
    setRotation(Base2, 0.0872665F, 0F, 0F);
    Base3 = new ModelRenderer(this, 0, 0);
    Base3.addBox(0F, 0F, 0F, 8, 9, 8);
    Base3.setRotationPoint(-4F, 2F, -5F);
    Base3.setTextureSize(128, 64);
    Base3.mirror = mirror;
    setRotation(Base3, 0.1047198F, 0F, 0F);
    Base4 = new ModelRenderer(this, 0, 0);
    Base4.addBox(0F, 0F, 0F, 6, 10, 6);
    Base4.setRotationPoint(-3F, -7F, -5F);
    Base4.setTextureSize(128, 64);
    Base4.mirror = mirror;
    setRotation(Base4, 0.1396263F, 0F, 0F);
    Base5 = new ModelRenderer(this, 0, 0);
    Base5.addBox(0F, -1F, 0F, 4, 12, 4);
    Base5.setRotationPoint(-2F, -17F, -5.5F);
    Base5.setTextureSize(128, 64);
    Base5.mirror = mirror;
    setRotation(Base5, 0.1396263F, 0F, 0F);
    Dickehead6 = new ModelRenderer(this, 0, 24);
    Dickehead6.addBox(0F, 0F, 0F, 2, 11, 2);
    Dickehead6.setRotationPoint(-1F, -28F, -6.666667F);
    Dickehead6.setTextureSize(128, 64);
    Dickehead6.setTextureOffset(0, 24);
    Dickehead6.mirror = mirror;
    setRotation(Dickehead6, 0.1919862F, 0F, 0F);
    Ball1 = new ModelRenderer(this, 0, 38);
    Ball1.addBox(0F, 0F, 0F, 14, 12, 14);
    Ball1.setRotationPoint(-19F, 9F, -7F);
    Ball1.setTextureSize(128, 64);
    Ball1.setTextureOffset(0, 38);
    Ball1.mirror = mirror;
    setRotation(Ball1, 0.0872665F, 0F, 0.1745329F);
    Ball2 = new ModelRenderer(this, 0, 38);
    Ball2.addBox(0F, 0F, 0F, 14, 12, 14);
    Ball2.setRotationPoint(5F, 12F, -7F);
    Ball2.setTextureSize(128, 64);
    Ball2.setTextureOffset(0, 38);
    Ball2.mirror = mirror;
    setRotation(Ball2, 0.0872665F, 0F, -0.1745329F);
  }
예제 #20
0
  public ModelPigTFC(float par1) {
    super(par1);
    tusk1 = new ModelRenderer(this, 32, 0);
    tusk1.addBox(0F, 0F, 0F, 1, 2, 1, 0F);
    tusk1.setRotationPoint(-3f, 0.5f, -9f);
    tusk1.rotateAngleX = (float) Math.PI / 12;

    tusk2 = new ModelRenderer(this, 32, 0);
    tusk2.addBox(0F, 0F, 0F, 1, 2, 1, 0F);
    tusk2.setRotationPoint(2f, 0.5f, -9f);
    tusk2.rotateAngleX = (float) Math.PI / 12;

    snout = new ModelRenderer(this, 0, 26);
    snout.addBox(-2.0F, 0.0F, -10.0F, 4, 3, 3, par1);
    snout.addChild(tusk1);
    snout.addChild(tusk2);
    this.head.addChild(snout);
  }
예제 #21
0
  public DemoModelBoss() {
    textureWidth = 68;
    textureHeight = 74;

    head = new ModelRenderer(this, 17, 0);
    head.addBox(-4F, -8F, -4F, 8, 8, 8);
    head.setRotationPoint(0F, 0F, 0F);
    head.setTextureSize(68, 74);
    head.mirror = true;
    setRotation(head, 0F, 0F, 0F);
    body = new ModelRenderer(this, 21, 18);
    body.addBox(-4F, 0F, -2F, 8, 12, 4);
    body.setRotationPoint(0F, 0F, 0F);
    body.setTextureSize(68, 74);
    body.mirror = true;
    setRotation(body, 0F, 0F, 0F);
    rightarm = new ModelRenderer(this, 3, 18);
    rightarm.addBox(-3F, -2F, -2F, 4, 12, 4);
    rightarm.setRotationPoint(-5F, 2F, 0F);
    rightarm.setTextureSize(68, 74);
    rightarm.mirror = true;
    setRotation(rightarm, -0.4833219F, 0F, 1.301251F);
    leftarm = new ModelRenderer(this, 47, 18);
    leftarm.addBox(-1F, -2F, -2F, 4, 12, 4);
    leftarm.setRotationPoint(5F, 2F, 0F);
    leftarm.setTextureSize(68, 74);
    leftarm.mirror = true;
    setRotation(leftarm, -0.4833219F, 0F, -1.301251F);
    rightleg = new ModelRenderer(this, 17, 54);
    rightleg.addBox(-2F, 0F, -2F, 4, 12, 4);
    rightleg.setRotationPoint(-2F, 12F, 0F);
    rightleg.setTextureSize(68, 74);
    rightleg.mirror = true;
    setRotation(rightleg, 0F, 0F, 0F);
    leftleg = new ModelRenderer(this, 36, 54);
    leftleg.addBox(-2F, 0F, -2F, 4, 12, 4);
    leftleg.setRotationPoint(2F, 12F, 0F);
    leftleg.setTextureSize(68, 74);
    leftleg.mirror = true;
    setRotation(leftleg, 0F, 0F, 0F);
    leftarm2 = new ModelRenderer(this, 47, 36);
    leftarm2.addBox(0F, 0F, 0F, 4, 10, 4);
    leftarm2.setRotationPoint(3F, 8F, -1F);
    leftarm2.setTextureSize(68, 74);
    leftarm2.mirror = true;
    setRotation(leftarm2, -0.4833219F, 0F, -1.301251F);
    rightarm2 = new ModelRenderer(this, 3, 36);
    rightarm2.addBox(0F, 0F, 0F, 4, 10, 4);
    rightarm2.setRotationPoint(-4F, 4F, -1F);
    rightarm2.setTextureSize(68, 74);
    rightarm2.mirror = true;
    setRotation(rightarm2, -0.4833219F, 0F, 1.301251F);
  }
예제 #22
0
  public ModelFairy() {
    textureWidth = 64;
    textureHeight = 32;

    body = new ModelRenderer(this, 0, 0);
    body.addBox(0F, 0F, 0F, 10, 10, 10);
    body.setRotationPoint(-5F, 14F, -5F);
    body.setTextureSize(64, 32);
    body.mirror = true;
    setRotation(body, 0F, 0F, 0F);
  }
  public ModelHorisontalPlateGraveStone() {
    textureWidth = 64;
    textureHeight = 32;

    Plate = new ModelRenderer(this, 0, 0);
    Plate.addBox(0F, 0F, 0F, 12, 1, 14);
    Plate.setRotationPoint(-6F, 23F, -7F);
    Plate.setTextureSize(64, 32);
    Plate.mirror = true;
    setRotation(Plate, 0F, 0F, 0F);
  }
  public ModelArcaneGuardianSpellBook() {
    textureWidth = 128;
    textureHeight = 128;

    Book = new ModelRenderer(this, 91, 120);
    Book.addBox(-2F, -3F, -1F, 4, 6, 2);
    Book.setRotationPoint(0F, 0F, 0F);
    Book.setTextureSize(128, 128);
    Book.mirror = true;
    setRotation(Book, 0F, 0F, 0F);
  }
  public DSModelPlasmaCutterProjectile() {
    textureWidth = 64;
    textureHeight = 32;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 3, 1, 1);
    Shape1.setRotationPoint(0F, 0F, 0F);
    Shape1.setTextureSize(64, 32);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
  }
예제 #26
0
파일: tutarm.java 프로젝트: StefanFox/mods
  public tutarm(float f) {
    super(f, 0, 64, 64);
    textureWidth = 64;
    textureHeight = 64;

    Shape1 = new ModelRenderer(this, 0, 32);
    Shape1.addBox(-1F, -3F, -2.5F, 5, 5, 5);
    Shape1.setRotationPoint(0F, 0F, 0F);
    Shape1.setTextureSize(64, 64);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 20, 32);
    Shape2.addBox(-4F, -3F, -2.5F, 5, 5, 5);
    Shape2.setRotationPoint(0F, 0F, 0F);
    Shape2.setTextureSize(64, 64);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape4 = new ModelRenderer(this, 4, 42);
    Shape4.addBox(-2F, 1F, -3F, 4, 9, 1);
    Shape4.setRotationPoint(0F, 0F, 0F);
    Shape4.setTextureSize(64, 64);
    Shape4.mirror = true;
    setRotation(Shape4, 0F, 0F, 0F);
    Shape5 = new ModelRenderer(this, 14, 42);
    Shape5.addBox(-4F, 4F, -2.7F, 8, 2, 1);
    Shape5.setRotationPoint(0F, 0F, 0F);
    Shape5.setTextureSize(64, 64);
    Shape5.mirror = true;
    setRotation(Shape5, 0F, 0F, 0F);
    Shape6 = new ModelRenderer(this, 47, 32);
    Shape6.addBox(-1F, 0F, -3F, 2, 9, 1);
    Shape6.setRotationPoint(0F, 0F, 0F);
    Shape6.setTextureSize(64, 64);
    Shape6.mirror = true;
    setRotation(Shape6, 0F, 0F, 0F);
    Shape7 = new ModelRenderer(this, 41, 32);
    Shape7.addBox(-1F, 0F, -3F, 2, 9, 1);
    Shape7.setRotationPoint(0F, 0F, 0F);
    Shape7.setTextureSize(64, 64);
    Shape7.mirror = true;
    setRotation(Shape7, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 0, 42);
    Shape3.addBox(4F, -12F, 3F, 1, 7, 1);
    Shape3.setRotationPoint(0F, 0F, 0F);
    Shape3.setTextureSize(64, 64);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0F);

    this.bipedHead.addChild(Shape3);
    this.bipedLeftArm.addChild(Shape1);
    this.bipedRightArm.addChild(Shape2);
    this.bipedLeftLeg.addChild(Shape6);
    this.bipedLeftLeg.addChild(Shape7);
    this.bipedBody.addChild(Shape4);
    this.bipedBody.addChild(Shape5);
  }
  public ModelFlumeOpen() {
    textureWidth = 64;
    textureHeight = 32;

    bottom = new ModelRenderer(this, 0, 0);
    bottom.addBox(0F, 0F, 0F, 16, 1, 10);
    bottom.setRotationPoint(-8F, 23F, -5F);
    bottom.setTextureSize(64, 32);
    bottom.mirror = true;
    setRotation(bottom, 0F, 0F, 0F);
    side1 = new ModelRenderer(this, 0, 0);
    side1.addBox(0F, 0F, 0F, 16, 7, 1);
    side1.setRotationPoint(-8F, 17F, -6F);
    side1.setTextureSize(64, 32);
    side1.mirror = true;
    setRotation(side1, 0F, 0F, 0F);
    side2 = new ModelRenderer(this, 0, 0);
    side2.addBox(0F, 0F, 0F, 16, 7, 1);
    side2.setRotationPoint(-8F, 17F, 5F);
    side2.setTextureSize(64, 32);
    side2.mirror = true;
    setRotation(side2, 0F, 0F, 0F);
  }
예제 #28
0
파일: arrow.java 프로젝트: rich1051414/mods
  public arrow() {
    textureWidth = 32;
    textureHeight = 10;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(-8F, -5F, 0F, 16, 5, 0);
    Shape1.setRotationPoint(0F, 0F, 0F);
    Shape1.setTextureSize(32, 10);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0.2094395F);
    Shape2 = new ModelRenderer(this, 0, 0);
    Shape2.addBox(-7.4F, -2.5F, 0.5F, 16, 5, 0);
    Shape2.setRotationPoint(0F, -3F, 0F);
    Shape2.setTextureSize(32, 10);
    Shape2.mirror = true;
    setRotation(Shape2, -1.570796F, 0F, 0.2094395F);
    Shape3 = new ModelRenderer(this, 0, 0);
    Shape3.addBox(-8F, -5F, -2.5F, 0, 5, 5);
    Shape3.setRotationPoint(0F, 0F, 0F);
    Shape3.setTextureSize(32, 10);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0.2094395F);
  }
  public ModelBullet() {
    textureWidth = 32;
    textureHeight = 32;

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(-1.5F, -1.5F, 2F, 3, 3, 6);
    Shape1.setRotationPoint(0F, 0F, 0F);
    Shape1.setTextureSize(32, 32);
    Shape1.mirror = true;
    setRotation(Shape1, 0F, 0F, 0F);
    Shape2 = new ModelRenderer(this, 19, 6);
    Shape2.addBox(-1F, -1F, 1F, 2, 2, 1);
    Shape2.setRotationPoint(0F, 0F, 0F);
    Shape2.setTextureSize(32, 32);
    Shape2.mirror = true;
    setRotation(Shape2, 0F, 0F, 0F);
    Shape3 = new ModelRenderer(this, 0, 10);
    Shape3.addBox(-0.5F, -0.5F, 0F, 1, 1, 1);
    Shape3.setRotationPoint(0F, 0F, 0F);
    Shape3.setTextureSize(32, 32);
    Shape3.mirror = true;
    setRotation(Shape3, 0F, 0F, 0F);
  }
예제 #30
0
 public ModelWorker() {
   bod = new ModelRenderer(this, 10, 0);
   bod.addBox(-2F, -4F, -2F, 4, 8, 4, 0F);
   bod.setRotationPoint(0F, 14F, 0F);
   bod.rotateAngleX = 0.3839724F;
   bod.rotateAngleY = 0F;
   bod.rotateAngleZ = 0F;
   bod.mirror = false;
   leg1 = new ModelRenderer(this, 33, 21);
   leg1.addBox(0F, 0F, -1F, 3, 8, 3, 0F);
   leg1.setRotationPoint(2F, 16F, 0F);
   leg1.rotateAngleX = 0F;
   leg1.rotateAngleY = 0F;
   leg1.rotateAngleZ = 0F;
   leg1.mirror = false;
   leg2 = new ModelRenderer(this, 33, 21);
   leg2.addBox(-3F, 0F, -1F, 3, 8, 3, 0F);
   leg2.setRotationPoint(-2F, 16F, 0F);
   leg2.rotateAngleX = 0F;
   leg2.rotateAngleY = 0F;
   leg2.rotateAngleZ = 0F;
   leg2.mirror = false;
   head = new ModelRenderer(this, 7, 20);
   head.addBox(-2.5F, -5F, -4F, 5, 5, 7, 0F);
   head.setRotationPoint(0F, 12F, -2F);
   head.rotateAngleX = 0F;
   head.rotateAngleY = 0F;
   head.rotateAngleZ = 0F;
   head.mirror = false;
   light = new ModelRenderer(this, 28, 0);
   light.addBox(-1.5F, -6F, -1.5F, 3, 5, 3, 0F);
   light.setRotationPoint(0F, 12F, -2F);
   light.rotateAngleX = 0F;
   light.rotateAngleY = 0F;
   light.rotateAngleZ = 0F;
   light.mirror = false;
 }