Package net.minecraft.client.model

Examples of net.minecraft.client.model.ModelRenderer


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

    Base = new ModelRenderer(this, 16, 0);
    Base.addBox(0F, 0F, 0F, 14, 1, 14);
    Base.setRotationPoint(-7F, 23F, -7F);
    Base.setTextureSize(128, 64);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);
    Base2 = new ModelRenderer(this, 72, 0);
    Base2.addBox(0F, 0F, 0F, 14, 10, 1);
    Base2.setRotationPoint(-7F, 8F, 6F);
    Base2.setTextureSize(128, 64);
    Base2.mirror = true;
    setRotation(Base2, 0F, 0F, 0F);
    Base2.mirror = false;
    IO1 = new ModelRenderer(this, 9, 17);
    IO1.addBox(0F, 0F, 0F, 1, 8, 8);
    IO1.setRotationPoint(-8F, 12F, -4F);
    IO1.setTextureSize(128, 64);
    IO1.mirror = true;
    setRotation(IO1, 0F, 0F, 0F);
    IO2 = new ModelRenderer(this, 9, 17);
    IO2.addBox(0F, 0F, 0F, 1, 8, 8);
    IO2.setRotationPoint(7F, 12F, -4F);
    IO2.setTextureSize(128, 64);
    IO2.mirror = true;
    setRotation(IO2, 0F, 0F, 0F);
    IO3 = new ModelRenderer(this, 0, 42);
    IO3.addBox(0F, 0F, 0F, 12, 1, 8);
    IO3.setRotationPoint(-6F, 8F, -4F);
    IO3.setTextureSize(128, 64);
    IO3.mirror = true;
    setRotation(IO3, 0F, 0F, 0F);
    Base3 = new ModelRenderer(this, 72, 0);
    Base3.addBox(0F, 0F, 0F, 14, 10, 1);
    Base3.setRotationPoint(-7F, 8F, -7F);
    Base3.setTextureSize(128, 64);
    Base3.mirror = true;
    setRotation(Base3, 0F, 0F, 0F);
    Base4 = new ModelRenderer(this, 72, 12);
    Base4.addBox(0F, 0F, 0F, 1, 10, 12);
    Base4.setRotationPoint(6F, 8F, -6F);
    Base4.setTextureSize(128, 64);
    Base4.mirror = true;
    setRotation(Base4, 0F, 0F, 0F);
    Base5 = new ModelRenderer(this, 72, 12);
    Base5.addBox(0F, 0F, 0F, 1, 10, 12);
    Base5.setRotationPoint(-7F, 8F, -6F);
    Base5.setTextureSize(128, 64);
    Base5.mirror = true;
    setRotation(Base5, 0F, 0F, 0F);
    Base6 = new ModelRenderer(this, 16, 0);
    Base6.addBox(0F, 0F, 0F, 14, 1, 14);
    Base6.setRotationPoint(-7F, 18F, -7F);
    Base6.setTextureSize(128, 64);
    Base6.mirror = true;
    setRotation(Base6, 0F, 0F, 0F);
    Can1B = new ModelRenderer(this, 0, 0);
    Can1B.addBox(0F, 0F, 0F, 4, 1, 4);
    Can1B.setRotationPoint(2F, 22F, 2F);
    Can1B.setTextureSize(128, 64);
    Can1B.mirror = true;
    setRotation(Can1B, 0F, 0F, 0F);
    Can1T = new ModelRenderer(this, 0, 0);
    Can1T.addBox(0F, 0F, 0F, 4, 1, 4);
    Can1T.setRotationPoint(2F, 19F, 2F);
    Can1T.setTextureSize(128, 64);
    Can1T.mirror = true;
    setRotation(Can1T, 0F, 0F, 0F);
    Can1Side3 = new ModelRenderer(this, 0, 0);
    Can1Side3.addBox(0F, 0F, 0F, 1, 2, 2);
    Can1Side3.setRotationPoint(5F, 20F, 3F);
    Can1Side3.setTextureSize(128, 64);
    Can1Side3.mirror = true;
    setRotation(Can1Side3, 0F, 0F, 0F);
    Can1Side1 = new ModelRenderer(this, 0, 0);
    Can1Side1.addBox(0F, 0F, 0F, 4, 2, 1);
    Can1Side1.setRotationPoint(2F, 20F, 5F);
    Can1Side1.setTextureSize(128, 64);
    Can1Side1.mirror = true;
    setRotation(Can1Side1, 0F, 0F, 0F);
    Can1Side2 = new ModelRenderer(this, 0, 0);
    Can1Side2.addBox(0F, 0F, 0F, 4, 2, 1);
    Can1Side2.setRotationPoint(2F, 20F, 2F);
    Can1Side2.setTextureSize(128, 64);
    Can1Side2.mirror = true;
    setRotation(Can1Side2, 0F, 0F, 0F);
    Can1Side4 = new ModelRenderer(this, 0, 0);
    Can1Side4.addBox(0F, 0F, 0F, 1, 2, 2);
    Can1Side4.setRotationPoint(2F, 20F, 3F);
    Can1Side4.setTextureSize(128, 64);
    Can1Side4.mirror = true;
    setRotation(Can1Side4, 0F, 0F, 0F);
    Can2Side4 = new ModelRenderer(this, 0, 0);
    Can2Side4.addBox(0F, 0F, 0F, 1, 2, 2);
    Can2Side4.setRotationPoint(-6F, 20F, 3F);
    Can2Side4.setTextureSize(128, 64);
    Can2Side4.mirror = true;
    setRotation(Can2Side4, 0F, 0F, 0F);
    Can3Side3 = new ModelRenderer(this, 0, 0);
    Can3Side3.addBox(0F, 0F, 0F, 1, 2, 2);
    Can3Side3.setRotationPoint(5F, 20F, -5F);
    Can3Side3.setTextureSize(128, 64);
    Can3Side3.mirror = true;
    setRotation(Can3Side3, 0F, 0F, 0F);
    Can2Side2 = new ModelRenderer(this, 0, 0);
    Can2Side2.addBox(0F, 0F, 0F, 4, 2, 1);
    Can2Side2.setRotationPoint(-6F, 20F, 2F);
    Can2Side2.setTextureSize(128, 64);
    Can2Side2.mirror = true;
    setRotation(Can2Side2, 0F, 0F, 0F);
    Can2Side3 = new ModelRenderer(this, 0, 0);
    Can2Side3.addBox(0F, 0F, 0F, 1, 2, 2);
    Can2Side3.setRotationPoint(-3F, 20F, 3F);
    Can2Side3.setTextureSize(128, 64);
    Can2Side3.mirror = true;
    setRotation(Can2Side3, 0F, 0F, 0F);
    Can2Side1 = new ModelRenderer(this, 0, 0);
    Can2Side1.addBox(0F, 0F, 0F, 4, 2, 1);
    Can2Side1.setRotationPoint(-6F, 20F, 5F);
    Can2Side1.setTextureSize(128, 64);
    Can2Side1.mirror = true;
    setRotation(Can2Side1, 0F, 0F, 0F);
    Can4Side3 = new ModelRenderer(this, 0, 0);
    Can4Side3.addBox(0F, 0F, 0F, 1, 2, 2);
    Can4Side3.setRotationPoint(-3F, 20F, -5F);
    Can4Side3.setTextureSize(128, 64);
    Can4Side3.mirror = true;
    setRotation(Can4Side3, 0F, 0F, 0F);
    Can4Side1 = new ModelRenderer(this, 0, 0);
    Can4Side1.addBox(0F, 0F, 0F, 4, 2, 1);
    Can4Side1.setRotationPoint(-6F, 20F, -3F);
    Can4Side1.setTextureSize(128, 64);
    Can4Side1.mirror = true;
    setRotation(Can4Side1, 0F, 0F, 0F);
    Can4Sjde4 = new ModelRenderer(this, 0, 0);
    Can4Sjde4.addBox(0F, 0F, 0F, 1, 2, 2);
    Can4Sjde4.setRotationPoint(-6F, 20F, -5F);
    Can4Sjde4.setTextureSize(128, 64);
    Can4Sjde4.mirror = true;
    setRotation(Can4Sjde4, 0F, 0F, 0F);
    Can4Side2 = new ModelRenderer(this, 0, 0);
    Can4Side2.addBox(0F, 0F, 0F, 4, 2, 1);
    Can4Side2.setRotationPoint(-6F, 20F, -6F);
    Can4Side2.setTextureSize(128, 64);
    Can4Side2.mirror = true;
    setRotation(Can4Side2, 0F, 0F, 0F);
    Can3Side4 = new ModelRenderer(this, 0, 0);
    Can3Side4.addBox(0F, 0F, 0F, 1, 2, 2);
    Can3Side4.setRotationPoint(2F, 20F, -5F);
    Can3Side4.setTextureSize(128, 64);
    Can3Side4.mirror = true;
    setRotation(Can3Side4, 0F, 0F, 0F);
    Can4B = new ModelRenderer(this, 0, 0);
    Can4B.addBox(0F, 0F, 0F, 4, 1, 4);
    Can4B.setRotationPoint(-6F, 22F, -6F);
    Can4B.setTextureSize(128, 64);
    Can4B.mirror = true;
    setRotation(Can4B, 0F, 0F, 0F);
    Can3Side2 = new ModelRenderer(this, 0, 0);
    Can3Side2.addBox(0F, 0F, 0F, 4, 2, 1);
    Can3Side2.setRotationPoint(2F, 20F, -6F);
    Can3Side2.setTextureSize(128, 64);
    Can3Side2.mirror = true;
    setRotation(Can3Side2, 0F, 0F, 0F);
    Can3Side1 = new ModelRenderer(this, 0, 0);
    Can3Side1.addBox(0F, 0F, 0F, 4, 2, 1);
    Can3Side1.setRotationPoint(2F, 20F, -3F);
    Can3Side1.setTextureSize(128, 64);
    Can3Side1.mirror = true;
    setRotation(Can3Side1, 0F, 0F, 0F);
    Can2B = new ModelRenderer(this, 0, 0);
    Can2B.addBox(0F, 0F, 0F, 4, 1, 4);
    Can2B.setRotationPoint(-6F, 22F, 2F);
    Can2B.setTextureSize(128, 64);
    Can2B.mirror = true;
    setRotation(Can2B, 0F, 0F, 0F);
    Can4T = new ModelRenderer(this, 0, 0);
    Can4T.addBox(0F, 0F, 0F, 4, 1, 4);
    Can4T.setRotationPoint(-6F, 19F, -6F);
    Can4T.setTextureSize(128, 64);
    Can4T.mirror = true;
    setRotation(Can4T, 0F, 0F, 0F);
    Can2T = new ModelRenderer(this, 0, 0);
    Can2T.addBox(0F, 0F, 0F, 4, 1, 4);
    Can2T.setRotationPoint(-6F, 19F, 2F);
    Can2T.setTextureSize(128, 64);
    Can2T.mirror = true;
    setRotation(Can2T, 0F, 0F, 0F);
    Can3T = new ModelRenderer(this, 0, 0);
    Can3T.addBox(0F, 0F, 0F, 4, 1, 4);
    Can3T.setRotationPoint(2F, 19F, -6F);
    Can3T.setTextureSize(128, 64);
    Can3T.mirror = true;
    setRotation(Can3T, 0F, 0F, 0F);
    Can3B = new ModelRenderer(this, 0, 0);
    Can3B.addBox(0F, 0F, 0F, 4, 1, 4);
    Can3B.setRotationPoint(2F, 22F, -6F);
    Can3B.setTextureSize(128, 64);
    Can3B.mirror = true;
    setRotation(Can3B, 0F, 0F, 0F);
