Package net.minecraft.client.model

Examples of net.minecraft.client.model.ModelRenderer


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

    Base = new ModelRenderer(this, 0, 16);
    Base.addBox(0F, 0F, 0F, 6, 1, 6);
    Base.setRotationPoint(-3F, 23F, -3F);
    Base.setTextureSize(64, 32);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);
    Base2 = new ModelRenderer(this, 0, 24);
    Base2.addBox(0F, 0F, 0F, 3, 1, 3);
    Base2.setRotationPoint(-1.5F, 22F, -1.5F);
    Base2.setTextureSize(64, 32);
    Base2.mirror = true;
    setRotation(Base2, 0F, 0F, 0F);
    Stand = new ModelRenderer(this, 25, 16);
    Stand.addBox(0F, 0F, 0F, 1, 7, 1);
    Stand.setRotationPoint(-0.5F, 15F, -0.5F);
    Stand.setTextureSize(64, 32);
    Stand.mirror = true;
    setRotation(Stand, 0F, 0F, 0F);
    PhotovoltaicCells = new ModelRenderer(this, 0, 0);
    PhotovoltaicCells.addBox(-7F, -1F, -7F, 14, 1, 14);
    PhotovoltaicCells.setRotationPoint(0F, 15F, 0F);
    PhotovoltaicCells.setTextureSize(64, 32);
    PhotovoltaicCells.mirror = true;
    setRotation(PhotovoltaicCells, 0F, 0F, 0F);
