Package net.minecraft.client.model

Examples of net.minecraft.client.model.ModelRenderer


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

    Engine = new ModelRenderer(this, 0, 32);
    Engine.addBox(-7.5F, 0F, -7.5F, 15, 4, 15);
    Engine.setRotationPoint(0F, 12F, 0F);
    Engine.setTextureSize(256, 256);
    Engine.mirror = true;
    setRotation(Engine, 0F, 0F, 0F);

    Chamber1 = new ModelRenderer(this, 0, 76);
    Chamber1.mirror = true;
    Chamber1.addBox(0F, -9F, -8F, 8, 9, 16);
    Chamber1.setRotationPoint(8F, 13F, 0F);
    Chamber1.setTextureSize(256, 256);
    Chamber1.mirror = true;
    setRotation(Chamber1, 0F, 0F, -1.466077F);
    Chamber1.mirror = false;
   
   
    Chamber2 = new ModelRenderer(this, 0, 52);
    Chamber2.mirror = true;
    Chamber2.addBox(0F, -8F, -8F, 9, 8, 16);
    Chamber2.setRotationPoint(-8F, 13F, 0F);
    Chamber2.setTextureSize(256, 256);
    Chamber2.mirror = true;
    setRotation(Chamber2, 0F, 0F, -0.122173F);
    Chamber2.mirror = false;
   
    Tesla1 = new ModelRenderer(this, 34, 52);
    Tesla1.addBox(-1F, -4F, -1F, 2, 5, 2);
    Tesla1.setRotationPoint(5F, 4F, 5F);
    Tesla1.setTextureSize(256, 256);
    Tesla1.mirror = true;
    setRotation(Tesla1, 0F, 0F, 0.1570796F);
   
    Tesla2 = new ModelRenderer(this, 34, 52);
    Tesla2.addBox(-1F, -4F, -1F, 2, 5, 2);
    Tesla2.setRotationPoint(5F, 4F, -5F);
    Tesla2.setTextureSize(256, 256);
    Tesla2.mirror = true;
    setRotation(Tesla2, 0F, 0F, 0.1570796F);
   
    Tesla3 = new ModelRenderer(this, 34, 52);
    Tesla3.addBox(-1F, -4F, -1F, 2, 5, 2);
    Tesla3.setRotationPoint(5F, 4F, 0F);
    Tesla3.setTextureSize(256, 256);
    Tesla3.mirror = true;
    setRotation(Tesla3, 0F, 0F, 0.1570796F);
    Tesla4 = new ModelRenderer(this, 34, 52);
    Tesla4.addBox(-1F, -4F, -1F, 2, 5, 2);
    Tesla4.setRotationPoint(-5F, 4F, -5F);
    Tesla4.setTextureSize(256, 256);
    Tesla4.mirror = true;
    setRotation(Tesla4, 0F, 0F, -0.1570796F);
    Tesla5 = new ModelRenderer(this, 34, 52);
    Tesla5.addBox(-1F, -4F, -1F, 2, 5, 2);
    Tesla5.setRotationPoint(-5F, 4F, 5F);
    Tesla5.setTextureSize(256, 256);
    Tesla5.mirror = true;
    setRotation(Tesla5, 0F, 0F, -0.1570796F);
    Tesla6 = new ModelRenderer(this, 34, 52);
    Tesla6.addBox(-1F, -4F, -1F, 2, 5, 2);
    Tesla6.setRotationPoint(-5F, 4F, 0F);
    Tesla6.setTextureSize(256, 256);
    Tesla6.mirror = true;
    setRotation(Tesla6, 0F, 0F, -0.1570796F);
    Base = new ModelRenderer(this, 0, 0);
    Base.addBox(-8F, -4F, -8F, 16, 4, 15);
    Base.setRotationPoint(0F, 24F, 1F);
    Base.setTextureSize(256, 256);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);
   
    Base6 = new ModelRenderer(this, 48, 4);
    Base6.mirror = true;
    Base6.addBox(-1F, -2F, -1F, 1, 2, 1);
    Base6.setRotationPoint(2F, 23F, -7F);
    Base6.setTextureSize(256, 256);
    Base6.mirror = true;
    setRotation(Base6, 0F, 0F, 0F);
    Base6.mirror = false;
   
   
    Base5 = new ModelRenderer(this, 48, 4);
    Base5.mirror = true;
    Base5.addBox(-1F, -2F, -1F, 1, 2, 1);
    Base5.setRotationPoint(-1F, 23F, -7F);
    Base5.setTextureSize(256, 256);
    Base5.mirror = true;
    setRotation(Base5, 0F, 0F, 0F);
    Base5.mirror = false;
   
    Base1 = new ModelRenderer(this, 0, 0);
    Base1.addBox(-2F, -4F, -1F, 4, 4, 1);
    Base1.setRotationPoint(-6F, 24F, -7F);
    Base1.setTextureSize(256, 256);
    Base1.mirror = true;
    setRotation(Base1, 0F, 0F, 0F);
   
    Base4 = new ModelRenderer(this, 48, 0);
    Base4.mirror = true;
    Base4.addBox(-4F, -1F, -1F, 8, 1, 1);
    Base4.setRotationPoint(0F, 24F, -7F);
    Base4.setTextureSize(256, 256);
    Base4.mirror = true;
    setRotation(Base4, 0F, 0F, 0F);
    Base4.mirror = false;
   
    Base2 = new ModelRenderer(this, 0, 0);
    Base2.addBox(-2F, -4F, -1F, 4, 4, 1);
    Base2.setRotationPoint(6F, 24F, -7F);
    Base2.setTextureSize(256, 256);
    Base2.mirror = true;
    setRotation(Base2, 0F, 0F, 0F);
   
    Base3 = new ModelRenderer(this, 48, 0);
    Base3.mirror = true;
    Base3.addBox(-4F, -1F, -1F, 8, 1, 1);
    Base3.setRotationPoint(0F, 21F, -7F);
    Base3.setTextureSize(256, 256);
    Base3.mirror = true;
    setRotation(Base3, 0F, 0F, 0F);
    Base3.mirror = false;
   
    Support1 = new ModelRenderer(this, 0, 5);
    Support1.addBox(-1F, -4F, -1F, 2, 4, 2);
    Support1.setRotationPoint(-7F, 20F, -7F);
    Support1.setTextureSize(256, 256);
    Support1.mirror = true;
    setRotation(Support1, 0F, 0F, 0F);
   
    Chimney4 = new ModelRenderer(this, 25, 20);
    Chimney4.mirror = true;
    Chimney4.addBox(-3F, -4F, -1F, 6, 4, 1);
    Chimney4.setRotationPoint(-4F, 20F, 0F);
    Chimney4.setTextureSize(256, 256);
    Chimney4.mirror = true;
    setRotation(Chimney4, 0F, 1.570796F, 0F);   
    Chimney4.mirror = false;
   
    Support2 = new ModelRenderer(this, 0, 5);
    Support2.addBox(-1F, -4F, -1F, 2, 4, 2);
    Support2.setRotationPoint(7F, 20F, -7F);
    Support2.setTextureSize(256, 256);
    Support2.mirror = true;
    setRotation(Support2, 0F, 0F, 0F);
   
    Chimney3 = new ModelRenderer(this, 25, 20);
    Chimney3.mirror = true;
    Chimney3.addBox(-3F, -4F, 0F, 6, 4, 1);
    Chimney3.setRotationPoint(4F, 20F, 0F);
    Chimney3.setTextureSize(256, 256);
    Chimney3.mirror = true;
    setRotation(Chimney3, 0F, 1.570796F, 0F);
    Chimney3.mirror = false;
   
    Support3 = new ModelRenderer(this, 0, 5);
    Support3.addBox(-1F, -4F, -1F, 2, 4, 2);
    Support3.setRotationPoint(-7F, 20F, 7F);
    Support3.setTextureSize(256, 256);
    Support3.mirror = true;
    setRotation(Support3, 0F, 0F, 0F);
   
    Chimney2 = new ModelRenderer(this, 25, 20);
    Chimney2.addBox(-3F, -4F, 0F, 6, 4, 1);
    Chimney2.setRotationPoint(0F, 20F, 4F);
    Chimney2.setTextureSize(256, 256);
    Chimney2.mirror = true;
    setRotation(Chimney2, 0F, 0F, 0F);
   
    Support4 = new ModelRenderer(this, 0, 5);
    Support4.addBox(-1F, -4F, -1F, 2, 4, 2);
    Support4.setRotationPoint(7F, 20F, 7F);
    Support4.setTextureSize(256, 256);
    Support4.mirror = true;
    setRotation(Support4, 0F, 0F, 0F);
   
    Chimney1 = new ModelRenderer(this, 25, 20);
    Chimney1.addBox(-3F, -4F, -1F, 6, 4, 1);
    Chimney1.setRotationPoint(0F, 20F, -4F);
    Chimney1.setTextureSize(256, 256);
    Chimney1.mirror = true;
    setRotation(Chimney1, 0F, 0F, 0F);
   
    Chimney = new ModelRenderer(this, 0, 20);
    Chimney.addBox(-4F, -4F, -4F, 8, 4, 8);
    Chimney.setRotationPoint(0F, 20F, 0F);
    Chimney.setTextureSize(256, 256);
    Chimney.mirror = true;
    setRotation(Chimney, 0F, 0F, 0F);