View Full Code Here


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

    PumpHead = new ModelRenderer(this, 33, 0);
    PumpHead.addBox(0F, 0F, 0F, 6, 3, 6);
    PumpHead.setRotationPoint(-3F, 19F, -3F);
    PumpHead.setTextureSize(64, 64);
    PumpHead.mirror = true;
    setRotation(PumpHead, 0F, 0F, 0F);
    Connector = new ModelRenderer(this, 33, 10);
    Connector.addBox(0F, 0F, 0F, 4, 1, 5);
    Connector.setRotationPoint(-2F, 14F, 2.5F);
    Connector.setTextureSize(64, 64);
    Connector.mirror = true;
    setRotation(Connector, 0F, 0F, 0F);
    Panel1 = new ModelRenderer(this, 0, 15);
    Panel1.addBox(-3F, -6F, 0F, 6, 6, 1);
    Panel1.setRotationPoint(0F, 21F, -3F);
    Panel1.setTextureSize(64, 64);
    Panel1.mirror = true;
    setRotation(Panel1, 0.5585054F, 0F, 0F);
    Panel2 = new ModelRenderer(this, 15, 15);
    Panel2.addBox(0F, -6F, -3F, 1, 6, 6);
    Panel2.setRotationPoint(-3F, 21F, 0F);
    Panel2.setTextureSize(64, 64);
    Panel2.mirror = true;
    setRotation(Panel2, 0F, 0F, -0.5585054F);
    Panel3 = new ModelRenderer(this, 15, 15);
    Panel3.addBox(-1F, -6F, -3F, 1, 6, 6);
    Panel3.setRotationPoint(3F, 21F, 0F);
    Panel3.setTextureSize(64, 64);
    Panel3.mirror = true;
    setRotation(Panel3, 0F, 0F, 0.5585054F);
    Body = new ModelRenderer(this, 30, 17);
    Body.addBox(0F, 0F, 0F, 6, 10, 6);
    Body.setRotationPoint(-3F, 9F, -3F);
    Body.setTextureSize(64, 64);
    Body.mirror = true;
    setRotation(Body, 0F, 0F, 0F);
    Axil = new ModelRenderer(this, 0, 28);
    Axil.addBox(0F, 0F, 0F, 9, 2, 4);
    Axil.setRotationPoint(-4.5F, 17F, -2F);
    Axil.setTextureSize(64, 64);
    Axil.mirror = true;
    setRotation(Axil, 0F, 0F, 0F);
    Axil2 = new ModelRenderer(this, 0, 0);
    Axil2.addBox(0F, 0F, 0F, 4, 2, 12);
    Axil2.setRotationPoint(-2F, 17F, -4.5F);
    Axil2.setTextureSize(64, 64);
    Axil2.mirror = true;
    setRotation(Axil2, 0F, 0F, 0F);
    Ring1 = new ModelRenderer(this, 0, 35);
    Ring1.addBox(0F, 0F, 0F, 8, 1, 8);
    Ring1.setRotationPoint(-4F, 12F, -4F);
    Ring1.setTextureSize(64, 64);
    Ring1.mirror = true;
    setRotation(Ring1, 0F, 0F, 0F);
    Ring2 = new ModelRenderer(this, 0, 35);
    Ring2.addBox(0F, 0F, 0F, 8, 1, 8);
    Ring2.setRotationPoint(-4F, 10F, -4F);
    Ring2.setTextureSize(64, 64);
    Ring2.mirror = true;
    setRotation(Ring2, 0F, 0F, 0F);
    Plug = new ModelRenderer(this, 0, 45);
    Plug.addBox(0F, 0F, 0F, 6, 6, 1);
    Plug.setRotationPoint(-3F, 13F, 7F);
    Plug.setTextureSize(64, 64);
    Plug.mirror = true;
    setRotation(Plug, 0F, 0F, 0F);
    Ring3 = new ModelRenderer(this, 0, 35);
    Ring3.addBox(0F, 0F, 0F, 8, 1, 8);
    Ring3.setRotationPoint(-4F, 8F, -4F);
    Ring3.setTextureSize(64, 64);
    Ring3.mirror = true;
    setRotation(Ring3, 0F, 0F, 0F);