View Full Code Here


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

    foot1 = new ModelRenderer(this, 16, 30);
    foot1.addBox(16F, 13F, -2F, 6, 1, 4);
    foot1.setRotationPoint(0F, 0F, 0F);
    foot1.setTextureSize(128, 64);
    foot1.mirror = true;
    setRotation(foot1, 0F, 0F, 0.7330383F);
    foot1.mirror = false;
    foot2 = new ModelRenderer(this, 16, 23);
    foot2.addBox(-2F, 13F, -22F, 4, 1, 6);
    foot2.setRotationPoint(0F, 0F, 0F);
    foot2.setTextureSize(128, 64);
    foot2.mirror = true;
    setRotation(foot2, 0.7330383F, 0F, 0F);
    foot3 = new ModelRenderer(this, 16, 30);
    foot3.addBox(-22F, 13F, -2F, 6, 1, 4);
    foot3.setRotationPoint(0F, 0F, 0F);
    foot3.setTextureSize(128, 64);
    foot3.mirror = true;
    setRotation(foot3, 0F, 0F, -0.7330383F);
    foot1side = new ModelRenderer(this, 16, 35);
    foot1side.addBox(4F, 14F, -2F, 1, 8, 4);
    foot1side.setRotationPoint(0F, 0F, 0F);
    foot1side.setTextureSize(128, 64);
    foot1side.mirror = true;
    setRotation(foot1side, 0F, 0F, 0F);
    foot1side.mirror = false;
    foot2side = new ModelRenderer(this, 0, 47);
    foot2side.addBox(-2F, 9F, -5F, 4, 13, 3);
    foot2side.setRotationPoint(0F, 0F, 0F);
    foot2side.setTextureSize(128, 64);
    foot2side.mirror = true;
    setRotation(foot2side, 0F, 0F, 0F);
    foot3side = new ModelRenderer(this, 26, 35);
    foot3side.addBox(-4.866667F, 12F, -2F, 1, 8, 4);
    foot3side.setRotationPoint(0F, 2F, 0F);
    foot3side.setTextureSize(128, 64);
    foot3side.mirror = true;
    setRotation(foot3side, 0F, 0F, 0F);
    smallfoot = new ModelRenderer(this, 38, 32);
    smallfoot.addBox(-0.5F, 21F, 5F, 1, 3, 1);
    smallfoot.setRotationPoint(0F, 0F, 0F);
    smallfoot.setTextureSize(128, 64);
    smallfoot.mirror = true;
    setRotation(smallfoot, 0F, 0F, 0F);
    base = new ModelRenderer(this, 61, 42);
    base.addBox(-4F, 10F, -4F, 8, 13, 8);
    base.setRotationPoint(0F, 0F, 0F);
    base.setTextureSize(128, 64);
    base.mirror = true;
    setRotation(base, 0F, 0F, 0F);
    outputbox = new ModelRenderer(this, 36, 36);
    outputbox.addBox(-4F, 16F, 4F, 8, 8, 4);
    outputbox.setRotationPoint(0F, -4F, 0F);
    outputbox.setTextureSize(128, 64);
    outputbox.mirror = true;
    setRotation(outputbox, 0F, 0F, 0F);
    outputboxbottom = new ModelRenderer(this, 42, 31);
    outputboxbottom.addBox(-2F, 20F, 4F, 4, 1, 4);
    outputboxbottom.setRotationPoint(0F, 0F, 0F);
    outputboxbottom.setTextureSize(128, 64);
    outputboxbottom.mirror = true;
    setRotation(outputboxbottom, 0F, 0F, 0F);
    basebeam = new ModelRenderer(this, 0, 14);
    basebeam.addBox(-2F, -19F, -2F, 4, 29, 4);
    basebeam.setRotationPoint(0F, 0F, 0F);
    basebeam.setTextureSize(128, 64);
    basebeam.mirror = true;
    setRotation(basebeam, 0F, 0F, 0F);
    connectorbox = new ModelRenderer(this, 14, 47);
    connectorbox.addBox(-2.5F, -21F, -2.5F, 5, 3, 5);
    connectorbox.setRotationPoint(0F, 0F, 0F);
    connectorbox.setTextureSize(128, 64);
    connectorbox.mirror = true;
    setRotation(connectorbox, 0F, 0F, 0F);
    panelpivotbar = new ModelRenderer(this, 0, 0);
    panelpivotbar.addBox(-15F, -20.5F, -0.5F, 30, 2, 1);
    panelpivotbar.setRotationPoint(0F, 0F, 0F);
    panelpivotbar.setTextureSize(128, 64);
    panelpivotbar.mirror = true;
    setRotation(panelpivotbar, 0F, 0F, 0F);
    bar1 = new ModelRenderer(this, 60, 30);
    bar1.addBox(12.7F, -20.5F, -16F, 1, 1, 33);
    bar1.setRotationPoint(0F, 0F, 0F);
    bar1.setTextureSize(128, 64);
    bar1.mirror = true;
    setRotation(bar1, 0F, 0F, 0F);
    bar2 = new ModelRenderer(this, 60, 30);
    bar2.addBox(2.6F, -20.5F, -16F, 1, 1, 33);
    bar2.setRotationPoint(0F, 0F, 0F);
    bar2.setTextureSize(128, 64);
    bar2.mirror = true;
    setRotation(bar2, 0F, 0F, 0F);
    bar3 = new ModelRenderer(this, 60, 30);
    bar3.addBox(-3.6F, -20.5F, -16F, 1, 1, 33);
    bar3.setRotationPoint(0F, 0F, 0F);
    bar3.setTextureSize(128, 64);
    bar3.mirror = true;
    setRotation(bar3, 0F, 0F, 0F);
    bar4 = new ModelRenderer(this, 60, 30);
    bar4.addBox(-13.7F, -20.5F, -16F, 1, 1, 33);
    bar4.setRotationPoint(0F, 0F, 0F);
    bar4.setTextureSize(128, 64);
    bar4.mirror = true;
    setRotation(bar4, 0F, 0F, 0F);
    Panel1 = new ModelRenderer(this, 70, 10);
    Panel1.addBox(13.5F, -21F, -23.8F, 10, 1, 16);
    Panel1.setRotationPoint(0F, 0F, 0F);
    Panel1.setTextureSize(128, 64);
    Panel1.mirror = true;
    setRotation(Panel1, 0F, 0F, 0F);
    Panel2 = new ModelRenderer(this, 16, 8);
    Panel2.addBox(13.5F, -21F, -6.5F, 10, 1, 13);
    Panel2.setRotationPoint(0F, 0F, 0F);
    Panel2.setTextureSize(128, 64);
    Panel2.mirror = true;
    setRotation(Panel2, 0F, 0F, 0F);
    Panel3 = new ModelRenderer(this, 70, 10);
    Panel3.addBox(13.5F, -21F, 7.8F, 10, 1, 16);
    Panel3.setRotationPoint(0F, 0F, 0F);
    Panel3.setTextureSize(128, 64);
    Panel3.mirror = true;
    setRotation(Panel3, 0F, 0F, 0F);
    Panel4 = new ModelRenderer(this, 70, 10);
    Panel4.addBox(3F, -21F, -23.8F, 10, 1, 16);
    Panel4.setRotationPoint(0F, 0F, 0F);
    Panel4.setTextureSize(128, 64);
    Panel4.mirror = true;
    setRotation(Panel4, 0F, 0F, 0F);
    Panel5 = new ModelRenderer(this, 16, 8);
    Panel5.addBox(3F, -21F, -6.5F, 10, 1, 13);
    Panel5.setRotationPoint(0F, 0F, 0F);
    Panel5.setTextureSize(128, 64);
    Panel5.mirror = true;
    setRotation(Panel5, 0F, 0F, 0F);
    Panel6 = new ModelRenderer(this, 70, 10);
    Panel6.addBox(3F, -21F, 7.8F, 10, 1, 16);
    Panel6.setRotationPoint(0F, 0F, 0F);
    Panel6.setTextureSize(128, 64);
    Panel6.mirror = true;
    setRotation(Panel6, 0F, 0F, 0F);
    Panel7 = new ModelRenderer(this, 70, 10);
    Panel7.addBox(-13F, -21F, -23.8F, 10, 1, 16);
    Panel7.setRotationPoint(0F, 0F, 0F);
    Panel7.setTextureSize(128, 64);
    Panel7.mirror = true;
    setRotation(Panel7, 0F, 0F, 0F);
    Panel8 = new ModelRenderer(this, 16, 8);
    Panel8.addBox(-13F, -21F, -6.5F, 10, 1, 13);
    Panel8.setRotationPoint(0F, 0F, 0F);
    Panel8.setTextureSize(128, 64);
    Panel8.mirror = true;
    setRotation(Panel8, 0F, 0F, 0F);
    Panel9 = new ModelRenderer(this, 70, 10);
    Panel9.addBox(-13F, -21F, 7.8F, 10, 1, 16);
    Panel9.setRotationPoint(0F, 0F, 0F);
    Panel9.setTextureSize(128, 64);
    Panel9.mirror = true;
    setRotation(Panel9, 0F, 0F, 0F);
    Panel10 = new ModelRenderer(this, 70, 10);
    Panel10.addBox(-23.5F, -21F, -23.8F, 10, 1, 16);
    Panel10.setRotationPoint(0F, 0F, 0F);
    Panel10.setTextureSize(128, 64);
    Panel10.mirror = true;
    setRotation(Panel10, 0F, 0F, 0F);
    Panel11 = new ModelRenderer(this, 16, 8);
    Panel11.addBox(-23.5F, -21F, -6.5F, 10, 1, 13);
    Panel11.setRotationPoint(0F, 0F, 0F);
    Panel11.setTextureSize(128, 64);
    Panel11.mirror = true;
    setRotation(Panel11, 0F, 0F, 0F);
    Panel12 = new ModelRenderer(this, 70, 10);
    Panel12.addBox(-23.5F, -21F, 7.8F, 10, 1, 16);
    Panel12.setRotationPoint(0F, 0F, 0F);
    Panel12.setTextureSize(128, 64);
    Panel12.mirror = true;
    setRotation(Panel12, 0F, 0F, 0F);
    Inputlight = new ModelRenderer(this, 5, 6);
    Inputlight.addBox(-1F, 15F, 7.2F, 2, 2, 1);
    Inputlight.setRotationPoint(0F, 0F, 0F);
    Inputlight.setTextureSize(128, 64);
    Inputlight.mirror = true;
    setRotation(Inputlight, 0F, 0F, 0F);
    light1 = new ModelRenderer(this, 5, 4);
    light1.addBox(3.2F, 15F, 6F, 1, 2, 1);
    light1.setRotationPoint(0F, 0F, 0F);
    light1.setTextureSize(128, 64);
    light1.mirror = true;
    setRotation(light1, 0F, 0F, 0F);
    light2 = new ModelRenderer(this, 5, 4);
    light2.addBox(-4.2F, 15F, 6F, 1, 2, 1);
    light2.setRotationPoint(0F, 0F, 0F);
    light2.setTextureSize(128, 64);
    light2.mirror = true;
    setRotation(light2, 0F, 0F, 0F);
    light3 = new ModelRenderer(this, 5, 4);
    light3.addBox(3.2F, 15F, 2F, 1, 2, 3);
    light3.setRotationPoint(0F, 0F, 0F);
    light3.setTextureSize(128, 64);
    light3.mirror = true;
    setRotation(light3, 0F, 0F, 0F);
    light4 = new ModelRenderer(this, 5, 4);
    light4.addBox(-4.2F, 15F, 2F, 1, 2, 3);
    light4.setRotationPoint(0F, 0F, 0F);
    light4.setTextureSize(128, 64);
    light4.mirror = true;
    setRotation(light4, 0F, 0F, 0F);
