Package net.minecraft.client.model

Examples of net.minecraft.client.model.ModelRenderer


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

    Base = new ModelRenderer(this, 0, 0);
    Base.addBox(0F, 0F, 0F, 16, 1, 16);
    Base.setRotationPoint(-8F, 23F, -8F);
    Base.setTextureSize(64, 64);
    setRotation(Base, 0F, 0F, 0F);
    Support1 = new ModelRenderer(this, 0, 17);
    Support1.addBox(0F, 0F, 0F, 2, 14, 2);
    Support1.setRotationPoint(-8F, 9F, 6F);
    Support1.setTextureSize(64, 64);
    setRotation(Support1, 0F, 0F, 0F);
    Support2 = new ModelRenderer(this, 0, 17);
    Support2.addBox(0F, 0F, 0F, 2, 14, 2);
    Support2.setRotationPoint(6F, 9F, 6F);
    Support2.setTextureSize(64, 64);
    setRotation(Support2, 0F, 0F, 0F);
    Support3 = new ModelRenderer(this, 0, 17);
    Support3.addBox(0F, 0F, 0F, 2, 14, 2);
    Support3.setRotationPoint(-8F, 9F, -8F);
    Support3.setTextureSize(64, 64);
    setRotation(Support3, 0F, 0F, 0F);
    Support4 = new ModelRenderer(this, 0, 17);
    Support4.addBox(0F, 0F, 0F, 2, 14, 2);
    Support4.setRotationPoint(6F, 9F, -8F);
    Support4.setTextureSize(64, 64);
    setRotation(Support4, 0F, 0F, 0F);
    Top1 = new ModelRenderer(this, 11, 19);
    Top1.addBox(0F, 0F, 0F, 16, 1, 2);
    Top1.setRotationPoint(-8F, 8F, -8F);
    Top1.setTextureSize(64, 64);
    setRotation(Top1, 0F, 0F, 0F);
    Top2 = new ModelRenderer(this, 11, 19);
    Top2.addBox(0F, 0F, 0F, 16, 1, 2);
    Top2.setRotationPoint(-8F, 8F, 6F);
    Top2.setTextureSize(64, 64);
    setRotation(Top2, 0F, 0F, 0F);
    Top3 = new ModelRenderer(this, 11, 23);
    Top3.addBox(0F, 0F, 0F, 2, 1, 12);
    Top3.setRotationPoint(6F, 8F, -6F);
    Top3.setTextureSize(64, 64);
    setRotation(Top3, 0F, 0F, 0F);
    Top4 = new ModelRenderer(this, 11, 23);
    Top4.addBox(0F, 0F, 0F, 2, 1, 12);
    Top4.setRotationPoint(-8F, 8F, -6F);
    Top4.setTextureSize(64, 64);
    setRotation(Top4, 0F, 0F, 0F);
    Opening1 = new ModelRenderer(this, 48, 30);
    Opening1.addBox(0F, 0F, 0F, 5, 1, 1);
    Opening1.setRotationPoint(-2.5F, 14F, 7F);
    Opening1.setTextureSize(64, 64);
    setRotation(Opening1, 0F, 0F, 0F);
    Opening2 = new ModelRenderer(this, 48, 30);
    Opening2.addBox(0F, 0F, 0F, 5, 1, 1);
    Opening2.setRotationPoint(-2.5F, 17F, 7F);
    Opening2.setTextureSize(64, 64);
    setRotation(Opening2, 0F, 0F, 0F);
    Opening3 = new ModelRenderer(this, 48, 24);
    Opening3.addBox(0F, 0F, 0F, 1, 3, 1);
    Opening3.setRotationPoint(-2F, 14.5F, 7F);
    Opening3.setTextureSize(64, 64);
    setRotation(Opening3, 0F, 0F, 0F);
    Opening4 = new ModelRenderer(this, 48, 24);
    Opening4.addBox(0F, 0F, 0F, 1, 3, 1);
    Opening4.setRotationPoint(1F, 14.5F, 7F);
    Opening4.setTextureSize(64, 64);
    setRotation(Opening4, 0F, 0F, 0F);
    Glass1 = new ModelRenderer(this, -11, 37);
    Glass1.addBox(0F, 0F, 0F, 12, 0, 12);
    Glass1.setRotationPoint(-6F, 8.5F, -6F);
    Glass1.setTextureSize(64, 64);
    setRotation(Glass1, 0F, 0F, 0F);
    Glass2 = new ModelRenderer(this, 1, 38);
    Glass2.addBox(0F, 0F, 0F, 0, 14, 12);
    Glass2.setRotationPoint(7.5F, 9F, -6F);
    Glass2.setTextureSize(64, 64);
    setRotation(Glass2, 0F, 0F, 0F);
    Glass3 = new ModelRenderer(this, 1, 38);
    Glass3.addBox(0F, 0F, 0F, 0, 14, 12);
    Glass3.setRotationPoint(-7.5F, 9F, 6F);
    Glass3.setTextureSize(64, 64);
    setRotation(Glass3, 0F, 3.141593F, 0F);
    Glass4 = new ModelRenderer(this, 40, 34);
    Glass4.addBox(0F, 0F, 0F, 12, 14, 0);
    Glass4.setRotationPoint(-6F, 9F, -7.5F);
    Glass4.setTextureSize(64, 64);
    setRotation(Glass4, 0F, 0F, 0F);
    Glass5 = new ModelRenderer(this, 33, 50);
    Glass5.addBox(0F, 0F, 0F, 12, 14, 0);
    Glass5.setRotationPoint(6F, 9F, 7.5F);
    Glass5.setTextureSize(64, 64);
    setRotation(Glass5, 0F, 3.141593F, 0F);
  }