View Full Code Here

  public ModelChemicalOxidizer()
  {
    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);
    TSSW = new ModelRenderer(this, 0, 17);
    TSSW.addBox(0F, 0F, 0F, 1, 15, 1);
    TSSW.setRotationPoint(-1F, 8F, 3F);
    TSSW.setTextureSize(128, 128);
    TSSW.mirror = true;
    setRotation(TSSW, 0F, 0F, 0F);
    TSNW = new ModelRenderer(this, 0, 17);
    TSNW.addBox(0F, 0F, 0F, 1, 15, 1);
    TSNW.setRotationPoint(-1F, 8F, -4F);
    TSNW.setTextureSize(128, 128);
    TSNW.mirror = true;
    setRotation(TSNW, 0F, 0F, 0F);
    TSSE = new ModelRenderer(this, 0, 17);
    TSSE.addBox(0F, 0F, 0F, 1, 15, 1);
    TSSE.setRotationPoint(6F, 8F, 3F);
    TSSE.setTextureSize(128, 128);
    TSSE.mirror = true;
    setRotation(TSSE, 0F, 0F, 0F);
    TSNE = new ModelRenderer(this, 0, 17);
    TSNE.addBox(0F, 0F, 0F, 1, 15, 1);
    TSNE.setRotationPoint(6F, 8F, -4F);
    TSNE.setTextureSize(128, 128);
    TSNE.mirror = true;
    setRotation(TSNE, 0F, 0F, 0F);
    TTN = new ModelRenderer(this, 4, 17);
    TTN.addBox(0F, 0F, 0F, 6, 1, 1);
    TTN.setRotationPoint(0F, 8F, -4F);
    TTN.setTextureSize(128, 128);
    TTN.mirror = true;
    setRotation(TTN, 0F, 0F, 0F);
    TTS = new ModelRenderer(this, 4, 17);
    TTS.addBox(0F, 0F, 0F, 6, 1, 1);
    TTS.setRotationPoint(0F, 8F, 3F);
    TTS.setTextureSize(128, 128);
    TTS.mirror = true;
    setRotation(TTS, 0F, 0F, 0F);
    TTE = new ModelRenderer(this, 18, 17);
    TTE.addBox(0F, 0F, 0F, 1, 1, 6);
    TTE.setRotationPoint(6F, 8F, -3F);
    TTE.setTextureSize(128, 128);
    TTE.mirror = true;
    setRotation(TTE, 0F, 0F, 0F);
    TTW = new ModelRenderer(this, 18, 17);
    TTW.addBox(0F, 0F, 0F, 1, 1, 6);
    TTW.setRotationPoint(-1F, 8F, -3F);
    TTW.setTextureSize(128, 128);
    TTW.mirror = true;
    setRotation(TTW, 0F, 0F, 0F);
    Connection = new ModelRenderer(this, 32, 17);
    Connection.addBox(0F, 0F, 0F, 7, 4, 4);
    Connection.setRotationPoint(-7F, 14F, -2F);
    Connection.setTextureSize(128, 128);
    Connection.mirror = true;
    setRotation(Connection, 0F, 0F, 0F);
    ItemEntry = new ModelRenderer(this, 64, 0);
    ItemEntry.addBox(0F, 0F, 0F, 1, 8, 8);
    ItemEntry.setRotationPoint(-8F, 12F, -4F);
    ItemEntry.setTextureSize(128, 128);
    ItemEntry.mirror = true;
    setRotation(ItemEntry, 0F, 0F, 0F);
    GasExit = new ModelRenderer(this, 0, 33);
    GasExit.addBox(0F, 1F, 0F, 1, 6, 6);
    GasExit.setRotationPoint(7F, 12F, -3F);
    GasExit.setTextureSize(128, 128);
    GasExit.mirror = true;
    setRotation(GasExit, 0F, 0F, 0F);
    GasConnection = new ModelRenderer(this, 82, 0);
    GasConnection.addBox(0F, 1F, 0F, 1, 4, 4);
    GasConnection.setRotationPoint(6F, 13F, -2F);
    GasConnection.setTextureSize(128, 128);
    GasConnection.mirror = true;
    setRotation(GasConnection, 0F, 0F, 0F);
    Machine = new ModelRenderer(this, 0, 45);
    Machine.addBox(0F, 0F, 0F, 4, 6, 6);
    Machine.setRotationPoint(-6F, 13F, -3F);
    Machine.setTextureSize(128, 128);
    Machine.mirror = true;
    setRotation(Machine, 0F, 0F, 0F);
    Post = new ModelRenderer(this, 0, 57);
    Post.addBox(0F, 0F, 0F, 2, 4, 2);
    Post.setRotationPoint(-5F, 19F, -1F);
    Post.setTextureSize(128, 128);
    Post.mirror = true;
    setRotation(Post, 0F, 0F, 0F);
    GlassN = new ModelRenderer(this, 92, 0);
    GlassN.addBox(0F, 0F, 0F, 6, 14, 1);
    GlassN.setRotationPoint(0F, 9F, -4F);
    GlassN.setTextureSize(128, 128);
    GlassN.mirror = true;
    setRotation(GlassN, 0F, 0F, 0F);
    GlassS = new ModelRenderer(this, 92, 0);
    GlassS.addBox(0F, 0F, 0F, 6, 14, 1);
    GlassS.setRotationPoint(0F, 9F, 3F);
    GlassS.setTextureSize(128, 128);
    GlassS.mirror = true;
    setRotation(GlassS, 0F, 0F, 0F);
    GlassW = new ModelRenderer(this, 0, 70);
    GlassW.addBox(0F, 0F, 0F, 1, 14, 6);
    GlassW.setRotationPoint(-1F, 9F, -3F);
    GlassW.setTextureSize(128, 128);
    GlassW.mirror = true;
    setRotation(GlassW, 0F, 0F, 0F);
    GlassE = new ModelRenderer(this, 0, 70);
    GlassE.addBox(0F, 0F, 0F, 1, 14, 6);
    GlassE.setRotationPoint(6F, 9F, -3F);
    GlassE.setTextureSize(128, 128);
    GlassE.mirror = true;
    setRotation(GlassE, 0F, 0F, 0F);
    GlassU = new ModelRenderer(this, 0, 63);
    GlassU.addBox(0F, 0F, 0F, 6, 1, 6);
    GlassU.setRotationPoint(0F, 8F, -3F);
    GlassU.setTextureSize(128, 128);
    GlassU.mirror = true;
    setRotation(GlassU, 0F, 0F, 0F);