View Full Code Here

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

    A = new ModelRenderer(this, 0, 0);
    A.addBox(0F, 0F, 0F, 16, 1, 16);
    A.setRotationPoint(-8F, 23F, -8F);
    A.setTextureSize(128, 128);
    A.mirror = true;
    setRotation(A, 0F, 0F, 0F);
    B = new ModelRenderer(this, 0, 45);
    B.addBox(0F, 0F, 0F, 16, 12, 6);
    B.setRotationPoint(-8F, 11F, -3F);
    B.setTextureSize(128, 128);
    B.mirror = true;
    setRotation(B, 0F, 0F, 0F);
    C = new ModelRenderer(this, 0, 64);
    C.addBox(-3F, 0F, -8F, 6, 12, 12);
    C.setRotationPoint(0F, 11F, 0F);
    C.setTextureSize(128, 128);
    C.mirror = true;
    setRotation(C, 0F, 0F, 0F);
    D = new ModelRenderer(this, 66, 0);
    D.addBox(-3F, 0F, 0F, 6, 10, 4);
    D.setRotationPoint(0F, 13F, 4F);
    D.setTextureSize(128, 128);
    D.mirror = true;
    setRotation(D, 0F, 0F, 0F);
    E = new ModelRenderer(this, 0, 20);
    E.addBox(-5F, 0F, -3F, 10, 13, 6);
    E.setRotationPoint(0F, 10F, 0F);
    E.setTextureSize(128, 128);
    E.mirror = true;
    setRotation(E, 0F, 0.5235988F, 0F);
    F = new ModelRenderer(this, 0, 20);
    F.addBox(-5F, 0F, -3F, 10, 13, 6);
    F.setRotationPoint(0F, 10F, 0F);
    F.setTextureSize(128, 128);
    F.mirror = true;
    setRotation(F, 0F, -0.5235988F, 0F);
    G = new ModelRenderer(this, 34, 20);
    G.addBox(-3F, 0F, -5F, 6, 13, 10);
    G.setRotationPoint(0F, 10F, 0F);
    G.setTextureSize(128, 128);
    G.mirror = true;
    setRotation(G, 0F, 0F, 0F);
    H = new ModelRenderer(this, 67, 20);
    H.addBox(-2F, 0F, -1F, 4, 2, 2);
    H.setRotationPoint(0F, 8F, 0F);
    H.setTextureSize(128, 128);
    H.mirror = true;
    setRotation(H, 0F, -0.5235988F, 0F);
    I = new ModelRenderer(this, 67, 20);
    I.addBox(-2F, 0F, -1F, 4, 2, 2);
    I.setRotationPoint(0F, 8F, 0F);
    I.setTextureSize(128, 128);
    I.mirror = true;
    setRotation(I, 0F, 0.5235988F, 0F);
    J = new ModelRenderer(this, 67, 26);
    J.addBox(-1F, 0F, -2F, 2, 2, 4);
    J.setRotationPoint(0F, 8F, 0F);
    J.setTextureSize(128, 128);
    J.mirror = true;
    setRotation(J, 0F, 0F, 0F);
    K = new ModelRenderer(this, 88, 0);
    K.addBox(-3F, 0F, 0F, 6, 2, 5);
    K.setRotationPoint(0F, 10F, 4F);
    K.setTextureSize(128, 128);
    K.mirror = true;
    setRotation(K, -0.6457718F, 0F, 0F);
    L = new ModelRenderer(this, 0, 97);
    L.addBox(0F, 0F, 0F, 4, 10, 4);
    L.setRotationPoint(2F, 13F, -5F);
    L.setTextureSize(128, 128);
    L.mirror = true;
    setRotation(L, 0F, 0.7853982F, 0F);
    M = new ModelRenderer(this, 0, 90);
    M.addBox(0F, 0F, 0F, 3, 1, 2);
    M.setRotationPoint(2F, 12F, -4F);
    M.setTextureSize(128, 128);
    M.mirror = true;
    setRotation(M, 0F, 0.7853982F, 0F);
    N = new ModelRenderer(this, 0, 97);
    N.addBox(0F, 0F, 0F, 4, 10, 4);
    N.setRotationPoint(-8F, 13F, -5F);
    N.setTextureSize(128, 128);
    N.mirror = true;
    setRotation(N, 0F, 0.7853982F, 0F);
    O = new ModelRenderer(this, 0, 90);
    O.addBox(0F, 0F, 0F, 2, 1, 3);
    O.setRotationPoint(-6F, 12F, -5F);
    O.setTextureSize(128, 128);
    O.mirror = true;
    setRotation(O, 0F, 0.7853982F, 0F);
    P = new ModelRenderer(this, 0, 118);
    P.addBox(-5F, 0F, 0F, 10, 1, 1);
    P.setRotationPoint(0F, 15F, -7F);
    P.setTextureSize(128, 128);
    P.mirror = true;
    setRotation(P, 0F, 0F, 0F);
    Q = new ModelRenderer(this, 0, 118);
    Q.addBox(-5F, 0F, 0F, 10, 1, 1);
    Q.setRotationPoint(0F, 19F, -7F);
    Q.setTextureSize(128, 128);
    Q.mirror = true;
    setRotation(Q, 0F, 0F, 0F);
    R = new ModelRenderer(this, 0, 112);
    R.addBox(-7F, 0F, -3F, 14, 1, 3);
    R.setRotationPoint(0F, 15F, -2F);
    R.setTextureSize(128, 128);
    R.mirror = true;
    setRotation(R, 0F, 0F, 0F);
    S = new ModelRenderer(this, 0, 112);
    S.addBox(-7F, 0F, -3F, 14, 1, 3);
    S.setRotationPoint(0F, 19F, -2F);
    S.setTextureSize(128, 128);
    S.mirror = true;
    setRotation(S, 0F, 0F, 0F);