View Full Code Here


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

    panel = new ModelRenderer(this, 0, 0);
    panel.addBox(0F, 0F, 0F, 14, 2, 14);
    panel.setRotationPoint(-7F, 22F, -7F);
    panel.setTextureSize(64, 64);
    setRotation(panel, 0F, 0F, 0F);
    magnet = new ModelRenderer(this, 0, 16);
    magnet.addBox(0F, 0F, 0F, 4, 13, 4);
    magnet.setRotationPoint(-2F, 9F, -2F);
    magnet.setTextureSize(64, 64);
    setRotation(magnet, 0F, 0F, 0F);
    box1 = new ModelRenderer(this, 28, 19);
    box1.addBox(0F, -2F, 0F, 6, 14, 0);
    box1.setRotationPoint(3F, 10F, -3F);
    box1.setTextureSize(64, 64);
    setRotation(box1, 0F, -1.570796F, 0F);
    box2 = new ModelRenderer(this, 28, 33);
    box2.addBox(0F, 0F, 0F, 6, 14, 0);
    box2.setRotationPoint(-3F, 8F, 3F);
    box2.setTextureSize(64, 64);
    setRotation(box2, 0F, 1.570796F, 0F);
    box3 = new ModelRenderer(this, 40, 19);
    box3.addBox(0F, 0F, 0F, 6, 14, 0);
    box3.setRotationPoint(3F, 8F, 3F);
    box3.setTextureSize(64, 64);
    setRotation(box3, 0F, 3.141593F, 0F);
    box4 = new ModelRenderer(this, 40, 33);
    box4.addBox(0F, 0F, 0F, 6, 14, 0);
    box4.setRotationPoint(-3F, 8F, -3F);
    box4.setTextureSize(64, 64);
    setRotation(box4, 0F, 0F, 0F);
    box5 = new ModelRenderer(this, 28, 49);
    box5.addBox(0F, 0F, 0F, 6, 0, 6);
    box5.setRotationPoint(-3F, 8F, -3F);
    box5.setTextureSize(64, 64);
    setRotation(box5, 0F, 0F, 0F);
  }