View Full Code Here


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

    top = new ModelRenderer(this, 0, 0);
    top.addBox(-8F, -4F, -8F, 16, 2, 16);
    top.setRotationPoint(0F, 16F, 0F);
    top.setTextureSize(128, 64);
    top.mirror = true;
    setRotation(top, 0F, 0F, 0F);
    axle = new ModelRenderer(this, 16, 26);
    axle.addBox(-1F, -2F, -1F, 2, 8, 2);
    axle.setRotationPoint(0F, 16F, 0F);
    axle.setTextureSize(128, 64);
    axle.mirror = true;
    setRotation(axle, 0F, 0F, 0F);
    bottom = new ModelRenderer(this, 0, 44);
    bottom.addBox(-8F, 6F, -8F, 16, 2, 16);
    bottom.setRotationPoint(0F, 16F, 0F);
    bottom.setTextureSize(128, 64);
    bottom.mirror = true;
    setRotation(bottom, 0F, 0F, 0F);
    thingfront = new ModelRenderer(this, 0, 20);
    thingfront.addBox(-2F, -2F, -7F, 4, 8, 4);
    thingfront.setRotationPoint(0F, 16F, 0F);
    thingfront.setTextureSize(128, 64);
    thingfront.mirror = true;
    setRotation(thingfront, 0F, 0F, 0F);
    thingback = new ModelRenderer(this, 0, 20);
    thingback.addBox(-2F, -2F, 3F, 4, 8, 4);
    thingback.setRotationPoint(0F, 16F, 0F);
    thingback.setTextureSize(128, 64);
    thingback.mirror = true;
    setRotation(thingback, 0F, 0F, 0F);
    thingright = new ModelRenderer(this, 0, 20);
    thingright.addBox(-6F, -2F, -2F, 4, 8, 4);
    thingright.setRotationPoint(0F, 16F, 0F);
    thingright.setTextureSize(128, 64);
    thingright.mirror = true;
    setRotation(thingright, 0F, 0F, 0F);
    thingleft = new ModelRenderer(this, 0, 20);
    thingleft.addBox(2F, -2F, -2F, 4, 8, 4);
    thingleft.setRotationPoint(0F, 16F, 0F);
    thingleft.setTextureSize(128, 64);
    thingleft.mirror = true;
    setRotation(thingleft, 0F, 0F, 0F);
    attacherbig1 = new ModelRenderer(this, 16, 20);
    attacherbig1.addBox(-7F, -1F, -3F, 14, 1, 6);
    attacherbig1.setRotationPoint(0F, 16F, 0F);
    attacherbig1.setTextureSize(128, 64);
    attacherbig1.mirror = true;
    setRotation(attacherbig1, 0F, 0F, 0F);
    attacherbig2 = new ModelRenderer(this, 16, 20);
    attacherbig2.addBox(-7F, 4F, -3F, 14, 1, 6);
    attacherbig2.setRotationPoint(0F, 16F, 0F);
    attacherbig2.setTextureSize(128, 64);
    attacherbig2.mirror = true;
    setRotation(attacherbig2, 0F, 0F, 0F);
    attachersmall3 = new ModelRenderer(this, 16, 36);
    attachersmall3.addBox(-3F, -1F, -8F, 6, 1, 5);
    attachersmall3.setRotationPoint(0F, 16F, 0F);
    attachersmall3.setTextureSize(128, 64);
    attachersmall3.mirror = true;
    setRotation(attachersmall3, 0F, 0F, 0F);
    attachersmall4 = new ModelRenderer(this, 16, 36);
    attachersmall4.addBox(-3F, 4F, -8F, 6, 1, 5);
    attachersmall4.setRotationPoint(0F, 16F, 0F);
    attachersmall4.setTextureSize(128, 64);
    attachersmall4.mirror = true;
    setRotation(attachersmall4, 0F, 0F, 0F);
    attachersmall2 = new ModelRenderer(this, 16, 36);
    attachersmall2.addBox(-3F, 4F, 3F, 6, 1, 5);
    attachersmall2.setRotationPoint(0F, 16F, 0F);
    attachersmall2.setTextureSize(128, 64);
    attachersmall2.mirror = true;
    setRotation(attachersmall2, 0F, 0F, 0F);
    attachersmall_1 = new ModelRenderer(this, 16, 36);
    attachersmall_1.addBox(-3F, -1F, 3F, 6, 1, 5);
    attachersmall_1.setRotationPoint(0F, 16F, 0F);
    attachersmall_1.setTextureSize(128, 64);
    attachersmall_1.mirror = true;
    setRotation(attachersmall_1, 0F, 0F, 0F);
    corner1 = new ModelRenderer(this, 38, 32);
    corner1.addBox(6F, -2F, -8F, 2, 8, 2);
    corner1.setRotationPoint(0F, 16F, 0F);
    corner1.setTextureSize(128, 64);
    corner1.mirror = true;
    setRotation(corner1, 0F, 0F, 0F);
    corner2 = new ModelRenderer(this, 46, 32);
    corner2.addBox(6F, -2F, 6F, 2, 8, 2);
    corner2.setRotationPoint(0F, 16F, 0F);
    corner2.setTextureSize(128, 64);
    corner2.mirror = true;
    setRotation(corner2, 0F, 0F, 0F);
    corner3 = new ModelRenderer(this, 0, 32);
    corner3.addBox(-8F, -2F, 6F, 2, 8, 2);
    corner3.setRotationPoint(0F, 16F, 0F);
    corner3.setTextureSize(128, 64);
    corner3.mirror = true;
    setRotation(corner3, 0F, 0F, 0F);
    corner4 = new ModelRenderer(this, 8, 32);
    corner4.addBox(-8F, -2F, -8F, 2, 8, 2);
    corner4.setRotationPoint(0F, 16F, 0F);
    corner4.setTextureSize(128, 64);
    corner4.mirror = true;
    setRotation(corner4, 0F, 0F, 0F);
    lense = new ModelRenderer(this, 96, 0);
    lense.addBox(-4F, -5F, -4F, 8, 1, 8);
    lense.setRotationPoint(0F, 16F, 0F);
    lense.setTextureSize(128, 64);
    lense.mirror = true;
    setRotation(lense, 0F, 0F, 0F);
    lensesidefront = new ModelRenderer(this, 64, 5);
    lensesidefront.addBox(-3F, -6F, -5F, 6, 2, 1);
    lensesidefront.setRotationPoint(0F, 16F, 0F);
    lensesidefront.setTextureSize(128, 64);
    lensesidefront.mirror = true;
    setRotation(lensesidefront, 0F, 0F, 0F);
    lensesideback = new ModelRenderer(this, 64, 5);
    lensesideback.addBox(-3F, -6F, 4F, 6, 2, 1);
    lensesideback.setRotationPoint(0F, 16F, 0F);
    lensesideback.setTextureSize(128, 64);
    lensesideback.mirror = true;
    setRotation(lensesideback, 0F, 0F, 0F);
    lensesideright = new ModelRenderer(this, 64, 8);
    lensesideright.addBox(-5F, -6F, -3F, 1, 2, 6);
    lensesideright.setRotationPoint(0F, 16F, 0F);
    lensesideright.setTextureSize(128, 64);
    lensesideright.mirror = true;
    setRotation(lensesideright, 0F, 0F, 0F);
    lensesideleft = new ModelRenderer(this, 64, 8);
    lensesideleft.addBox(4F, -6F, -3F, 1, 2, 6);
    lensesideleft.setRotationPoint(0F, 16F, 0F);
    lensesideleft.setTextureSize(128, 64);
    lensesideleft.mirror = true;
    setRotation(lensesideleft, 0F, 0F, 0F);
    lensecorner1 = new ModelRenderer(this, 64, 16);
    lensecorner1.addBox(3F, -6F, -4F, 1, 2, 1);
    lensecorner1.setRotationPoint(0F, 16F, 0F);
    lensecorner1.setTextureSize(128, 64);
    lensecorner1.mirror = true;
    setRotation(lensecorner1, 0F, 0F, 0F);
    lensecorner2 = new ModelRenderer(this, 64, 16);
    lensecorner2.addBox(3F, -6F, 3F, 1, 2, 1);
    lensecorner2.setRotationPoint(0F, 16F, 0F);
    lensecorner2.setTextureSize(128, 64);
    lensecorner2.mirror = true;
    setRotation(lensecorner2, 0F, 0F, 0F);
    lensecorner3 = new ModelRenderer(this, 64, 16);
    lensecorner3.addBox(-4F, -6F, 3F, 1, 2, 1);
    lensecorner3.setRotationPoint(0F, 16F, 0F);
    lensecorner3.setTextureSize(128, 64);
    lensecorner3.mirror = true;
    setRotation(lensecorner3, 0F, 0F, 0F);
    lensecorner4 = new ModelRenderer(this, 64, 16);
    lensecorner4.addBox(-4F, -6F, -4F, 1, 2, 1);
    lensecorner4.setRotationPoint(0F, 16F, 0F);
    lensecorner4.setTextureSize(128, 64);
    lensecorner4.mirror = true;
    setRotation(lensecorner4, 0F, 0F, 0F);