View Full Code Here

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

    Base = new ModelRenderer(this, 0, 0);
    Base.addBox(0F, 0F, 0F, 14, 1, 14);
    Base.setRotationPoint(-7F, 23F, -7F);
    Base.setTextureSize(64, 64);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);
    Pipe1 = new ModelRenderer(this, 0, 16);
    Pipe1.addBox(0F, 0F, 0F, 2, 2, 2);
    Pipe1.setRotationPoint(-1F, 13F, -3F);
    Pipe1.setTextureSize(64, 64);
    Pipe1.mirror = true;
    setRotation(Pipe1, 0F, 0F, 0F);
    Pipe2 = new ModelRenderer(this, 0, 21);
    Pipe2.addBox(0F, 0F, 0F, 2, 2, 8);
    Pipe2.setRotationPoint(-1F, 11F, -3F);
    Pipe2.setTextureSize(64, 64);
    Pipe2.mirror = true;
    setRotation(Pipe2, 0F, 0F, 0F);
    ContainerLid = new ModelRenderer(this, 0, 32);
    ContainerLid.addBox(0F, 0F, 0F, 4, 1, 4);
    ContainerLid.setRotationPoint(-2F, 15F, -5F);
    ContainerLid.setTextureSize(64, 64);
    ContainerLid.mirror = true;
    setRotation(ContainerLid, 0F, 0F, 0F);
    ContainerRight = new ModelRenderer(this, 0, 38);
    ContainerRight.addBox(0F, 0F, 0F, 1, 6, 4);
    ContainerRight.setRotationPoint(2F, 16F, -5F);
    ContainerRight.setTextureSize(64, 64);
    ContainerRight.mirror = true;
    setRotation(ContainerRight, 0F, 0F, 0F);
    ContainerBottom = new ModelRenderer(this, 0, 49);
    ContainerBottom.addBox(0F, 0F, 0F, 6, 1, 6);
    ContainerBottom.setRotationPoint(-3F, 22F, -6F);
    ContainerBottom.setTextureSize(64, 64);
    ContainerBottom.mirror = true;
    setRotation(ContainerBottom, 0F, 0F, 0F);
    ContainerFront = new ModelRenderer(this, 11, 41);
    ContainerFront.addBox(0F, 0F, 0F, 6, 6, 1);
    ContainerFront.setRotationPoint(-3F, 16F, -6F);
    ContainerFront.setTextureSize(64, 64);
    ContainerFront.mirror = true;
    setRotation(ContainerFront, 0F, 0F, 0F);
    ContainerBack = new ModelRenderer(this, 11, 41);
    ContainerBack.addBox(0F, 0F, 0F, 6, 6, 1);
    ContainerBack.setRotationPoint(-3F, 16F, -1F);
    ContainerBack.setTextureSize(64, 64);
    ContainerBack.mirror = true;
    setRotation(ContainerBack, 0F, 0F, 0F);
    ContainerLeft = new ModelRenderer(this, 0, 38);
    ContainerLeft.addBox(0F, 0F, 0F, 1, 6, 4);
    ContainerLeft.setRotationPoint(-3F, 16F, -5F);
    ContainerLeft.setTextureSize(64, 64);
    setRotation(ContainerLeft, 0F, 0F, 0F);
    ContainerLeft.mirror = false;
    Decor1 = new ModelRenderer(this, 21, 20);
    Decor1.addBox(0F, 0F, 0F, 2, 2, 3);
    Decor1.setRotationPoint(4.1F, 15F, 2F);
    Decor1.setTextureSize(64, 64);
    Decor1.mirror = true;
    setRotation(Decor1, 0F, 0F, 0F);
    Decor2 = new ModelRenderer(this, 21, 20);
    Decor2.addBox(0F, 0F, 0F, 2, 2, 3);
    Decor2.setRotationPoint(-6.1F, 15F, 2F);
    Decor2.setTextureSize(64, 64);
    Decor2.mirror = true;
    setRotation(Decor2, 0F, 0F, 0F);
    BackTop = new ModelRenderer(this, 21, 26);
    BackTop.addBox(0F, 0F, 0F, 8, 1, 3);
    BackTop.setRotationPoint(-4F, 10F, 5F);
    BackTop.setTextureSize(64, 64);
    BackTop.mirror = true;
    setRotation(BackTop, 0F, 0F, 0F);
    FrontPanel1 = new ModelRenderer(this, 17, 32);
    FrontPanel1.addBox(0F, 0F, 0F, 3, 6, 2);
    FrontPanel1.setRotationPoint(-7F, 17F, -6F);
    FrontPanel1.setTextureSize(64, 64);
    FrontPanel1.mirror = true;
    setRotation(FrontPanel1, 0F, 0F, 0F);
    FrontPanel2 = new ModelRenderer(this, 17, 32);
    FrontPanel2.addBox(0F, 0F, 0F, 3, 6, 2);
    FrontPanel2.setRotationPoint(4F, 17F, -6F);
    FrontPanel2.setTextureSize(64, 64);
    FrontPanel2.mirror = true;
    setRotation(FrontPanel2, 0F, 0F, 0F);
    LeftPanel = new ModelRenderer(this, 28, 31);
    LeftPanel.addBox(0F, 0F, 0F, 3, 7, 10);
    LeftPanel.setRotationPoint(-7F, 16F, -4F);
    LeftPanel.setTextureSize(64, 64);
    LeftPanel.mirror = true;
    setRotation(LeftPanel, 0F, 0F, 0F);
    RightPanel = new ModelRenderer(this, 28, 31);
    RightPanel.addBox(0F, 0F, 0F, 3, 7, 10);
    RightPanel.setRotationPoint(4F, 16F, -4F);
    RightPanel.setTextureSize(64, 64);
    RightPanel.mirror = true;
    setRotation(RightPanel, 0F, 0F, 0F);
    BackPanel = new ModelRenderer(this, 28, 49);
    BackPanel.addBox(0F, 0F, 0F, 10, 12, 3);
    BackPanel.setRotationPoint(-5F, 11F, 5F);
    BackPanel.setTextureSize(64, 64);
    BackPanel.mirror = true;
    setRotation(BackPanel, 0F, 0F, 0F);
View Full Code Here

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

    Base = new ModelRenderer(this, 0, 0);
    Base.addBox(-8F, 0F, -8F, 16, 6, 16);
    Base.setRotationPoint(0F, 18F, 0F);
    Base.setTextureSize(128, 64);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);
    TowerFront = new ModelRenderer(this, 104, 0);
    TowerFront.addBox(-5F, -62F, -7F, 10, 63, 2);
    TowerFront.setRotationPoint(0F, 19F, 0F);
    TowerFront.setTextureSize(128, 64);
    TowerFront.mirror = true;
    setRotation(TowerFront, -0.0872665F, 0F, 0F);
    TowerLeft = new ModelRenderer(this, 104, 0);
    TowerLeft.addBox(-5F, -62F, 5F, 10, 63, 2);
    TowerLeft.setRotationPoint(0F, 19F, 0F);
    TowerLeft.setTextureSize(128, 64);
    TowerLeft.mirror = true;
    setRotation(TowerLeft, 0.0872665F, 1.570796F, 0F);
    TowerBack = new ModelRenderer(this, 104, 0);
    TowerBack.addBox(-5F, -62F, 5F, 10, 63, 2);
    TowerBack.setRotationPoint(0F, 19F, 0F);
    TowerBack.setTextureSize(128, 64);
    TowerBack.mirror = true;
    setRotation(TowerBack, 0.0872665F, 0F, 0F);
    TowerRight = new ModelRenderer(this, 104, 0);
    TowerRight.addBox(-5F, -62F, 5F, 10, 63, 2);
    TowerRight.setRotationPoint(0F, 19F, 0F);
    TowerRight.setTextureSize(128, 64);
    TowerRight.mirror = true;
    setRotation(TowerRight, 0.0872665F, -1.570796F, 0F);
    TowerMoterFront = new ModelRenderer(this, 40, 38);
    TowerMoterFront.addBox(-6F, -7.3F, -5F, 12, 9, 6);
    TowerMoterFront.setRotationPoint(0F, -45F, -1F);
    TowerMoterFront.setTextureSize(128, 64);
    TowerMoterFront.mirror = true;
    setRotation(TowerMoterFront, 0F, 0F, 0F);
    TowerBaseMotor = new ModelRenderer(this, 65, 0);
    TowerBaseMotor.addBox(-6F, -0.3F, 0F, 12, 2, 7);
    TowerBaseMotor.setRotationPoint(0F, -45F, 0F);
    TowerBaseMotor.setTextureSize(128, 64);
    TowerBaseMotor.mirror = true;
    setRotation(TowerBaseMotor, 0F, 0F, 0F);
    TowerBaseMotorBack = new ModelRenderer(this, 65, 30);
    TowerBaseMotorBack.addBox(-4F, -3.3F, 7F, 8, 4, 3);
    TowerBaseMotorBack.setRotationPoint(0F, -45F, 0F);
    TowerBaseMotorBack.setTextureSize(128, 64);
    TowerBaseMotorBack.mirror = true;
    setRotation(TowerBaseMotorBack, 0F, 0F, 0F);
    TowerMotor = new ModelRenderer(this, 65, 15);
    TowerMotor.addBox(-4F, -6.3F, 0F, 8, 6, 7);
    TowerMotor.setRotationPoint(0F, -45F, 0F);
    TowerMotor.setTextureSize(128, 64);
    TowerMotor.mirror = true;
    setRotation(TowerMotor, 0F, 0F, 0F);
    Rotor = new ModelRenderer(this, 88, 30);
    Rotor.addBox(-0.5F, -0.5F, 0F, 1, 1, 3);
    Rotor.setRotationPoint(0F, -48F, -8F);
    Rotor.setTextureSize(128, 64);
    Rotor.mirror = true;
    setRotation(Rotor, 0F, 0F, 0F);
    RotorCover = new ModelRenderer(this, 88, 35);
    RotorCover.addBox(-2F, -2F, -1F, 4, 4, 1);
    RotorCover.setRotationPoint(0F, -48F, -8F);
    RotorCover.setTextureSize(128, 64);
    RotorCover.mirror = true;
    setRotation(RotorCover, 0F, 0F, 0F);
    BladeBaseC = new ModelRenderer(this, 0, 54);
    BladeBaseC.addBox(1F, -1F, 0F, 32, 2, 1);
    BladeBaseC.setRotationPoint(0F, -48F, -8F);
    BladeBaseC.setTextureSize(128, 64);
    BladeBaseC.mirror = true;
    setRotation(BladeBaseC, 0F, 0F, getRotation(120));
    BladeBaseB = new ModelRenderer(this, 0, 54);
    BladeBaseB.addBox(1F, -1F, 0F, 32, 2, 1);
    BladeBaseB.setRotationPoint(0F, -48F, -8F);
    BladeBaseB.setTextureSize(128, 64);
    BladeBaseB.mirror = true;
    setRotation(BladeBaseB, 0F, 0F, 0F);
    BladeBaseA = new ModelRenderer(this, 0, 54);
    BladeBaseA.addBox(1F, -1F, 0F, 32, 2, 1);
    BladeBaseA.setRotationPoint(0F, -48F, -8F);
    BladeBaseA.setTextureSize(128, 64);
    BladeBaseA.mirror = true;
    setRotation(BladeBaseA, 0F, 0F, getRotation(240));