View Full Code Here

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

    panel = new ModelRenderer(this, 0, 0);
    panel.addBox(0F, 0F, 0F, 14, 2, 14);
    panel.setRotationPoint(-7F, 22F, -7F);
    panel.setTextureSize(64, 64);
    setRotation(panel, 0F, 0F, 0F);
    magnet = new ModelRenderer(this, 0, 16);
    magnet.addBox(0F, 0F, 0F, 4, 13, 4);
    magnet.setRotationPoint(-2F, 9F, -2F);
    magnet.setTextureSize(64, 64);
    setRotation(magnet, 0F, 0F, 0F);
    box1 = new ModelRenderer(this, 28, 19);
    box1.addBox(0F, -2F, 0F, 6, 14, 0);
    box1.setRotationPoint(3F, 10F, -3F);
    box1.setTextureSize(64, 64);
    setRotation(box1, 0F, -1.570796F, 0F);
    box2 = new ModelRenderer(this, 28, 33);
    box2.addBox(0F, 0F, 0F, 6, 14, 0);
    box2.setRotationPoint(-3F, 8F, 3F);
    box2.setTextureSize(64, 64);
    setRotation(box2, 0F, 1.570796F, 0F);
    box3 = new ModelRenderer(this, 40, 19);
    box3.addBox(0F, 0F, 0F, 6, 14, 0);
    box3.setRotationPoint(3F, 8F, 3F);
    box3.setTextureSize(64, 64);
    setRotation(box3, 0F, 3.141593F, 0F);
    box4 = new ModelRenderer(this, 40, 33);
    box4.addBox(0F, 0F, 0F, 6, 14, 0);
    box4.setRotationPoint(-3F, 8F, -3F);
    box4.setTextureSize(64, 64);
    setRotation(box4, 0F, 0F, 0F);
    box5 = new ModelRenderer(this, 28, 49);
    box5.addBox(0F, 0F, 0F, 6, 0, 6);
    box5.setRotationPoint(-3F, 8F, -3F);
    box5.setTextureSize(64, 64);
    setRotation(box5, 0F, 0F, 0F);
  }
View Full Code Here

public class ModelSpinningCubes extends ModelBase {

  ModelRenderer spinningCube;

  public ModelSpinningCubes() {
    spinningCube = new ModelRenderer(this, 42, 0);
    spinningCube.addBox(0F, 0F, 0F, 1, 1, 1);
    spinningCube.setRotationPoint(0F, 0F, 0F);
    spinningCube.setTextureSize(64, 64);
    spinningCube.mirror = true;
  }
View Full Code Here

  public ModelWings() {
    super(1F);
    textureWidth = 64;
    textureHeight = 32;

    Wing1 = new ModelRenderer(this, 16, -12);
    Wing1.addBox(0F, 0F, 0F, 0, 7, 12);
    Wing1.setRotationPoint(-2F, 1F, 2F);
    setRotation(Wing1, 0F, -0.6108652F, 0F);
    bipedBody.addChild(Wing1);

    Wing2 = new ModelRenderer(this, 16, -12);
    Wing2.addBox(0.1F, 0F, 0F, 0, 7, 12);
    Wing2.setRotationPoint(2F, 1F, 2F);
    setRotation(Wing2, 0F, 0.4468043F, 0F);
    bipedBody.addChild(Wing2);
  }
View Full Code Here