View Full Code Here

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

    Base = new ModelRenderer(this, 0, 0);
    Base.addBox(0F, 0F, 0F, 12, 1, 12);
    Base.setRotationPoint(-6F, 23F, -6F);
    Base.setTextureSize(128, 128);
    Base.mirror = true;
    setRotation(Base, 0F, 0F, 0F);
    PoleFL = new ModelRenderer(this, 48, 0);
    PoleFL.addBox(0F, 0F, 0F, 1, 14, 1);
    PoleFL.setRotationPoint(5F, 9F, -6F);
    PoleFL.setTextureSize(128, 128);
    PoleFL.mirror = true;
    setRotation(PoleFL, 0F, 0F, 0F);
    PoleLB = new ModelRenderer(this, 48, 0);
    PoleLB.addBox(0F, 0F, 0F, 1, 14, 1);
    PoleLB.setRotationPoint(5F, 9F, 5F);
    PoleLB.setTextureSize(128, 128);
    PoleLB.mirror = true;
    setRotation(PoleLB, 0F, 0F, 0F);
    PoleBR = new ModelRenderer(this, 48, 0);
    PoleBR.addBox(0F, 0F, 0F, 1, 14, 1);
    PoleBR.setRotationPoint(-6F, 9F, 5F);
    PoleBR.setTextureSize(128, 128);
    PoleBR.mirror = true;
    setRotation(PoleBR, 0F, 0F, 0F);
    PoleRF = new ModelRenderer(this, 48, 0);
    PoleRF.addBox(0F, 0F, 0F, 1, 14, 1);
    PoleRF.setRotationPoint(-6F, 9F, -6F);
    PoleRF.setTextureSize(128, 128);
    PoleRF.mirror = true;
    setRotation(PoleRF, 0F, 0F, 0F);
    Top = new ModelRenderer(this, 0, 0);
    Top.addBox(0F, 0F, 0F, 12, 1, 12);
    Top.setRotationPoint(-6F, 8F, -6F);
    Top.setTextureSize(128, 128);
    Top.mirror = true;
    setRotation(Top, 0F, 0F, 0F);
    FrontGlass = new ModelRenderer(this, 0, 13);
    FrontGlass.addBox(0F, 0F, 0F, 10, 14, 1);
    FrontGlass.setRotationPoint(-5F, 9F, -6F);
    FrontGlass.setTextureSize(128, 128);
    FrontGlass.mirror = true;
    setRotation(FrontGlass, 0F, 0F, 0F);
    BackGlass = new ModelRenderer(this, 0, 28);
    BackGlass.addBox(0F, 0F, 3F, 10, 14, 1);
    BackGlass.setRotationPoint(-5F, 9F, 2F);
    BackGlass.setTextureSize(128, 128);
    BackGlass.mirror = true;
    setRotation(BackGlass, 0F, 0F, 0F);
    RightGlass = new ModelRenderer(this, 22, 13);
    RightGlass.addBox(0F, 0F, 0F, 1, 14, 10);
    RightGlass.setRotationPoint(-6F, 9F, -5F);
    RightGlass.setTextureSize(128, 128);
    RightGlass.mirror = true;
    setRotation(RightGlass, 0F, 0F, 0F);
    LeftGlass = new ModelRenderer(this, 22, 37);
    LeftGlass.addBox(0F, 0F, 0F, 1, 14, 10);
    LeftGlass.setRotationPoint(5F, 9F, -5F);
    LeftGlass.setTextureSize(128, 128);
    LeftGlass.mirror = true;
    setRotation(LeftGlass, 0F, 0F, 0F);
View Full Code Here

    public ModelParaChest(float par1)
    {
        super();

        this.parachute[0] = new ModelRenderer(this, 0, 0).setTextureSize(512, 256);
        this.parachute[0].addBox(-20.0F, -45.0F, -20.0F, 10, 2, 40, par1);
        this.parachute[0].setRotationPoint(15.0F, 4.0F, 0.0F);
        this.parachute[1] = new ModelRenderer(this, 0, 42).setTextureSize(512, 256);
        this.parachute[1].addBox(-20.0F, -45.0F, -20.0F, 40, 2, 40, par1);
        this.parachute[1].setRotationPoint(0.0F, 0.0F, 0.0F);
        this.parachute[2] = new ModelRenderer(this, 0, 0).setTextureSize(512, 256);
        this.parachute[2].addBox(-20.0F, -45.0F, -20.0F, 10, 2, 40, par1);
        this.parachute[2].setRotationPoint(11F, -11, 0.0F);

        this.parachuteStrings[0] = new ModelRenderer(this, 100, 0).setTextureSize(512, 256);
        this.parachuteStrings[0].addBox(-0.5F, 0.0F, -0.5F, 1, 40, 1, par1);
        this.parachuteStrings[0].setRotationPoint(0.0F, 0.0F, 0.0F);
        this.parachuteStrings[1] = new ModelRenderer(this, 100, 0).setTextureSize(512, 256);
        this.parachuteStrings[1].addBox(-0.5F, 0.0F, -0.5F, 1, 40, 1, par1);
        this.parachuteStrings[1].setRotationPoint(0.0F, 0.0F, 0.0F);
        this.parachuteStrings[2] = new ModelRenderer(this, 100, 0).setTextureSize(512, 256);
        this.parachuteStrings[2].addBox(-0.5F, 0.0F, -0.5F, 1, 40, 1, par1);
        this.parachuteStrings[2].setRotationPoint(0.0F, 0.0F, 0.0F);
        this.parachuteStrings[3] = new ModelRenderer(this, 100, 0).setTextureSize(512, 256);
        this.parachuteStrings[3].addBox(-0.5F, 0.0F, -0.5F, 1, 40, 1, par1);
        this.parachuteStrings[3].setRotationPoint(0.0F, 0.0F, 0.0F);
    }