View Full Code Here

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

    Base = new ModelRenderer(this, 0, 0);
    Base.addBox(0F, 0F, 0F, 16, 1, 16);
    Base.setRotationPoint(-8F, 23F, -8F);
    Base.setTextureSize(128, 128);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);
    GasRight = new ModelRenderer(this, 64, 12);
    GasRight.addBox(0F, 0F, 0F, 1, 6, 6);
    GasRight.setRotationPoint(-8F, 13F, -3F);
    GasRight.setTextureSize(128, 128);
    GasRight.mirror = true;
    setRotation(GasRight, 0F, 0F, 0F);
    GasLeft = new ModelRenderer(this, 64, 12);
    GasLeft.addBox(0F, 0F, 0F, 1, 6, 6);
    GasLeft.setRotationPoint(7F, 13F, -3F);
    GasLeft.setTextureSize(128, 128);
    GasLeft.mirror = true;
    setRotation(GasLeft, 0F, 0F, 0F);
    GasConnector = new ModelRenderer(this, 22, 38);
    GasConnector.addBox(0F, 0F, 0F, 14, 2, 2);
    GasConnector.setRotationPoint(-7F, 15F, -1F);
    GasConnector.setTextureSize(128, 128);
    GasConnector.mirror = true;
    setRotation(GasConnector, 0F, 0F, 0F);
    FluidBack = new ModelRenderer(this, 50, 24);
    FluidBack.addBox(0F, 0F, 0F, 8, 8, 1);
    FluidBack.setRotationPoint(-4F, 12F, 7F);
    FluidBack.setTextureSize(128, 128);
    FluidBack.mirror = true;
    setRotation(FluidBack, 0F, 0F, 0F);
    CoreBase = new ModelRenderer(this, 64, 0);
    CoreBase.addBox(0F, 0F, 0F, 10, 1, 11);
    CoreBase.setRotationPoint(-5F, 22F, -6F);
    CoreBase.setTextureSize(128, 128);
    CoreBase.mirror = true;
    setRotation(CoreBase, 0F, 0F, 0F);
    Core = new ModelRenderer(this, 0, 17);
    Core.addBox(0F, 0F, 0F, 12, 8, 13);
    Core.setRotationPoint(-6F, 14F, -7F);
    Core.setTextureSize(128, 128);
    Core.mirror = true;
    setRotation(Core, 0F, 0F, 0F);
    PoleRF = new ModelRenderer(this, 38, 42);
    PoleRF.addBox(0F, 0F, 0F, 1, 6, 1);
    PoleRF.setRotationPoint(-6F, 8F, -7F);
    PoleRF.setTextureSize(128, 128);
    PoleRF.mirror = true;
    setRotation(PoleRF, 0F, 0F, 0F);
    PoleFL = new ModelRenderer(this, 38, 42);
    PoleFL.addBox(0F, 0F, 0F, 1, 6, 1);
    PoleFL.setRotationPoint(5F, 8F, -7F);
    PoleFL.setTextureSize(128, 128);
    PoleFL.mirror = true;
    setRotation(PoleFL, 0F, 0F, 0F);
    PoleLB = new ModelRenderer(this, 38, 42);
    PoleLB.addBox(0F, 0F, 0F, 1, 6, 1);
    PoleLB.setRotationPoint(5F, 8F, 5F);
    PoleLB.setTextureSize(128, 128);
    PoleLB.mirror = true;
    setRotation(PoleLB, 0F, 0F, 0F);
    PoleBR = new ModelRenderer(this, 38, 42);
    PoleBR.addBox(0F, -2F, 0F, 1, 6, 1);
    PoleBR.setRotationPoint(-6F, 10F, 5F);
    PoleBR.setTextureSize(128, 128);
    PoleBR.mirror = true;
    setRotation(PoleBR, 0F, 0F, 0F);
    PoleR = new ModelRenderer(this, 0, 57);
    PoleR.addBox(0F, 0F, 0F, 1, 1, 11);
    PoleR.setRotationPoint(-6F, 8F, -6F);
    PoleR.setTextureSize(128, 128);
    PoleR.mirror = true;
    setRotation(PoleR, 0F, 0F, 0F);
    PoleL = new ModelRenderer(this, 0, 57);
    PoleL.addBox(0F, 0F, 0F, 1, 1, 11);
    PoleL.setRotationPoint(5F, 8F, -6F);
    PoleL.setTextureSize(128, 128);
    PoleL.mirror = true;
    setRotation(PoleL, 0F, 0F, 0F);
    FrontPanel = new ModelRenderer(this, 0, 38);
    FrontPanel.addBox(0F, 0F, 0F, 10, 12, 1);
    FrontPanel.setRotationPoint(-5F, 9F, -8F);
    FrontPanel.setTextureSize(128, 128);
    FrontPanel.mirror = true;
    setRotation(FrontPanel, 0F, 0F, 0F);
    TubeThing = new ModelRenderer(this, 22, 42);
    TubeThing.addBox(0F, 0F, 0F, 2, 2, 6);
    TubeThing.setRotationPoint(-1F, 12F, -7F);
    TubeThing.setTextureSize(128, 128);
    TubeThing.mirror = true;
    setRotation(TubeThing, 0F, 0F, 0F);
    CenterCore = new ModelRenderer(this, 84, 12);
    CenterCore.addBox(0F, 0F, 0F, 4, 1, 4);
    CenterCore.setRotationPoint(-2F, 13F, -3F);
    CenterCore.setTextureSize(128, 128);
    CenterCore.mirror = true;
    setRotation(CenterCore, 0F, 0F, 0F);
    BackConnector = new ModelRenderer(this, 78, 12);
    BackConnector.addBox(0F, 0F, 0F, 2, 5, 1);
    BackConnector.setRotationPoint(-1F, 13F, 6F);
    BackConnector.setTextureSize(128, 128);
    BackConnector.mirror = true;
    setRotation(BackConnector, 0F, 0F, 0F);
    BackCore = new ModelRenderer(this, 0, 51);
    BackCore.addBox(0F, 0F, 0F, 2, 1, 5);
    BackCore.setRotationPoint(-1F, 13F, 1F);
    BackCore.setTextureSize(128, 128);
    BackCore.mirror = true;
    setRotation(BackCore, 0F, 0F, 0F);
    TopPanel = new ModelRenderer(this, 0, 69);
    TopPanel.addBox(0F, 0F, 0F, 10, 1, 13);
    TopPanel.setRotationPoint(-5F, 8F, -7F);
    TopPanel.setTextureSize(128, 128);
    TopPanel.mirror = true;
    setRotation(TopPanel, 0F, 0F, 0F);