View Full Code Here

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

    corner1 = new ModelRenderer(this, 52, 0);
    corner1.addBox(3F, 16F, 3F, 3, 6, 3);
    corner1.setRotationPoint(0F, 0F, 0F);
    corner1.setTextureSize(64, 32);
    corner1.mirror = true;
    setRotation(corner1, 0F, 0F, 0F);
    corner2 = new ModelRenderer(this, 52, 0);
    corner2.addBox(-6F, 16F, 3F, 3, 6, 3);
    corner2.setRotationPoint(0F, 0F, 0F);
    corner2.setTextureSize(64, 32);
    corner2.mirror = true;
    setRotation(corner2, 0F, 0F, 0F);
    corner3 = new ModelRenderer(this, 52, 0);
    corner3.addBox(-6F, 16F, -6F, 3, 6, 3);
    corner3.setRotationPoint(0F, 0F, 0F);
    corner3.setTextureSize(64, 32);
    corner3.mirror = true;
    setRotation(corner3, 0F, 0F, 0F);
    corner4 = new ModelRenderer(this, 52, 0);
    corner4.addBox(3F, 16F, -6F, 3, 6, 3);
    corner4.setRotationPoint(0F, 0F, 0F);
    corner4.setTextureSize(64, 32);
    corner4.mirror = true;
    setRotation(corner4, 0F, 0F, 0F);
    Bout = new ModelRenderer(this, 24, 19);
    Bout.addBox(-2F, 21F, -2F, 4, 1, 4);
    Bout.setRotationPoint(0F, 0F, 0F);
    Bout.setTextureSize(64, 32);
    Bout.mirror = true;
    setRotation(Bout, 0F, 0F, 0F);
    Baout = new ModelRenderer(this, 24, 14);
    Baout.addBox(-2F, 14F, 3F, 4, 4, 1);
    Baout.setRotationPoint(0F, 2F, 0F);
    Baout.setTextureSize(64, 32);
    Baout.mirror = true;
    setRotation(Baout, 0F, 0F, 0F);
    Fout = new ModelRenderer(this, 24, 14);
    Fout.addBox(-2F, 14F, -4F, 4, 4, 1);
    Fout.setRotationPoint(0F, 2F, 0F);
    Fout.setTextureSize(64, 32);
    Fout.mirror = true;
    setRotation(Fout, 0F, 0F, 0F);
    Tout = new ModelRenderer(this, 24, 19);
    Tout.addBox(-2F, 14F, -2F, 4, 1, 4);
    Tout.setRotationPoint(0F, 0F, 0F);
    Tout.setTextureSize(64, 32);
    Tout.mirror = true;
    setRotation(Tout, 0F, 0F, 0F);
    Core = new ModelRenderer(this, 0, 14);
    Core.addBox(-3F, 15F, -3F, 6, 6, 6);
    Core.setRotationPoint(0F, 0F, 0F);
    Core.setTextureSize(64, 32);
    Core.mirror = true;
    setRotation(Core, 0F, 0F, 0F);
    Movingthingright = new ModelRenderer(this, 46, 23);
    Movingthingright.addBox(-3F, -1F, -3F, 3, 3, 6);
    Movingthingright.setRotationPoint(-3F, 20F, 0F);
    Movingthingright.setTextureSize(64, 32);
    Movingthingright.mirror = true;
    setRotation(Movingthingright, 0F, 0F, 0F);
    Movingthingleft = new ModelRenderer(this, 46, 23);
    Movingthingleft.addBox(0F, -1F, -3F, 3, 3, 6);
    Movingthingleft.setRotationPoint(3F, 20F, 0F);
    Movingthingleft.setTextureSize(64, 32);
    Movingthingleft.mirror = true;
    setRotation(Movingthingleft, 0F, 0F, 0F);
    bottom = new ModelRenderer(this, 0, 0);
    bottom.addBox(-6F, 22F, -6F, 12, 2, 12);
    bottom.setRotationPoint(0F, 0F, 0F);
    bottom.setTextureSize(64, 32);
    bottom.mirror = true;
    setRotation(bottom, 0F, 0F, 0F);