View Full Code Here

    public ModelMeteor()
    {
        this.textureWidth = 128;
        this.textureHeight = 64;

        this.shapes[0] = new ModelRenderer(this, 0, 0);
        this.shapes[0].addBox(0F, -7F, -13F, 2, 4, 4);
        this.shapes[0].setRotationPoint(0F, 0F, 0F);
        this.shapes[0].setTextureSize(128, 64);
        this.shapes[0].mirror = true;
        this.setRotation(this.shapes[0], 0F, 0F, 0F);
        this.shapes[1] = new ModelRenderer(this, 0, 0);
        this.shapes[1].addBox(-10F, -10F, -10F, 20, 20, 20);
        this.shapes[1].setRotationPoint(0F, 0F, 0F);
        this.shapes[1].setTextureSize(128, 64);
        this.shapes[1].mirror = true;
        this.setRotation(this.shapes[1], 0F, 0F, 0F);
        this.shapes[2] = new ModelRenderer(this, 0, 0);
        this.shapes[2].addBox(-5F, -8F, -12F, 5, 9, 1);
        this.shapes[2].setRotationPoint(0F, 0F, 0F);
        this.shapes[2].setTextureSize(128, 64);
        this.shapes[2].mirror = true;
        this.setRotation(this.shapes[2], 0F, 0F, 0F);
        this.shapes[3] = new ModelRenderer(this, 0, 0);
        this.shapes[3].addBox(0F, -6F, 11F, 4, 13, 1);
        this.shapes[3].setRotationPoint(0F, 0F, 0F);
        this.shapes[3].setTextureSize(128, 64);
        this.shapes[3].mirror = true;
        this.setRotation(this.shapes[3], 0F, 0F, 0F);
        this.shapes[4] = new ModelRenderer(this, 0, 0);
        this.shapes[4].addBox(-9F, 10F, -9F, 18, 1, 18);
        this.shapes[4].setRotationPoint(0F, 0F, 0F);
        this.shapes[4].setTextureSize(128, 64);
        this.shapes[4].mirror = true;
        this.setRotation(this.shapes[4], 0F, 0F, 0F);
        this.shapes[5] = new ModelRenderer(this, 0, 0);
        this.shapes[5].addBox(11F, 3F, -8F, 1, 5, 5);
        this.shapes[5].setRotationPoint(0F, 0F, 0F);
        this.shapes[5].setTextureSize(128, 64);
        this.shapes[5].mirror = true;
        this.setRotation(this.shapes[5], 0F, 0F, 0F);
        this.shapes[6] = new ModelRenderer(this, 0, 0);
        this.shapes[6].addBox(-7F, -8F, 10F, 7, 12, 2);
        this.shapes[6].setRotationPoint(0F, 0F, 0F);
        this.shapes[6].setTextureSize(128, 64);
        this.shapes[6].mirror = true;
        this.setRotation(this.shapes[6], 0F, 0F, 0F);
        this.shapes[7] = new ModelRenderer(this, 0, 0);
        this.shapes[7].addBox(-9F, -9F, 10F, 18, 18, 1);
        this.shapes[7].setRotationPoint(0F, 0F, 0F);
        this.shapes[7].setTextureSize(128, 64);
        this.shapes[7].mirror = true;
        this.setRotation(this.shapes[7], 0F, 0F, 0F);
        this.shapes[8] = new ModelRenderer(this, 0, 0);
        this.shapes[8].addBox(-11F, -9F, -9F, 1, 18, 18);
        this.shapes[8].setRotationPoint(0F, 0F, 0F);
        this.shapes[8].setTextureSize(128, 64);
        this.shapes[8].mirror = true;
        this.setRotation(this.shapes[8], 0F, 0F, 0F);
        this.shapes[9] = new ModelRenderer(this, 0, 0);
        this.shapes[9].addBox(10F, -9F, -9F, 1, 18, 18);
        this.shapes[9].setRotationPoint(0F, 0F, 0F);
        this.shapes[9].setTextureSize(128, 64);
        this.shapes[9].mirror = true;
        this.setRotation(this.shapes[9], 0F, 0F, 0F);
        this.shapes[10] = new ModelRenderer(this, 0, 0);
        this.shapes[10].addBox(-9F, -9F, -11F, 18, 18, 1);
        this.shapes[10].setRotationPoint(0F, 0F, 0F);
        this.shapes[10].setTextureSize(128, 64);
        this.shapes[10].mirror = true;
        this.setRotation(this.shapes[10], 0F, 0F, 0F);
        this.shapes[11] = new ModelRenderer(this, 0, 0);
        this.shapes[11].addBox(-9F, -9F, -11F, 18, 18, 1);
        this.shapes[11].setRotationPoint(0F, 0F, 0F);
        this.shapes[11].setTextureSize(128, 64);
        this.shapes[11].mirror = true;
        this.setRotation(this.shapes[11], 0F, 0F, 0F);
        this.shapes[12] = new ModelRenderer(this, 0, 0);
        this.shapes[12].addBox(-9F, -11F, -9F, 18, 1, 18);
        this.shapes[12].setRotationPoint(0F, 0F, 0F);
        this.shapes[12].setTextureSize(128, 64);
        this.shapes[12].mirror = true;
        this.setRotation(this.shapes[12], 0F, 0F, 0F);
View Full Code Here

    public ModelPlayerGC(float var1)
    {
        super(var1);

        this.oxygenMask = new ModelRenderer(this, 0, 0);
        this.oxygenMask.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, 1);
        this.oxygenMask.setRotationPoint(0.0F, 0.0F + 0.0F, 0.0F);

        this.parachute[0] = new ModelRenderer(this, 0, 0).setTextureSize(512, 256);
        this.parachute[0].addBox(-20.0F, -45.0F, -20.0F, 10, 2, 40, var1);
        this.parachute[0].setRotationPoint(15.0F, 4.0F, 0.0F);
        this.parachute[1] = new ModelRenderer(this, 0, 42).setTextureSize(512, 256);
        this.parachute[1].addBox(-20.0F, -45.0F, -20.0F, 40, 2, 40, var1);
        this.parachute[1].setRotationPoint(0.0F, 0.0F, 0.0F);
        this.parachute[2] = new ModelRenderer(this, 0, 0).setTextureSize(512, 256);
        this.parachute[2].addBox(-20.0F, -45.0F, -20.0F, 10, 2, 40, var1);
        this.parachute[2].setRotationPoint(11F, -11, 0.0F);

        this.parachuteStrings[0] = new ModelRenderer(this, 100, 0).setTextureSize(512, 256);
        this.parachuteStrings[0].addBox(-0.5F, 0.0F, -0.5F, 1, 40, 1, var1);
        this.parachuteStrings[0].setRotationPoint(0.0F, 0.0F, 0.0F);
        this.parachuteStrings[1] = new ModelRenderer(this, 100, 0).setTextureSize(512, 256);
        this.parachuteStrings[1].addBox(-0.5F, 0.0F, -0.5F, 1, 40, 1, var1);
        this.parachuteStrings[1].setRotationPoint(0.0F, 0.0F, 0.0F);
        this.parachuteStrings[2] = new ModelRenderer(this, 100, 0).setTextureSize(512, 256);
        this.parachuteStrings[2].addBox(-0.5F, 0.0F, -0.5F, 1, 40, 1, var1);
        this.parachuteStrings[2].setRotationPoint(0.0F, 0.0F, 0.0F);
        this.parachuteStrings[3] = new ModelRenderer(this, 100, 0).setTextureSize(512, 256);
        this.parachuteStrings[3].addBox(-0.5F, 0.0F, -0.5F, 1, 40, 1, var1);
        this.parachuteStrings[3].setRotationPoint(0.0F, 0.0F, 0.0F);

        this.tubes[0][0] = new ModelRenderer(this, 0, 0);
        this.tubes[0][0].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[0][0].setRotationPoint(2F, 3F, 5.8F);
        this.tubes[0][0].setTextureSize(128, 64);
        this.tubes[0][0].mirror = true;
        this.tubes[0][1] = new ModelRenderer(this, 0, 0);
        this.tubes[0][1].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[0][1].setRotationPoint(2F, 2F, 6.8F);
        this.tubes[0][1].setTextureSize(128, 64);
        this.tubes[0][1].mirror = true;
        this.tubes[0][2] = new ModelRenderer(this, 0, 0);
        this.tubes[0][2].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[0][2].setRotationPoint(2F, 1F, 6.8F);
        this.tubes[0][2].setTextureSize(128, 64);
        this.tubes[0][2].mirror = true;
        this.tubes[0][3] = new ModelRenderer(this, 0, 0);
        this.tubes[0][3].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[0][3].setRotationPoint(2F, 0F, 6.8F);
        this.tubes[0][3].setTextureSize(128, 64);
        this.tubes[0][3].mirror = true;
        this.tubes[0][4] = new ModelRenderer(this, 0, 0);
        this.tubes[0][4].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[0][4].setRotationPoint(2F, -1F, 6.8F);
        this.tubes[0][4].setTextureSize(128, 64);
        this.tubes[0][4].mirror = true;
        this.tubes[0][5] = new ModelRenderer(this, 0, 0);
        this.tubes[0][5].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[0][5].setRotationPoint(2F, -2F, 5.8F);
        this.tubes[0][5].setTextureSize(128, 64);
        this.tubes[0][5].mirror = true;
        this.tubes[0][6] = new ModelRenderer(this, 0, 0);
        this.tubes[0][6].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[0][6].setRotationPoint(2F, -3F, 4.8F);
        this.tubes[0][6].setTextureSize(128, 64);
        this.tubes[0][6].mirror = true;

        this.tubes[1][0] = new ModelRenderer(this, 0, 0);
        this.tubes[1][0].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[1][0].setRotationPoint(-2F, 3F, 5.8F);
        this.tubes[1][0].setTextureSize(128, 64);
        this.tubes[1][0].mirror = true;
        this.tubes[1][1] = new ModelRenderer(this, 0, 0);
        this.tubes[1][1].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[1][1].setRotationPoint(-2F, 2F, 6.8F);
        this.tubes[1][1].setTextureSize(128, 64);
        this.tubes[1][1].mirror = true;
        this.tubes[1][2] = new ModelRenderer(this, 0, 0);
        this.tubes[1][2].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[1][2].setRotationPoint(-2F, 1F, 6.8F);
        this.tubes[1][2].setTextureSize(128, 64);
        this.tubes[1][2].mirror = true;
        this.tubes[1][3] = new ModelRenderer(this, 0, 0);
        this.tubes[1][3].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[1][3].setRotationPoint(-2F, 0F, 6.8F);
        this.tubes[1][3].setTextureSize(128, 64);
        this.tubes[1][3].mirror = true;
        this.tubes[1][4] = new ModelRenderer(this, 0, 0);
        this.tubes[1][4].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[1][4].setRotationPoint(-2F, -1F, 6.8F);
        this.tubes[1][4].setTextureSize(128, 64);
        this.tubes[1][4].mirror = true;
        this.tubes[1][5] = new ModelRenderer(this, 0, 0);
        this.tubes[1][5].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[1][5].setRotationPoint(-2F, -2F, 5.8F);
        this.tubes[1][5].setTextureSize(128, 64);
        this.tubes[1][5].mirror = true;
        this.tubes[1][6] = new ModelRenderer(this, 0, 0);
        this.tubes[1][6].addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, var1);
        this.tubes[1][6].setRotationPoint(-2F, -3F, 4.8F);
        this.tubes[1][6].setTextureSize(128, 64);
        this.tubes[1][6].mirror = true;

        this.greenOxygenTanks[0] = new ModelRenderer(this, 4, 0);
        this.greenOxygenTanks[0].addBox(-1.5F, 0F, -1.5F, 3, 7, 3, var1);
        this.greenOxygenTanks[0].setRotationPoint(2F, 2F, 3.8F);
        this.greenOxygenTanks[0].mirror = true;
        this.greenOxygenTanks[1] = new ModelRenderer(this, 4, 0);
        this.greenOxygenTanks[1].addBox(-1.5F, 0F, -1.5F, 3, 7, 3, var1);
        this.greenOxygenTanks[1].setRotationPoint(-2F, 2F, 3.8F);
        this.greenOxygenTanks[1].mirror = true;

        this.orangeOxygenTanks[0] = new ModelRenderer(this, 16, 0);
        this.orangeOxygenTanks[0].addBox(-1.5F, 0F, -1.5F, 3, 7, 3, var1);
        this.orangeOxygenTanks[0].setRotationPoint(2F, 2F, 3.8F);
        this.orangeOxygenTanks[0].mirror = true;
        this.orangeOxygenTanks[1] = new ModelRenderer(this, 16, 0);
        this.orangeOxygenTanks[1].addBox(-1.5F, 0F, -1.5F, 3, 7, 3, var1);
        this.orangeOxygenTanks[1].setRotationPoint(-2F, 2F, 3.8F);
        this.orangeOxygenTanks[1].mirror = true;

        this.redOxygenTanks[0] = new ModelRenderer(this, 28, 0);
        this.redOxygenTanks[0].addBox(-1.5F, 0F, -1.5F, 3, 7, 3, var1);
        this.redOxygenTanks[0].setRotationPoint(2F, 2F, 3.8F);
        this.redOxygenTanks[0].mirror = true;
        this.redOxygenTanks[1] = new ModelRenderer(this, 28, 0);
        this.redOxygenTanks[1].addBox(-1.5F, 0F, -1.5F, 3, 7, 3, var1);
        this.redOxygenTanks[1].setRotationPoint(-2F, 2F, 3.8F);
        this.redOxygenTanks[1].mirror = true;

        this.frequencyModule = AdvancedModelLoader.loadModel(new ResourceLocation(GalacticraftCore.ASSET_PREFIX, "models/frequencyModule.obj"));