View Full Code Here

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

    Panel1 = new ModelRenderer(this, 0, 22);
    Panel1.addBox(0F, 0F, 0F, 5, 13, 1);
    Panel1.setRotationPoint(-2.5F, 11F, 3.5F);
    Panel1.setTextureSize(32, 64);
    Panel1.mirror = true;
    setRotation(Panel1, 0F, 0F, 0F);
    Panel2 = new ModelRenderer(this, 0, 37);
    Panel2.addBox(0F, 0F, 0F, 1, 13, 5);
    Panel2.setRotationPoint(3.5F, 11F, -2.5F);
    Panel2.setTextureSize(32, 64);
    Panel2.mirror = true;
    setRotation(Panel2, 0F, 0F, 0F);
    Panel3 = new ModelRenderer(this, 0, 22);
    Panel3.addBox(0F, 0F, 0F, 5, 13, 1);
    Panel3.setRotationPoint(-2.5F, 11F, -4.5F);
    Panel3.setTextureSize(32, 64);
    Panel3.mirror = true;
    setRotation(Panel3, 0F, 0F, 0F);
    Tank = new ModelRenderer(this, 0, 0);
    Tank.addBox(0F, 0F, 0F, 7, 14, 7);
    Tank.setRotationPoint(-3.5F, 10F, -3.5F);
    Tank.setTextureSize(32, 64);
    Tank.mirror = true;
    setRotation(Tank, 0F, 0F, 0F);
    Panel4 = new ModelRenderer(this, 0, 37);
    Panel4.addBox(0F, 0F, 0F, 1, 13, 5);
    Panel4.setRotationPoint(-4.5F, 11F, -2.5F);
    Panel4.setTextureSize(32, 64);
    Panel4.mirror = true;
    setRotation(Panel4, 0F, 0F, 0F);
    Top = new ModelRenderer(this, 13, 22);
    Top.addBox(0F, 0F, 0F, 2, 2, 2);
    Top.setRotationPoint(-1F, 8F, -1F);
    Top.setTextureSize(32, 64);
    Top.mirror = true;
    setRotation(Top, 0F, 0F, 0F);
    Exit = new ModelRenderer(this, 22, 22);
    Exit.addBox(0F, 0F, 0F, 1, 1, 1);
    Exit.setRotationPoint(1F, 8.2F, -0.5F);
    Exit.setTextureSize(32, 64);
    Exit.mirror = true;
    setRotation(Exit, 0F, 0F, 0F);