View Full Code Here

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

    corner1 = new ModelRenderer(this, 52, 0);
    corner1.addBox(3F, 14F, 3F, 3, 8, 3);
    corner1.setRotationPoint(0F, 0F, 0F);
    corner1.setTextureSize(64, 32);
    corner1.mirror = true;
    setRotation(corner1, 0F, 0F, 0F);
    bottom = new ModelRenderer(this, 0, 0);
    bottom.addBox(-6F, 22F, -6F, 12, 2, 12);
    bottom.setRotationPoint(0F, 0F, 0F);
    bottom.setTextureSize(64, 32);
    bottom.mirror = true;
    setRotation(bottom, 0F, 0F, 0F);
    top = new ModelRenderer(this, 0, 0);
    top.addBox(-6F, 12F, -6F, 12, 2, 12);
    top.setRotationPoint(0F, 0F, 0F);
    top.setTextureSize(64, 32);
    top.mirror = true;
    setRotation(top, 0F, 0F, 0F);
    Rout = new ModelRenderer(this, 40, 14);
    Rout.addBox(-4F, 14F, -2F, 1, 4, 4);
    Rout.setRotationPoint(0F, 2F, 0F);
    Rout.setTextureSize(64, 32);
    Rout.mirror = true;
    setRotation(Rout, 0F, 0F, 0F);
    corner2 = new ModelRenderer(this, 52, 0);
    corner2.addBox(-6F, 14F, 3F, 3, 8, 3);
    corner2.setRotationPoint(0F, 0F, 0F);
    corner2.setTextureSize(64, 32);
    corner2.mirror = true;
    setRotation(corner2, 0F, 0F, 0F);
    corner3 = new ModelRenderer(this, 52, 0);
    corner3.addBox(-6F, 14F, -6F, 3, 8, 3);
    corner3.setRotationPoint(0F, 0F, 0F);
    corner3.setTextureSize(64, 32);
    corner3.mirror = true;
    setRotation(corner3, 0F, 0F, 0F);
    corner4 = new ModelRenderer(this, 52, 0);
    corner4.addBox(3F, 14F, -6F, 3, 8, 3);
    corner4.setRotationPoint(0F, 0F, 0F);
    corner4.setTextureSize(64, 32);
    corner4.mirror = true;
    setRotation(corner4, 0F, 0F, 0F);
    Bout = new ModelRenderer(this, 24, 19);
    Bout.addBox(-2F, 21F, -2F, 4, 1, 4);
    Bout.setRotationPoint(0F, 0F, 0F);
    Bout.setTextureSize(64, 32);
    Bout.mirror = true;
    setRotation(Bout, 0F, 0F, 0F);
    Baout = new ModelRenderer(this, 24, 14);
    Baout.addBox(-2F, 14F, 3F, 4, 4, 1);
    Baout.setRotationPoint(0F, 2F, 0F);
    Baout.setTextureSize(64, 32);
    Baout.mirror = true;
    setRotation(Baout, 0F, 0F, 0F);
    Fout = new ModelRenderer(this, 24, 14);
    Fout.addBox(-2F, 14F, -4F, 4, 4, 1);
    Fout.setRotationPoint(0F, 2F, 0F);
    Fout.setTextureSize(64, 32);
    Fout.mirror = true;
    setRotation(Fout, 0F, 0F, 0F);
    Lout = new ModelRenderer(this, 40, 14);
    Lout.addBox(3F, 14F, -2F, 1, 4, 4);
    Lout.setRotationPoint(0F, 2F, 0F);
    Lout.setTextureSize(64, 32);
    Lout.mirror = true;
    setRotation(Lout, 0F, 0F, 0F);
    Core = new ModelRenderer(this, 0, 14);
    Core.addBox(-3F, 15F, -3F, 6, 6, 6);
    Core.setRotationPoint(0F, 0F, 0F);
    Core.setTextureSize(64, 32);
    Core.mirror = true;
    setRotation(Core, 0F, 0F, 0F);
    Tout = new ModelRenderer(this, 24, 19);
    Tout.addBox(-2F, 14F, -2F, 4, 1, 4);
    Tout.setRotationPoint(0F, 0F, 0F);
    Tout.setTextureSize(64, 32);
    Tout.mirror = true;
    setRotation(Tout, 0F, 0F, 0F);