View Full Code Here

    }

    public ModelAlienVillager(float par1, float par2, int par3, int par4)
    {
        super(par1, par2, 0, 0);
        this.villagerHead = new ModelRenderer(this).setTextureSize(par3, par4);
        this.villagerHead.setRotationPoint(0.0F, 0.0F + par2, 0.0F);
        this.villagerHead.setTextureOffset(0, 0).addBox(-4.0F, -10.0F, -4.0F, 8, 10, 8, par1 + 0.001F);
        this.villagerNose = new ModelRenderer(this).setTextureSize(par3, par4);
        this.villagerNose.setRotationPoint(0.0F, par2 - 2.0F, 0.0F);
        this.villagerNose.setTextureOffset(24, 0).addBox(-1.0F, -1.0F, -6.0F, 2, 4, 2, par1 + 0.002F);
        this.villagerHead.addChild(this.villagerNose);
        this.villagerBody = new ModelRenderer(this).setTextureSize(par3, par4);
        this.villagerBody.setRotationPoint(0.0F, 0.0F + par2, 0.0F);
        this.villagerBody.setTextureOffset(16, 20).addBox(-4.0F, 0.0F, -3.0F, 8, 12, 6, par1 + 0.003F);
        this.villagerBody.setTextureOffset(0, 38).addBox(-4.0F, 0.0F, -3.0F, 8, 18, 6, par1 + 0.5F + 0.004F);
        this.villagerArms = new ModelRenderer(this).setTextureSize(par3, par4);
        this.villagerArms.setRotationPoint(0.0F, 0.0F + par2 + 2.0F, 0.0F);
        this.villagerArms.setTextureOffset(44, 22).addBox(-8.0F, -2.0F, -2.0F, 4, 8, 4, par1 + 0.005F);
        this.villagerArms.setTextureOffset(44, 22).addBox(4.0F, -2.0F, -2.0F, 4, 8, 4, par1 + 0.0001F);
        this.villagerArms.setTextureOffset(40, 38).addBox(-4.0F, 2.0F, -2.0F, 8, 4, 4, par1 + 0.0004F);
        this.rightVillagerLeg = new ModelRenderer(this, 0, 22).setTextureSize(par3, par4);
        this.rightVillagerLeg.setRotationPoint(-2.0F, 12.0F + par2, 0.0F);
        this.rightVillagerLeg.addBox(-2.0F, 0.0F, -2.0F, 4, 12, 4, par1 + 0.0006F);
        this.leftVillagerLeg = new ModelRenderer(this, 0, 22).setTextureSize(par3, par4);
        this.leftVillagerLeg.mirror = true;
        this.leftVillagerLeg.setRotationPoint(2.0F, 12.0F + par2, 0.0F);
        this.leftVillagerLeg.addBox(-2.0F, 0.0F, -2.0F, 4, 12, 4, par1 + 0.0002F);
        this.brain = new ModelRenderer(this).setTextureSize(par3, par4);
        this.brain.setRotationPoint(0.0F, 0.0F + par2, 0.0F);
        this.brain.setTextureOffset(32, 0).addBox(-4.0F, -16.0F, -4.0F, 8, 8, 8, par1 + 0.5F);
    }