View Full Code Here

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

    Packtop = new ModelRenderer(this, 92, 28);
    Packtop.addBox(-4F, 0F, 4F, 8, 4, 1);
    Packtop.setRotationPoint(0F, 0F, 0F);
    Packtop.setTextureSize(128, 64);
    Packtop.mirror = true;
    setRotation(Packtop, 0.2094395F, 0F, 0F);
    Packbottom = new ModelRenderer(this, 92, 42);
    Packbottom.addBox(-4F, 4.1F, 1.5F, 8, 4, 4);
    Packbottom.setRotationPoint(0F, 0F, 0F);
    Packbottom.setTextureSize(128, 64);
    Packbottom.mirror = true;
    setRotation(Packbottom, -0.0872665F, 0F, 0F);
    Thrusterleft = new ModelRenderer(this, 69, 30);
    Thrusterleft.addBox(7.8F, 1.5F, -2.4F, 3, 3, 3);
    Thrusterleft.setRotationPoint(0F, 0F, 0F);
    Thrusterleft.setTextureSize(128, 64);
    Thrusterleft.mirror = true;
    setRotation(Thrusterleft, 0.7853982F, -0.715585F, 0.3490659F);
    Thrusterright = new ModelRenderer(this, 69, 30);
    Thrusterright.addBox(-10.8F, 1.5F, -2.4F, 3, 3, 3);
    Thrusterright.setRotationPoint(0F, 0F, 0F);
    Thrusterright.setTextureSize(128, 64);
    Thrusterright.mirror = true;
    setRotation(Thrusterright, 0.7853982F, 0.715585F, -0.3490659F);
    Fueltuberight = new ModelRenderer(this, 92, 23);
    Fueltuberight.addBox(-11.2F, 2F, -1.9F, 8, 2, 2);
    Fueltuberight.setRotationPoint(0F, 0F, 0F);
    Fueltuberight.setTextureSize(128, 64);
    Fueltuberight.mirror = true;
    setRotation(Fueltuberight, 0.7853982F, 0.715585F, -0.3490659F);
    Fueltubeleft = new ModelRenderer(this, 92, 23);
    Fueltubeleft.addBox(3.2F, 2F, -1.9F, 8, 2, 2);
    Fueltubeleft.setRotationPoint(0F, 0F, 0F);
    Fueltubeleft.setTextureSize(128, 64);
    Fueltubeleft.mirror = true;
    setRotation(Fueltubeleft, 0.7853982F, -0.715585F, 0.3490659F);
    Packmid = new ModelRenderer(this, 92, 34);
    Packmid.addBox(-4F, 3.3F, 1.5F, 8, 1, 4);
    Packmid.setRotationPoint(0F, 0F, 0F);
    Packmid.setTextureSize(128, 64);
    Packmid.mirror = true;
    setRotation(Packmid, 0F, 0F, 0F);
    Packcore = new ModelRenderer(this, 69, 2);
    Packcore.addBox(-3.5F, 3F, 2F, 7, 1, 3);
    Packcore.setRotationPoint(0F, 0F, 0F);
    Packcore.setTextureSize(128, 64);
    Packcore.mirror = true;
    setRotation(Packcore, 0F, 0F, 0F);
    WingsupportL = new ModelRenderer(this, 71, 55);
    WingsupportL.addBox(3F, -1F, 2.2F, 7, 2, 2);
    WingsupportL.setRotationPoint(0F, 0F, 0F);
    WingsupportL.setTextureSize(128, 64);
    WingsupportL.mirror = true;
    setRotation(WingsupportL, 0F, 0F, 0.2792527F);
    WingsupportR = new ModelRenderer(this, 71, 55);
    WingsupportR.addBox(-10F, -1F, 2.2F, 7, 2, 2);
    WingsupportR.setRotationPoint(0F, 0F, 0F);
    WingsupportR.setTextureSize(128, 64);
    WingsupportR.mirror = true;
    setRotation(WingsupportR, 0F, 0F, -0.2792527F);
    Packtoprear = new ModelRenderer(this, 106, 28);
    Packtoprear.addBox(-4F, 1F, 1F, 8, 3, 3);
    Packtoprear.setRotationPoint(0F, 0F, 0F);
    Packtoprear.setTextureSize(128, 64);
    Packtoprear.mirror = true;
    setRotation(Packtoprear, 0.2094395F, 0F, 0F);
    ExtendosupportL = new ModelRenderer(this, 94, 16);
    ExtendosupportL.addBox(8F, -0.2F, 2.5F, 9, 1, 1);
    ExtendosupportL.setRotationPoint(0F, 0F, 0F);
    ExtendosupportL.setTextureSize(128, 64);
    ExtendosupportL.mirror = true;
    setRotation(ExtendosupportL, 0F, 0F, 0.2792527F);
    ExtendosupportR = new ModelRenderer(this, 94, 16);
    ExtendosupportR.addBox(-17F, -0.2F, 2.5F, 9, 1, 1);
    ExtendosupportR.setRotationPoint(0F, 0F, 0F);
    ExtendosupportR.setTextureSize(128, 64);
    ExtendosupportR.mirror = true;
    setRotation(ExtendosupportR, 0F, 0F, -0.2792527F);
    WingbladeL = new ModelRenderer(this, 62, 5);
    WingbladeL.addBox(3.3F, 1.1F, 3F, 14, 2, 0);
    WingbladeL.setRotationPoint(0F, 0F, 0F);
    WingbladeL.setTextureSize(128, 64);
    WingbladeL.mirror = true;
    setRotation(WingbladeL, 0F, 0F, 0.2094395F);
    WingbladeR = new ModelRenderer(this, 62, 5);
    WingbladeR.addBox(-17.3F, 1.1F, 3F, 14, 2, 0);
    WingbladeR.setRotationPoint(0F, 0F, 0F);
    WingbladeR.setTextureSize(128, 64);
    WingbladeR.mirror = true;
    setRotation(WingbladeR, 0F, 0F, -0.2094395F);
    Packdoodad2 = new ModelRenderer(this, 116, 0);
    Packdoodad2.addBox(1F, 0.5F, 4.2F, 2, 1, 1);
    Packdoodad2.setRotationPoint(0F, 0F, 0F);
    Packdoodad2.setTextureSize(128, 64);
    Packdoodad2.mirror = true;
    setRotation(Packdoodad2, 0.2094395F, 0F, 0F);
    Packdoodad3 = new ModelRenderer(this, 116, 0);
    Packdoodad3.addBox(1F, 2F, 4.2F, 2, 1, 1);
    Packdoodad3.setRotationPoint(0F, 0F, 0F);
    Packdoodad3.setTextureSize(128, 64);
    Packdoodad3.mirror = true;
    setRotation(Packdoodad3, 0.2094395F, 0F, 0F);
    Bottomthruster = new ModelRenderer(this, 68, 26);
    Bottomthruster.addBox(-3F, 8F, 2.333333F, 6, 1, 2);
    Bottomthruster.setRotationPoint(0F, 0F, 0F);
    Bottomthruster.setTextureSize(128, 64);
    Bottomthruster.mirror = true;
    setRotation(Bottomthruster, 0F, 0F, 0F);
    light1 = new ModelRenderer(this, 55, 2);
    light1.addBox(2F, 6.55F, 4F, 1, 1, 1);
    light1.setRotationPoint(0F, 0F, 0F);
    light1.setTextureSize(128, 64);
    light1.mirror = true;
    setRotation(light1, 0F, 0F, 0F);
    light2 = new ModelRenderer(this, 55, 2);
    light2.addBox(0F, 6.55F, 4F, 1, 1, 1);
    light2.setRotationPoint(0F, 0F, 0F);
    light2.setTextureSize(128, 64);
    light2.mirror = true;
    setRotation(light2, 0F, 0F, 0F);
    light3 = new ModelRenderer(this, 55, 2);
    light3.addBox(-3F, 6.55F, 4F, 1, 1, 1);
    light3.setRotationPoint(0F, 0F, 0F);
    light3.setTextureSize(128, 64);
    light3.mirror = true;
    setRotation(light3, 0F, 0F, 0F);
    Chestplate = new ModelRenderer(this, 104, 22);
    Chestplate.addBox(-4F, 1.333333F, -3F, 8, 4, 3);
    Chestplate.setRotationPoint(0F, 0F, 0F);
    Chestplate.setTextureSize(128, 64);
    Chestplate.mirror = true;
    setRotation(Chestplate, -0.3665191F, 0F, 0F);
    Leftguardtop = new ModelRenderer(this, 87, 31);
    Leftguardtop.addBox(0.95F, 3F, -5F, 3, 4, 2);
    Leftguardtop.setRotationPoint(0F, 0F, 0F);
    Leftguardtop.setTextureSize(128, 64);
    Leftguardtop.mirror = true;
    setRotation(Leftguardtop, 0.2094395F, 0F, 0F);
    Leftguardtop.mirror = false;
    Rightguardtop = new ModelRenderer(this, 87, 31);
    Rightguardtop.addBox(-3.95F, 3F, -5F, 3, 4, 2);
    Rightguardtop.setRotationPoint(0F, 0F, 0F);
    Rightguardtop.setTextureSize(128, 64);
    Rightguardtop.mirror = true;
    setRotation(Rightguardtop, 0.2094395F, 0F, 0F);
    middleplate = new ModelRenderer(this, 93, 20);
    middleplate.addBox(-1.5F, 3F, -6.2F, 3, 5, 3);
    middleplate.setRotationPoint(0F, 0F, 0F);
    middleplate.setTextureSize(128, 64);
    middleplate.mirror = true;
    setRotation(middleplate, 0.2094395F, 0F, 0F);
    middleplate.mirror = false;
    Rightguardbot = new ModelRenderer(this, 84, 30);
    Rightguardbot.addBox(-3.5F, 5.5F, -6.5F, 2, 2, 2);
    Rightguardbot.setRotationPoint(0F, 0F, 0F);
    Rightguardbot.setTextureSize(128, 64);
    Rightguardbot.mirror = true;
    setRotation(Rightguardbot, 0.4712389F, 0F, 0F);
    Rightguardbot.mirror = false;
    Leftguardbot = new ModelRenderer(this, 84, 30);
    Leftguardbot.addBox(1.5F, 5.5F, -6.5F, 2, 2, 2);
    Leftguardbot.setRotationPoint(0F, 0F, 0F);
    Leftguardbot.setTextureSize(128, 64);
    Leftguardbot.mirror = true;
    setRotation(Leftguardbot, 0.4712389F, 0F, 0F);
    Rightlight = new ModelRenderer(this, 81, 0);
    Rightlight.addBox(-3F, 4F, -4.5F, 1, 3, 1);
    Rightlight.setRotationPoint(0F, 0F, 0F);
    Rightlight.setTextureSize(128, 64);
    Rightlight.mirror = true;
    setRotation(Rightlight, 0F, 0F, 0F);
    Leftlight = new ModelRenderer(this, 81, 0);
    Leftlight.addBox(2F, 4F, -4.5F, 1, 3, 1);
    Leftlight.setRotationPoint(0F, 0F, 0F);
    Leftlight.setTextureSize(128, 64);
    Leftlight.mirror = true;
    setRotation(Leftlight, 0F, 0F, 0F);