View Full Code Here

  public static final ModelTriangle INSTNACE = new ModelTriangle();
  private ModelRenderer cube;

  public ModelTriangle()
  {
    this.cube = new ModelRenderer(this, 0, 0);
    int size = 16;
    // /this.cube.addBox(-size / 8, -size / 2, -size / 2, size / 6, size,
    // size);
    this.cube.addBox(-size / 8, -size / 2, -size / 2, size / 6, size, size);
    this.cube.setTextureSize(112, 70);
View Full Code Here

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

    ElectrodePillar = new ModelRenderer(this, 0, 32);
    ElectrodePillar.addBox(0F, 0F, 0F, 3, 3, 3);
    ElectrodePillar.setRotationPoint(-1.5F, 19F, -1.5F);
    ElectrodePillar.setTextureSize(128, 128);
    ElectrodePillar.mirror = true;
    setRotation(ElectrodePillar, 0F, 0F, 0F);
    ElectrodeBase = new ModelRenderer(this, 0, 39);
    ElectrodeBase.addBox(0F, 0F, 0F, 7, 2, 7);
    ElectrodeBase.setRotationPoint(-3.5F, 21.5F, -3.5F);
    ElectrodeBase.setTextureSize(128, 128);
    ElectrodeBase.mirror = true;
    setRotation(ElectrodeBase, 0F, 0F, 0F);
    ElectrodeNode = new ModelRenderer(this, 0, 49);
    ElectrodeNode.addBox(0F, 0F, 0F, 5, 5, 5);
    ElectrodeNode.setRotationPoint(-2.5F, 15F, -2.5F);
    ElectrodeNode.setTextureSize(128, 128);
    ElectrodeNode.mirror = true;
    setRotation(ElectrodeNode, 0F, 0F, 0F);
    WallBottom = new ModelRenderer(this, 0, 0);
    WallBottom.addBox(0F, 0F, 0F, 16, 1, 16);
    WallBottom.setRotationPoint(-8F, 23F, -8F);
    WallBottom.setTextureSize(128, 128);
    WallBottom.mirror = true;
    setRotation(WallBottom, 0F, 0F, 0F);
    WallFront = new ModelRenderer(this, 65, 0);
    WallFront.addBox(0F, 0F, 0F, 16, 15, 1);
    WallFront.setRotationPoint(-8F, 8F, -8F);
    WallFront.setTextureSize(128, 128);
    WallFront.mirror = true;
    setRotation(WallFront, 0F, 0F, 0F);
    WallBack = new ModelRenderer(this, 65, 17);
    WallBack.addBox(0F, 0F, 0F, 16, 15, 1);
    WallBack.setRotationPoint(-8F, 8F, 7F);
    WallBack.setTextureSize(128, 128);
    WallBack.mirror = true;
    setRotation(WallBack, 0F, 0F, 0F);
    WallLeft = new ModelRenderer(this, 30, 50);
    WallLeft.addBox(0F, 0F, 0F, 1, 15, 14);
    WallLeft.setRotationPoint(-8F, 8F, -7F);
    WallLeft.setTextureSize(128, 128);
    WallLeft.mirror = true;
    setRotation(WallLeft, 0F, 0F, 0F);
    WallRight = new ModelRenderer(this, 30, 19);
    WallRight.addBox(0F, 0F, 0F, 1, 15, 14);
    WallRight.setRotationPoint(7F, 8F, -7F);
    WallRight.setTextureSize(128, 128);
    WallRight.mirror = true;
    setRotation(WallRight, 0F, 0F, 0F);
    WallTop = new ModelRenderer(this, 61, 36);
    WallTop.addBox(0F, 0F, 0F, 14, 1, 14);
    WallTop.setRotationPoint(-7F, 8F, -7F);
    WallTop.setTextureSize(128, 128);
    WallTop.mirror = true;
    setRotation(WallTop, 0F, 0F, 0F);
View Full Code Here

  public static final ModelCube INSTNACE = new ModelCube();
  private ModelRenderer cube;

  public ModelCube()
  {
    this.cube = new ModelRenderer(this, 0, 0);
    int size = 16;
    this.cube.addBox(-size / 2, -size / 2, -size / 2, size, size, size);
    this.cube.setTextureSize(112, 70);
    this.cube.mirror = true;
  }
View Full Code Here

  public static final ModelPlane INSTNACE = new ModelPlane();
  private ModelRenderer cube;

  public ModelPlane()
  {
    this.cube = new ModelRenderer(this, 0, 0);
    int size = 16;
    this.cube.addBox(-size / 8, -size / 2, -size / 2, size / 6, size, size);
    this.cube.setTextureSize(112, 70);
    this.cube.mirror = true;
  }
View Full Code Here

    public ModelRenderer impParts[];

    public ImpModel()
    {
        impParts = new ModelRenderer[6];
        impParts[0] = new ModelRenderer(this, 16, 16);
        impParts[0].addBox(-5F, 0.0F, -18.5F, 10, 5, 9, 0.0F);
        impParts[0].setRotationPoint(0.0F, 0.0F, 0.0F);
        impParts[1] = new ModelRenderer(this, 0, 0);
        impParts[1].addBox(-5F, -6.5F, -4F, 10, 8, 8, 0.0F);
        impParts[1].setRotationPoint(0.0F, 8.0F, 2.0F);
        impParts[2] = new ModelRenderer(this, 0, 16);
        impParts[2].addBox(-2F, 0.0F, -2F, 4, 6, 4, 0.0F);
        impParts[2].setRotationPoint(-3F, 18F, 2.0F);
        impParts[3] = new ModelRenderer(this, 0, 16);
        impParts[3].addBox(-2F, 0.0F, -2F, 4, 6, 4, 0.0F);
        impParts[3].setRotationPoint(3F, 18F, 2.0F);
        impParts[4] = new ModelRenderer(this, 32, 0);
        impParts[4].addBox(-1.5F, 0.0F, 1.0F, 2, 5, 2, 0.0F);
        impParts[4].setRotationPoint(6F, 10F, 0.0F);
        impParts[5] = new ModelRenderer(this, 32, 0);
        impParts[5].addBox(-0.5F, 0.0F, 1.0F, 2, 5, 2, 0.0F);
        impParts[5].setRotationPoint(-6F, 10F, 0.0F);
    }
View Full Code Here

 
  public RedNetCardsModel() {
    textureWidth = 48;
    textureHeight = 24;
   
    Empty = new ModelRenderer(this, 42, 16);
    Empty.addBox(0F, 0F, 0F, 1, 5, 1);
    Empty.setRotationPoint(0F, 0F, 0F);
    Empty.setTextureSize(48, 24);
    setRotation(Empty, 0F, 0F, 0F);
    Lvl2Base = new ModelRenderer(this, 0, 0);
    Lvl2Base.addBox(0F, 0F, 0F, 14, 5, 1);
    Lvl2Base.setRotationPoint(0F, 0F, 0F);
    Lvl2Base.setTextureSize(48, 24);
    setRotation(Lvl2Base, 0F, 0F, 0F);
    Lvl2Fan = new ModelRenderer(this, 30, 0);
    Lvl2Fan.addBox(3F, 1F, 1F, 3, 3, 1);
    Lvl2Fan.setRotationPoint(0F, 0F, 0F);
    Lvl2Fan.setTextureSize(48, 24);
    setRotation(Lvl2Fan, 0F, 0F, 0F);
    Lvl2Bit1 = new ModelRenderer(this, 30, 4);
    Lvl2Bit1.addBox(0F, 0F, 0F, 3, 1, 1);
    Lvl2Bit1.setRotationPoint(9F, 1F, 1F);
    Lvl2Bit1.setTextureSize(48, 24);
    setRotation(Lvl2Bit1, 0F, 0F, 0F);
    Lvl2Bit2 = new ModelRenderer(this, 30, 4);
    Lvl2Bit2.addBox(8F, 3F, 1F, 3, 1, 1);
    Lvl2Bit2.setRotationPoint(0F, 0F, 0F);
    Lvl2Bit2.setTextureSize(48, 24);
    setRotation(Lvl2Bit2, 0F, 0F, 0F);
    Lvl3Base = new ModelRenderer(this, 0, 6);
    Lvl3Base.addBox(0F, 0F, 0F, 14, 5, 1);
    Lvl3Base.setRotationPoint(0F, 0F, 0F);
    Lvl3Base.setTextureSize(48, 24);
    setRotation(Lvl3Base, 0F, 0F, 0F);
    Lvl3Fan = new ModelRenderer(this, 30, 6);
    Lvl3Fan.addBox(0F, 0F, 0F, 3, 3, 1);
    Lvl3Fan.setRotationPoint(3F, 1F, 1F);
    Lvl3Fan.setTextureSize(48, 24);
    setRotation(Lvl3Fan, 0F, 0F, 0F);
    Lvl3Bit1 = new ModelRenderer(this, 38, 5);
    Lvl3Bit1.addBox(0F, 0F, 0F, 2, 2, 2);
    Lvl3Bit1.setRotationPoint(11F, 1F, 1F);
    Lvl3Bit1.setTextureSize(48, 24);
    setRotation(Lvl3Bit1, 0F, 0F, 0F);
    Lvl3Cord1 = new ModelRenderer(this, 30, 10);
    Lvl3Cord1.addBox(9F, 3F, 1F, 3, 1, 1);
    Lvl3Cord1.setRotationPoint(0F, 0F, 0F);
    Lvl3Cord1.setTextureSize(48, 24);
    setRotation(Lvl3Cord1, 0F, 0F, 0F);
    Lvl3Cord2 = new ModelRenderer(this, 38, 2);
    Lvl3Cord2.addBox(8F, 1F, 1F, 1, 2, 1);
    Lvl3Cord2.setRotationPoint(0F, 0F, 0F);
    Lvl3Cord2.setTextureSize(48, 24);
    setRotation(Lvl3Cord2, 0F, 0F, 0F);
    Lvl3Cord3 = new ModelRenderer(this, 38, 0);
    Lvl3Cord3.addBox(6F, 1F, 1F, 2, 1, 1);
    Lvl3Cord3.setRotationPoint(0F, 0F, 0F);
    Lvl3Cord3.setTextureSize(48, 24);
    setRotation(Lvl3Cord3, 0F, 0F, 0F);
    Lvl1Base = new ModelRenderer(this, 0, 12);
    Lvl1Base.addBox(0F, 0F, 0F, 14, 5, 1);
    Lvl1Base.setRotationPoint(0F, 0F, 0F);
    Lvl1Base.setTextureSize(48, 24);
    setRotation(Lvl1Base, 0F, 0F, 0F);
    Lvl1Fan = new ModelRenderer(this, 30, 12);
    Lvl1Fan.addBox(3F, 1F, 1F, 3, 3, 1);
    Lvl1Fan.setRotationPoint(0F, 0F, 0F);
    Lvl1Fan.setTextureSize(48, 24);
    setRotation(Lvl1Fan, 0F, 0F, 0F);
    Lvl3Bit2 = new ModelRenderer(this, 38, 5);
    Lvl3Bit2.addBox(6F, 3F, 1F, 2, 2, 2);
    Lvl3Bit2.setRotationPoint(0F, 0F, 0F);
    Lvl3Bit2.setTextureSize(48, 24);
    setRotation(Lvl3Bit2, 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.