View Full Code Here

    public ModelFlag()
    {
        this.textureWidth = 128;
        this.textureHeight = 64;
        this.base = new ModelRenderer(this, 4, 0);
        this.base.addBox(-1.5F, 0F, -1.5F, 3, 1, 3);
        this.base.setRotationPoint(0F, 23F, 0F);
        this.base.setTextureSize(128, 64);
        this.base.mirror = true;
        this.setRotation(this.base, 0F, 0F, 0F);
        this.pole = new ModelRenderer(this, 0, 0);
        this.pole.addBox(-0.5F, -40F, -0.5F, 1, 40, 1);
        this.pole.setRotationPoint(0F, 23F, 0F);
        this.pole.setTextureSize(128, 64);
        this.pole.mirror = true;
        this.setRotation(this.pole, 0F, 0F, 0F);
View Full Code Here

    public ModelEvolvedCreeper(float par1)
    {
        this.textureWidth = 128;
        this.textureHeight = 64;
        this.leftOxygenTank = new ModelRenderer(this, 40, 20);
        this.leftOxygenTank.addBox(-1.5F, 0F, -1.5F, 3, 7, 3, par1);
        this.leftOxygenTank.setRotationPoint(2F, 5F, 3.8F);
        this.leftOxygenTank.setTextureSize(128, 64);
        this.leftOxygenTank.mirror = true;
        this.setRotation(this.leftOxygenTank, 0F, 0F, 0F);
        this.rightOxygenTank = new ModelRenderer(this, 40, 20);
        this.rightOxygenTank.addBox(-1.5F, 0F, -1.5F, 3, 7, 3, par1);
        this.rightOxygenTank.setRotationPoint(-2F, 5F, 3.8F);
        this.rightOxygenTank.setTextureSize(128, 64);
        this.rightOxygenTank.mirror = true;
        this.setRotation(this.rightOxygenTank, 0F, 0F, 0F);
        this.tubeRight2 = new ModelRenderer(this, 40, 30);
        this.tubeRight2.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeRight2.setRotationPoint(-2F, 5F, 6.8F);
        this.tubeRight2.setTextureSize(128, 64);
        this.tubeRight2.mirror = true;
        this.setRotation(this.tubeRight2, 0F, 0F, 0F);
        this.tubeLeft1 = new ModelRenderer(this, 40, 30);
        this.tubeLeft1.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeLeft1.setRotationPoint(2F, 6F, 5.8F);
        this.tubeLeft1.setTextureSize(128, 64);
        this.tubeLeft1.mirror = true;
        this.setRotation(this.tubeLeft1, 0F, 0F, 0F);
        this.tubeRight3 = new ModelRenderer(this, 40, 30);
        this.tubeRight3.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeRight3.setRotationPoint(-2F, 4F, 6.8F);
        this.tubeRight3.setTextureSize(128, 64);
        this.tubeRight3.mirror = true;
        this.setRotation(this.tubeRight3, 0F, 0F, 0F);
        this.tubeRight4 = new ModelRenderer(this, 40, 30);
        this.tubeRight4.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeRight4.setRotationPoint(-2F, 3F, 6.8F);
        this.tubeRight4.setTextureSize(128, 64);
        this.tubeRight4.mirror = true;
        this.setRotation(this.tubeRight4, 0F, 0F, 0F);
        this.tubeRight5 = new ModelRenderer(this, 40, 30);
        this.tubeRight5.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeRight5.setRotationPoint(-2F, 2F, 6.8F);
        this.tubeRight5.setTextureSize(128, 64);
        this.tubeRight5.mirror = true;
        this.setRotation(this.tubeRight5, 0F, 0F, 0F);
        this.tubeLeft6 = new ModelRenderer(this, 40, 30);
        this.tubeLeft6.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeLeft6.setRotationPoint(2F, 1F, 5.8F);
        this.tubeLeft6.setTextureSize(128, 64);
        this.tubeLeft6.mirror = true;
        this.setRotation(this.tubeLeft6, 0F, 0F, 0F);
        this.tubeRight7 = new ModelRenderer(this, 40, 30);
        this.tubeRight7.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeRight7.setRotationPoint(-2F, 0F, 4.8F);
        this.tubeRight7.setTextureSize(128, 64);
        this.tubeRight7.mirror = true;
        this.setRotation(this.tubeRight7, 0F, 0F, 0F);
        this.tubeRight1 = new ModelRenderer(this, 40, 30);
        this.tubeRight1.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeRight1.setRotationPoint(-2F, 6F, 5.8F);
        this.tubeRight1.setTextureSize(128, 64);
        this.tubeRight1.mirror = true;
        this.setRotation(this.tubeRight1, 0F, 0F, 0F);
        this.tubeLeft2 = new ModelRenderer(this, 40, 30);
        this.tubeLeft2.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeLeft2.setRotationPoint(2F, 5F, 6.8F);
        this.tubeLeft2.setTextureSize(128, 64);
        this.tubeLeft2.mirror = true;
        this.setRotation(this.tubeLeft2, 0F, 0F, 0F);
        this.tubeLeft3 = new ModelRenderer(this, 40, 30);
        this.tubeLeft3.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeLeft3.setRotationPoint(2F, 4F, 6.8F);
        this.tubeLeft3.setTextureSize(128, 64);
        this.tubeLeft3.mirror = true;
        this.setRotation(this.tubeLeft3, 0F, 0F, 0F);
        this.tubeLeft4 = new ModelRenderer(this, 40, 30);
        this.tubeLeft4.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeLeft4.setRotationPoint(2F, 3F, 6.8F);
        this.tubeLeft4.setTextureSize(128, 64);
        this.tubeLeft4.mirror = true;
        this.setRotation(this.tubeLeft4, 0F, 0F, 0F);
        this.tubeLeft5 = new ModelRenderer(this, 40, 30);
        this.tubeLeft5.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeLeft5.setRotationPoint(2F, 2F, 6.8F);
        this.tubeLeft5.setTextureSize(128, 64);
        this.tubeLeft5.mirror = true;
        this.setRotation(this.tubeLeft5, 0F, 0F, 0F);
        this.tubeLeft7 = new ModelRenderer(this, 40, 30);
        this.tubeLeft7.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeLeft7.setRotationPoint(2F, 0F, 4.8F);
        this.tubeLeft7.setTextureSize(128, 64);
        this.tubeLeft7.mirror = true;
        this.setRotation(this.tubeLeft7, 0F, 0F, 0F);
        this.tubeRight6 = new ModelRenderer(this, 40, 30);
        this.tubeRight6.addBox(-0.5F, -0.5F, -0.5F, 1, 1, 1, par1);
        this.tubeRight6.setRotationPoint(-2F, 1F, 5.8F);
        this.tubeRight6.setTextureSize(128, 64);
        this.tubeRight6.mirror = true;
        this.setRotation(this.tubeRight6, 0F, 0F, 0F);
        this.tubeLeft8 = new ModelRenderer(this, 40, 30);
        this.tubeLeft8.addBox(0F, 0F, 0F, 1, 1, 1, par1);
        this.tubeLeft8.setRotationPoint(0F, -2F, 0F);
        this.tubeLeft8.setTextureSize(128, 64);
        this.tubeLeft8.mirror = true;
        this.setRotation(this.tubeLeft8, 0F, 0F, 0F);
        this.oxygenMask = new ModelRenderer(this, 40, 0);
        this.oxygenMask.addBox(-5F, -9F, -5F, 10, 10, 10, par1);
        this.oxygenMask.setRotationPoint(0F, 4F, 0F);
        this.oxygenMask.setTextureSize(128, 64);
        this.oxygenMask.mirror = true;
        this.setRotation(this.oxygenMask, 0F, 0F, 0F);

        final byte var2 = 4;
        this.head = new ModelRenderer(this, 0, 0);
        this.head.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, par1);
        this.head.setRotationPoint(0.0F, var2, 0.0F);
        this.head.setTextureSize(128, 64);
        this.field_78133_b = new ModelRenderer(this, 32, 0);
        this.field_78133_b.addBox(-4.0F, -8.0F, -4.0F, 8, 8, 8, par1 + 0.5F);
        this.field_78133_b.setRotationPoint(0.0F, var2, 0.0F);
        this.field_78133_b.setTextureSize(128, 64);
        this.body = new ModelRenderer(this, 16, 16);
        this.body.addBox(-4.0F, 0.0F, -2.0F, 8, 12, 4, par1);
        this.body.setRotationPoint(0.0F, var2, 0.0F);
        this.body.setTextureSize(128, 64);
        this.leg1 = new ModelRenderer(this, 0, 16);
        this.leg1.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, par1);
        this.leg1.setRotationPoint(-2.0F, 12 + var2, 4.0F);
        this.leg1.setTextureSize(128, 64);
        this.leg2 = new ModelRenderer(this, 0, 16);
        this.leg2.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, par1);
        this.leg2.setRotationPoint(2.0F, 12 + var2, 4.0F);
        this.leg2.setTextureSize(128, 64);
        this.leg3 = new ModelRenderer(this, 0, 16);
        this.leg3.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, par1);
        this.leg3.setRotationPoint(-2.0F, 12 + var2, -4.0F);
        this.leg3.setTextureSize(128, 64);
        this.leg4 = new ModelRenderer(this, 0, 16);
        this.leg4.addBox(-2.0F, 0.0F, -2.0F, 4, 6, 4, par1);
        this.leg4.setRotationPoint(2.0F, 12 + var2, -4.0F);
        this.leg4.setTextureSize(128, 64);
    }
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.