View Full Code Here

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

    Corner1 = new ModelRenderer(this, 0, 17);
    Corner1.addBox(0F, 0F, 0F, 3, 3, 3);
    Corner1.setRotationPoint(5F, 21F, -8F);
    Corner1.setTextureSize(64, 64);
    Corner1.mirror = true;
    setRotation(Corner1, 0F, 0F, 0F);
    Corner2 = new ModelRenderer(this, 0, 17);
    Corner2.addBox(0F, 0F, 0F, 3, 3, 3);
    Corner2.setRotationPoint(-8F, 21F, -8F);
    Corner2.setTextureSize(64, 64);
    Corner2.mirror = true;
    setRotation(Corner2, 0F, 0F, 0F);
    Corner3 = new ModelRenderer(this, 0, 17);
    Corner3.addBox(0F, 0F, 0F, 3, 3, 3);
    Corner3.setRotationPoint(5F, 21F, 5F);
    Corner3.setTextureSize(64, 64);
    Corner3.mirror = true;
    setRotation(Corner3, 0F, 0F, 0F);
    Corner4 = new ModelRenderer(this, 0, 17);
    Corner4.addBox(0F, 0F, 0F, 3, 3, 3);
    Corner4.setRotationPoint(-8F, 21F, 5F);
    Corner4.setTextureSize(64, 64);
    Corner4.mirror = true;
    setRotation(Corner4, 0F, 0F, 0F);
    Corner5 = new ModelRenderer(this, 0, 17);
    Corner5.addBox(0F, 0F, 0F, 3, 3, 3);
    Corner5.setRotationPoint(5F, 8F, -8F);
    Corner5.setTextureSize(64, 64);
    Corner5.mirror = true;
    setRotation(Corner5, 0F, 0F, 0F);
    Corner6 = new ModelRenderer(this, 0, 17);
    Corner6.addBox(0F, 0F, 0F, 3, 3, 3);
    Corner6.setRotationPoint(-8F, 8F, -8F);
    Corner6.setTextureSize(64, 64);
    Corner6.mirror = true;
    setRotation(Corner6, 0F, 0F, 0F);
    Corner7 = new ModelRenderer(this, 0, 17);
    Corner7.addBox(0F, 0F, 0F, 3, 3, 3);
    Corner7.setRotationPoint(-8F, 8F, 5F);
    Corner7.setTextureSize(64, 64);
    Corner7.mirror = true;
    setRotation(Corner7, 0F, 0F, 0F);
    Corner8 = new ModelRenderer(this, 0, 17);
    Corner8.addBox(0F, 0F, 0F, 3, 3, 3);
    Corner8.setRotationPoint(5F, 8F, 5F);
    Corner8.setTextureSize(64, 64);
    Corner8.mirror = true;
    setRotation(Corner8, 0F, 0F, 0F);
    Frame4 = new ModelRenderer(this, 0, 24);
    Frame4.addBox(0F, 0F, 0F, 3, 10, 3);
    Frame4.setRotationPoint(5F, 11F, -8F);
    Frame4.setTextureSize(64, 64);
    Frame4.mirror = true;
    setRotation(Frame4, 0F, 0F, 0F);
    Frame3 = new ModelRenderer(this, 0, 24);
    Frame3.addBox(0F, 0F, 0F, 3, 10, 3);
    Frame3.setRotationPoint(-8F, 11F, -8F);
    Frame3.setTextureSize(64, 64);
    Frame3.mirror = true;
    setRotation(Frame3, 0F, 0F, 0F);
    Frame2 = new ModelRenderer(this, 0, 24);
    Frame2.addBox(0F, 0F, 0F, 3, 10, 3);
    Frame2.setRotationPoint(-8F, 11F, 5F);
    Frame2.setTextureSize(64, 64);
    Frame2.mirror = true;
    setRotation(Frame2, 0F, 0F, 0F);
    Frame1 = new ModelRenderer(this, 0, 24);
    Frame1.addBox(0F, 0F, 0F, 3, 10, 3);
    Frame1.setRotationPoint(5F, 11F, 5F);
    Frame1.setTextureSize(64, 64);
    Frame1.mirror = true;
    setRotation(Frame1, 0F, 0F, 0F);
    Connection = new ModelRenderer(this, 0, 7);
    Connection.addBox(0F, 0F, 0F, 10, 6, 1);
    Connection.setRotationPoint(-5F, 13F, -8F);
    Connection.setTextureSize(64, 64);
    Connection.mirror = true;
    setRotation(Connection, 0F, 0F, 0F);
    HoriPole1 = new ModelRenderer(this, 27, 0);
    HoriPole1.addBox(0F, 0F, 0F, 3, 3, 10);
    HoriPole1.setRotationPoint(5F, 21F, -5F);
    HoriPole1.setTextureSize(64, 64);
    HoriPole1.mirror = true;
    setRotation(HoriPole1, 0F, 0F, 0F);
    HoriPole2 = new ModelRenderer(this, 0, 0);
    HoriPole2.addBox(0F, 0F, 0F, 10, 3, 3);
    HoriPole2.setRotationPoint(-5F, 21F, 5F);
    HoriPole2.setTextureSize(64, 64);
    HoriPole2.mirror = true;
    setRotation(HoriPole2, 0F, 0F, 0F);
    HoriPole3 = new ModelRenderer(this, 27, 0);
    HoriPole3.addBox(0F, 0F, 0F, 3, 3, 10);
    HoriPole3.setRotationPoint(-8F, 21F, -5F);
    HoriPole3.setTextureSize(64, 64);
    HoriPole3.mirror = true;
    setRotation(HoriPole3, 0F, 0F, 0F);
    HoriPole4 = new ModelRenderer(this, 0, 0);
    HoriPole4.addBox(0F, 0F, 0F, 10, 3, 3);
    HoriPole4.setRotationPoint(-5F, 21F, -8F);
    HoriPole4.setTextureSize(64, 64);
    HoriPole4.mirror = true;
    setRotation(HoriPole4, 0F, 0F, 0F);
    HoriPole5 = new ModelRenderer(this, 27, 0);
    HoriPole5.addBox(0F, 0F, 0F, 3, 3, 10);
    HoriPole5.setRotationPoint(5F, 8F, -5F);
    HoriPole5.setTextureSize(64, 64);
    HoriPole5.mirror = true;
    setRotation(HoriPole5, 0F, 0F, 0F);
    HoriPole6 = new ModelRenderer(this, 0, 0);
    HoriPole6.addBox(0F, 0F, 0F, 10, 3, 3);
    HoriPole6.setRotationPoint(-5F, 8F, 5F);
    HoriPole6.setTextureSize(64, 64);
    HoriPole6.mirror = true;
    setRotation(HoriPole6, 0F, 0F, 0F);
    HoriPole7 = new ModelRenderer(this, 27, 0);
    HoriPole7.addBox(0F, 0F, 0F, 3, 3, 10);
    HoriPole7.setRotationPoint(-8F, 8F, -5F);
    HoriPole7.setTextureSize(64, 64);
    HoriPole7.mirror = true;
    setRotation(HoriPole7, 0F, 0F, 0F);
    HoriPole8 = new ModelRenderer(this, 0, 0);
    HoriPole8.addBox(0F, 0F, 0F, 10, 3, 3);
    HoriPole8.setRotationPoint(-5F, 8F, -8F);
    HoriPole8.setTextureSize(64, 64);
    HoriPole8.mirror = true;
    setRotation(HoriPole8, 0F, 0F, 0F);
View Full Code Here

    public ModelEnergyCore()
    {
      textureWidth = 32;
      textureHeight = 32;

      cube = new ModelRenderer(this, 0, 0);
      cube.addBox(-8, -8, -8, 16, 16, 16);
      cube.setTextureSize(32, 32);
      cube.mirror = true;
    }
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.