    {
        super();
        textureWidth = 128;
        textureHeight = 64;
       
        Down_North = new ModelRenderer(this, 108, 8);
        Down_North.addBox(0F, 0F, 0F, 8, 2, 2);
        Down_North.setRotationPoint(-7F, 21F, -1F);
        Down_North.setTextureSize(this.textureWidth, this.textureHeight);
        Down_North.mirror = true;
        setRotation(Down_North, 0F, 0F, 0F);
        Down_West = new ModelRenderer(this, 108, 22);
        Down_West.addBox(0F, 0F, 0F, 2, 2, 8);
        Down_West.setRotationPoint(-1F, 21F, -7F);
        Down_West.setTextureSize(this.textureWidth, this.textureHeight);
        Down_West.mirror = true;
        setRotation(Down_West, 0F, 0F, 0F);
        Down_South = new ModelRenderer(this, 108, 4);
        Down_South.addBox(0F, 0F, 0F, 8, 2, 2);
        Down_South.setRotationPoint(-1F, 21F, -1F);
        Down_South.setTextureSize(this.textureWidth, this.textureHeight);
        Down_South.mirror = true;
        setRotation(Down_South, 0F, 0F, 0F);
        Down_East = new ModelRenderer(this, 108, 12);
        Down_East.addBox(0F, 0F, 0F, 2, 2, 8);
        Down_East.setRotationPoint(-1F, 21F, -1F);
        Down_East.setTextureSize(this.textureWidth, this.textureHeight);
        Down_East.mirror = true;
        setRotation(Down_East, 0F, 0F, 0F);
        Up_East = new ModelRenderer(this, 88, 22);
        Up_East.addBox(0F, 0F, 0F, 2, 2, 8);
        Up_East.setRotationPoint(-1F, 9F, -1F);
        Up_East.setTextureSize(this.textureWidth, this.textureHeight);
        Up_East.mirror = true;
        setRotation(Up_East, 0F, 0F, 0F);
        Up_West = new ModelRenderer(this, 88, 12);
        Up_West.addBox(0F, 0F, 0F, 2, 2, 8);
        Up_West.setRotationPoint(-1F, 9F, -7F);
        Up_West.setTextureSize(this.textureWidth, this.textureHeight);
        Up_West.mirror = true;
        setRotation(Up_West, 0F, 0F, 0F);
        Up_South = new ModelRenderer(this, 108, 0);
        Up_South.addBox(0F, 0F, 0F, 8, 2, 2);
        Up_South.setRotationPoint(-1F, 9F, -1F);
        Up_South.setTextureSize(this.textureWidth, this.textureHeight);
        Up_South.mirror = true;
        setRotation(Up_South, 0F, 0F, 0F);
        Up_North = new ModelRenderer(this, 88, 0);
        Up_North.addBox(0F, 0F, 0F, 8, 2, 2);
        Up_North.setRotationPoint(-7F, 9F, -1F);
        Up_North.setTextureSize(this.textureWidth, this.textureHeight);
        Up_North.mirror = true;
        setRotation(Up_North, 0F, 0F, 0F);
        South_Up = new ModelRenderer(this, 0, 22);
        South_Up.addBox(0F, 0F, 0F, 2, 8, 2);
        South_Up.setRotationPoint(5F, 9F, -1F);
        South_Up.setTextureSize(this.textureWidth, this.textureHeight);
        South_Up.mirror = true;
        setRotation(South_Up, 0F, 0F, 0F);
        South_Down = new ModelRenderer(this, 8, 22);
        South_Down.addBox(0F, 0F, 0F, 2, 8, 2);
        South_Down.setRotationPoint(5F, 15F, -1F);
        South_Down.setTextureSize(this.textureWidth, this.textureHeight);
        South_Down.mirror = true;
        setRotation(South_Down, 0F, 0F, 0F);
        South_West = new ModelRenderer(this, 68, 22);
        South_West.addBox(0F, 0F, 0F, 2, 2, 8);
        South_West.setRotationPoint(5F, 15F, -7F);
        South_West.setTextureSize(this.textureWidth, this.textureHeight);
        South_West.mirror = true;
        setRotation(South_West, 0F, 0F, 0F);
        South_East = new ModelRenderer(this, 68, 12);
        South_East.addBox(0F, 0F, 0F, 2, 2, 8);
        South_East.setRotationPoint(5F, 15F, -1F);
        South_East.setTextureSize(this.textureWidth, this.textureHeight);
        South_East.mirror = true;
        setRotation(South_East, 0F, 0F, 0F);
        North_Up = new ModelRenderer(this, 16, 22);
        North_Up.addBox(0F, 0F, 0F, 2, 8, 2);
        North_Up.setRotationPoint(-7F, 9F, -1F);
        North_Up.setTextureSize(this.textureWidth, this.textureHeight);
        North_Up.mirror = true;
        setRotation(North_Up, 0F, 0F, 0F);
        North_East = new ModelRenderer(this, 48, 22);
        North_East.addBox(0F, 0F, 0F, 2, 2, 8);
        North_East.setRotationPoint(-7F, 15F, -1F);
        North_East.setTextureSize(this.textureWidth, this.textureHeight);
        North_East.mirror = true;
        setRotation(North_East, 0F, 0F, 0F);
        North_West = new ModelRenderer(this, 48, 12);
        North_West.addBox(0F, 0F, 0F, 2, 2, 8);
        North_West.setRotationPoint(-7F, 15F, -7F);
        North_West.setTextureSize(this.textureWidth, this.textureHeight);
        North_West.mirror = true;
        setRotation(North_West, 0F, 0F, 0F);
        North_Down = new ModelRenderer(this, 0, 12);
        North_Down.addBox(0F, 0F, 0F, 2, 8, 2);
        North_Down.setRotationPoint(-7F, 15F, -1F);
        North_Down.setTextureSize(this.textureWidth, this.textureHeight);
        North_Down.mirror = true;
        setRotation(North_Down, 0F, 0F, 0F);
        East_South = new ModelRenderer(this, 88, 4);
        East_South.addBox(0F, 0F, 0F, 8, 2, 2);
        East_South.setRotationPoint(-1F, 15F, 5F);
        East_South.setTextureSize(this.textureWidth, this.textureHeight);
        East_South.mirror = true;
        setRotation(East_South, 0F, 0F, 0F);
        East_North = new ModelRenderer(this, 88, 8);
        East_North.addBox(0F, 0F, 0F, 8, 2, 2);
        East_North.setRotationPoint(-7F, 15F, 5F);
        East_North.setTextureSize(this.textureWidth, this.textureHeight);
        East_North.mirror = true;
        setRotation(East_North, 0F, 0F, 0F);
        East_Up = new ModelRenderer(this, 8, 12);
        East_Up.addBox(0F, 0F, 0F, 2, 8, 2);
        East_Up.setRotationPoint(-1F, 9F, 5F);
        East_Up.setTextureSize(this.textureWidth, this.textureHeight);
        East_Up.mirror = true;
        setRotation(East_Up, 0F, 0F, 0F);
        East_Down = new ModelRenderer(this, 16, 12);
        East_Down.addBox(0F, 0F, 0F, 2, 8, 2);
        East_Down.setRotationPoint(-1F, 15F, 5F);
        East_Down.setTextureSize(this.textureWidth, this.textureHeight);
        East_Down.mirror = true;
        setRotation(East_Down, 0F, 0F, 0F);
        West_Down = new ModelRenderer(this, 24, 22);
        West_Down.addBox(0F, 0F, 0F, 2, 8, 2);
        West_Down.setRotationPoint(-1F, 15F, -7F);
        West_Down.setTextureSize(this.textureWidth, this.textureHeight);
        West_Down.mirror = true;
        setRotation(West_Down, 0F, 0F, 0F);
        West_Up = new ModelRenderer(this, 24, 12);
        West_Up.addBox(0F, 0F, 0F, 2, 8, 2);
        West_Up.setRotationPoint(-1F, 9F, -7F);
        West_Up.setTextureSize(this.textureWidth, this.textureHeight);
        West_Up.mirror = true;
        setRotation(West_Up, 0F, 0F, 0F);
        West_South = new ModelRenderer(this, 68, 0);
        West_South.addBox(0F, 0F, 0F, 8, 2, 2);
        West_South.setRotationPoint(-1F, 15F, -7F);
        West_South.setTextureSize(this.textureWidth, this.textureHeight);
        West_South.mirror = true;
        setRotation(West_South, 0F, 0F, 0F);
        West_North = new ModelRenderer(this, 68, 4);
        West_North.addBox(0F, 0F, 0F, 8, 2, 2);
        West_North.setRotationPoint(-7F, 15F, -7F);
        West_North.setTextureSize(this.textureWidth, this.textureHeight);
        West_North.mirror = true;
        setRotation(West_North, 0F, 0F, 0F);
        io_Up = new ModelRenderer(this, 0, 0);
        io_Up.addBox(0F, 0F, 0F, 4, 3, 4);
        io_Up.setRotationPoint(-2F, 8F, -2F);
        io_Up.setTextureSize(this.textureWidth, this.textureHeight);
        io_Up.mirror = true;
        setRotation(io_Up, 0F, 0F, 0F);
        io_East = new ModelRenderer(this, 0, 7);
        io_East.addBox(0F, 0F, 0F, 4, 4, 3);
        io_East.setRotationPoint(-2F, 14F, 5F);
        io_East.setTextureSize(this.textureWidth, this.textureHeight);
        io_East.mirror = true;
        setRotation(io_East, 0F, 0F, 0F);
        io_West = new ModelRenderer(this, 14, 8);
        io_West.addBox(0F, 0F, 0F, 4, 4, 3);
        io_West.setRotationPoint(-2F, 14F, -8F);
        io_West.setTextureSize(this.textureWidth, this.textureHeight);
        io_West.mirror = true;
        setRotation(io_West, 0F, 0F, 0F);
        io_South = new ModelRenderer(this, 16, 0);
        io_South.addBox(0F, 0F, 0F, 3, 4, 4);
        io_South.setRotationPoint(5F, 14F, -2F);
        io_South.setTextureSize(this.textureWidth, this.textureHeight);
        io_South.mirror = true;
        setRotation(io_South, 0F, 0F, 0F);
        io_North = new ModelRenderer(this, 30, 0);
        io_North.addBox(0F, 0F, 0F, 3, 4, 4);
        io_North.setRotationPoint(-8F, 14F, -2F);
        io_North.setTextureSize(this.textureWidth, this.textureHeight);
        io_North.mirror = true;
        setRotation(io_North, 0F, 0F, 0F);
        io_Down = new ModelRenderer(this, 28, 8);
        io_Down.addBox(0F, 0F, 0F, 4, 3, 4);
        io_Down.setRotationPoint(-2F, 21F, -2F);
        io_Down.setTextureSize(this.textureWidth, this.textureHeight);
        io_Down.mirror = true;
        setRotation(io_Down, 0F, 0F, 0F);
View Full Code Here

    public ModelInsulatedWire()
    {
        this.textureWidth = 64;
        this.textureHeight = 32;
       
        this.Middle = new ModelRenderer(this, 0, 0);
        this.Middle.addBox(0F, 0F, 0F, 4, 4, 4);
        this.Middle.setRotationPoint(-2F, 14F, -2F);
        this.Middle.setTextureSize(this.textureWidth, this.textureHeight);
        this.Middle.mirror = true;
        this.setRotation(this.Middle, 0F, 0F, 0F);
        this.Right = new ModelRenderer(this, 22, 0);
        this.Right.addBox(0F, 0F, 0F, 6, 4, 4);
        this.Right.setRotationPoint(2F, 14F, -2F);
        this.Right.setTextureSize(this.textureWidth, this.textureHeight);
        this.Right.mirror = true;
        this.setRotation(this.Right, 0F, 0F, 0F);
        this.Left = new ModelRenderer(this, 44, 0);
        this.Left.addBox(0F, 0F, 0F, 6, 4, 4);
        this.Left.setRotationPoint(-8F, 14F, -2F);
        this.Left.setTextureSize(this.textureWidth, this.textureHeight);
        this.Left.mirror = true;
        this.setRotation(this.Left, 0F, 0F, 0F);
        this.Back = new ModelRenderer(this, 0, 10);
        this.Back.addBox(0F, 0F, 0F, 4, 4, 6);
        this.Back.setRotationPoint(-2F, 14F, 2F);
        this.Back.setTextureSize(this.textureWidth, this.textureHeight);
        this.Back.mirror = true;
        this.setRotation(this.Back, 0F, 0F, 0F);
        this.Front = new ModelRenderer(this, 0, 22);
        this.Front.addBox(0F, 0F, 0F, 4, 4, 6);
        this.Front.setRotationPoint(-2F, 14F, -8F);
        this.Front.setTextureSize(this.textureWidth, this.textureHeight);
        this.Front.mirror = true;
        this.setRotation(this.Front, 0F, 0F, 0F);
        this.Top = new ModelRenderer(this, 22, 22);
        this.Top.addBox(0F, 0F, 0F, 4, 6, 4);
        this.Top.setRotationPoint(-2F, 8F, -2F);
        this.Top.setTextureSize(this.textureWidth, this.textureHeight);
        this.Top.mirror = true;
        this.setRotation(this.Top, 0F, 0F, 0F);
        this.Bottom = new ModelRenderer(this, 22, 10);
        this.Bottom.addBox(0F, 0F, 0F, 4, 6, 4);
        this.Bottom.setRotationPoint(-2F, 18F, -2F);
        this.Bottom.setTextureSize(this.textureWidth, this.textureHeight);
        this.Bottom.mirror = true;
        this.setRotation(this.Bottom, 0F, 0F, 0F);
View Full Code Here

    public ModelRawWire()
    {
        this.textureWidth = 64;
        this.textureHeight = 32;
       
        this.Middle = new ModelRenderer(this, 0, 0);
        this.Middle.addBox(0F, 0F, 0F, 2, 2, 2);
        this.Middle.setRotationPoint(-1F, 15F, -1F);
        this.Middle.setTextureSize(64, 32);
        this.Middle.mirror = true;
        this.setRotation(this.Middle, 0F, 0F, 0F);
        this.Right = new ModelRenderer(this, 22, 0);
        this.Right.addBox(0F, 0F, 0F, 7, 2, 2);
        this.Right.setRotationPoint(1F, 15F, -1F);
        this.Right.setTextureSize(64, 32);
        this.Right.mirror = true;
        this.setRotation(this.Right, 0F, 0F, 0F);
        this.Back = new ModelRenderer(this, 0, 10);
        this.Back.addBox(0F, 0F, 0F, 2, 2, 7);
        this.Back.setRotationPoint(-1F, 15F, 1F);
        this.Back.setTextureSize(64, 32);
        this.Back.mirror = true;
        this.setRotation(this.Back, 0F, 0F, 0F);
        this.Left = new ModelRenderer(this, 44, 0);
        this.Left.addBox(0F, 0F, 0F, 7, 2, 2);
        this.Left.setRotationPoint(-8F, 15F, -1F);
        this.Left.setTextureSize(64, 32);
        this.Left.mirror = true;
        this.setRotation(this.Left, 0F, 0F, 0F);
        this.Front = new ModelRenderer(this, 0, 22);
        this.Front.addBox(0F, 0F, 0F, 2, 2, 7);
        this.Front.setRotationPoint(-1F, 15F, -8F);
        this.Front.setTextureSize(64, 32);
        this.Front.mirror = true;
        this.setRotation(this.Front, 0F, 0F, 0F);
        this.Bottom = new ModelRenderer(this, 22, 10);
        this.Bottom.addBox(0F, 0F, 0F, 2, 7, 2);
        this.Bottom.setRotationPoint(-1F, 17F, -1F);
        this.Bottom.setTextureSize(64, 32);
        this.Bottom.mirror = true;
        this.setRotation(this.Bottom, 0F, 0F, 0F);
        this.Top = new ModelRenderer(this, 22, 22);
        this.Top.addBox(0F, 0F, 0F, 2, 7, 2);
        this.Top.setRotationPoint(-1F, 8F, -1F);
        this.Top.setTextureSize(64, 32);
        this.Top.mirror = true;
        this.setRotation(this.Top, 0F, 0F, 0F);
View Full Code Here

    public ModelWireMill()
    {
        this.textureWidth = 128;
        this.textureHeight = 128;
       
        this.base = new ModelRenderer(this, 0, 0);
        this.base.addBox(0F, 0F, 0F, 16, 1, 16);
        this.base.setRotationPoint(-8F, 23F, -8F);
        this.base.setTextureSize(128, 128);
        this.base.mirror = true;
        this.setRotation(this.base, 0F, 0F, 0F);
        this.plug = new ModelRenderer(this, 0, 19);
        this.plug.addBox(0F, 0F, 0F, 5, 12, 12);
        this.plug.setRotationPoint(-7F, 11F, -4F);
        this.plug.setTextureSize(128, 128);
        this.plug.mirror = true;
        this.setRotation(this.plug, 0F, 0F, 0F);
        this.part1 = new ModelRenderer(this, 0, 20);
        this.part1.addBox(0F, -1F, 0F, 1, 2, 1);
        this.part1.setRotationPoint(-8F, 14F, 0F);
        this.part1.setTextureSize(128, 128);
        this.part1.mirror = true;
        this.setRotation(this.part1, 0F, 0F, 0F);
        this.part2 = new ModelRenderer(this, 0, 20);
        this.part2.addBox(0F, -1F, -3F, 1, 2, 1);
        this.part2.setRotationPoint(-8F, 14F, 0F);
        this.part2.setTextureSize(128, 128);
        this.part2.mirror = true;
        this.setRotation(this.part2, 0F, 0F, 0F);
        this.part3 = new ModelRenderer(this, 0, 20);
        this.part3.addBox(0F, -2F, -1F, 1, 1, 2);
        this.part3.setRotationPoint(-8F, 14F, -1F);
        this.part3.setTextureSize(128, 128);
        this.part3.mirror = true;
        this.setRotation(this.part3, 0F, 0F, 0F);
        this.part4 = new ModelRenderer(this, 0, 20);
        this.part4.addBox(0F, 1F, -1F, 1, 1, 2);
        this.part4.setRotationPoint(-8F, 14F, -1F);
        this.part4.setTextureSize(128, 128);
        this.part4.mirror = true;
        this.setRotation(this.part4, 0F, 0F, 0F);
        this.support = new ModelRenderer(this, 0, 46);
        this.support.addBox(0F, 0F, 0F, 5, 5, 4);
        this.support.setRotationPoint(-7F, 18F, -8F);
        this.support.setTextureSize(128, 128);
        this.support.mirror = true;
        this.setRotation(this.support, 0F, 0F, 0F);
        this.support2 = new ModelRenderer(this, 19, 46);
        this.support2.addBox(0F, 0F, 0F, 5, 8, 4);
        this.support2.setRotationPoint(-7F, 11F, -4F);
        this.support2.setTextureSize(128, 128);
        this.support2.mirror = true;
        this.setRotation(this.support2, -0.5235988F, 0F, 0F);
        this.container = new ModelRenderer(this, 48, 36);
        this.container.addBox(0F, 0F, 0F, 10, 15, 5);
        this.container.setRotationPoint(-2F, 8F, 3F);
        this.container.setTextureSize(128, 128);
        this.container.mirror = true;
        this.setRotation(this.container, 0F, 0F, 0F);
        this.support3 = new ModelRenderer(this, 80, 20);
        this.support3.addBox(0F, 0F, 0F, 2, 12, 4);
        this.support3.setRotationPoint(6F, 11F, -1F);
        this.support3.setTextureSize(128, 128);
        this.support3.mirror = true;
        this.setRotation(this.support3, 0F, 0F, 0F);
        this.support4 = new ModelRenderer(this, 80, 20);
        this.support4.addBox(0F, 0F, 0F, 2, 12, 4);
        this.support4.setRotationPoint(-2F, 11F, -1F);
        this.support4.setTextureSize(128, 128);
        this.support4.mirror = true;
        this.setRotation(this.support4, 0F, 0F, 0F);
        this.gear1rot = new ModelRenderer(this, 67, 13);
        this.gear1rot.addBox(0F, -1F, -1F, 6, 2, 2);
        this.gear1rot.setRotationPoint(0F, 14F, 1F);
        this.gear1rot.setTextureSize(128, 128);
        this.gear1rot.mirror = true;
        this.setRotation(this.gear1rot, 0.7853982F, 0F, 0F);
        this.gear2rot = new ModelRenderer(this, 67, 13);
        this.gear2rot.addBox(0F, -1F, -1F, 6, 2, 2);
        this.gear2rot.setRotationPoint(0F, 17F, 1F);
        this.gear2rot.setTextureSize(128, 128);
        this.gear2rot.mirror = true;
        this.setRotation(this.gear2rot, 0.7853982F, 0F, 0F);
        this.output = new ModelRenderer(this, 36, 20);
        this.output.addBox(0F, 0F, 0F, 10, 4, 11);
        this.output.setRotationPoint(-2F, 19F, -8F);
        this.output.setTextureSize(128, 128);
        this.output.mirror = true;
        this.setRotation(this.output, 0F, 0F, 0F);
View Full Code Here

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

    Shape1 = new ModelRenderer(this, 0, 0);
    Shape1.addBox(0F, 0F, 0F, 14, 16, 14);
    Shape1.setRotationPoint(-7F, -8F, -7F);
    Shape1.setTextureSize(textureWidth, textureHeight);
    Shape1.mirror = true;
    setRotation(Shape1, 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.