public HeraldryArmourModel(EntityEquipmentSlot par1) { super(par1==EntityEquipmentSlot.LEGS ? 0.4F : 1F); this.armourSlot = par1; bipedHeadwear.cubeList.clear(); if(armourSlot == EntityEquipmentSlot.LEGS){ //bipedRightLeg = bipedRightLeg.setTextureOffset(40, 16); bipedRightLeg.cubeList.clear(); bipedRightLeg.setTextureOffset(40, 16); bipedRightLeg.mirror = true; List<ModelBox> legBoxlist = bipedLeftLeg.cubeList; for (ModelBox modelBox : legBoxlist) { bipedRightLeg.addBox(modelBox.posX1, modelBox.posY1, modelBox.posZ1, (int)(modelBox.posX2 - modelBox.posX1), (int)(modelBox.posY2 - modelBox.posY1), (int)(modelBox.posZ2 - modelBox.posZ1)); } } }
public ModelTophat() { super(1.0F, 0, 64, 32); tophatBase = new ModelRenderer(this, 64, 32).setTextureOffset(32, 0); tophatBase.addBox(-4.0F, -16.0F, -4.0F, 8, 7, 8); bipedHead.addChild(tophatBase); tophatHat = new ModelRenderer(this, 64, 32).setTextureOffset(0, 16); tophatHat.addBox(-5.5F, -9.0F, -5.5F, 11, 1, 11); bipedHead.addChild(tophatHat); }
public ModelGuardianStatue() { this.textureWidth = 64; this.textureHeight = 64; this.guardianSpines = new ModelRenderer[12]; this.guardianBody = new ModelRenderer(this); this.guardianBody.setTextureOffset(0, 0).addBox(-6.0F, 10.0F, -8.0F, 12, 12, 16); this.guardianBody.setTextureOffset(0, 28).addBox(-8.0F, 10.0F, -6.0F, 2, 12, 12); this.guardianBody.setTextureOffset(0, 28).addBox(6.0F, 10.0F, -6.0F, 2, 12, 12, true); this.guardianBody.setTextureOffset(16, 40).addBox(-6.0F, 8.0F, -6.0F, 12, 2, 12); this.guardianBody.setTextureOffset(16, 40).addBox(-6.0F, 22.0F, -6.0F, 12, 2, 12); for (int i = 0; i < this.guardianSpines.length; ++i) { this.guardianSpines[i] = new ModelRenderer(this, 0, 0); this.guardianSpines[i].addBox(-1.0F, -4.5F, -1.0F, 2, 9, 2); this.guardianBody.addChild(this.guardianSpines[i]); } this.guardianEye = new ModelRenderer(this, 8, 0); this.guardianEye.addBox(-1.0F, 15.0F, 0.0F, 2, 2, 1); this.guardianBody.addChild(this.guardianEye); this.guardianTail = new ModelRenderer[3]; this.guardianTail[0] = new ModelRenderer(this, 40, 0); this.guardianTail[0].addBox(-2.0F, 14.0F, 7.0F, 4, 4, 8); this.guardianTail[1] = new ModelRenderer(this, 0, 54); this.guardianTail[1].addBox(0.0F, 14.0F, 0.0F, 3, 3, 7); this.guardianTail[2] = new ModelRenderer(this); this.guardianTail[2].setTextureOffset(41, 32).addBox(0.0F, 14.0F, 0.0F, 2, 2, 6); this.guardianTail[2].setTextureOffset(25, 19).addBox(1.0F, 10.5F, 3.0F, 1, 9, 9); this.guardianBody.addChild(this.guardianTail[0]); this.guardianTail[0].addChild(this.guardianTail[1]); this.guardianTail[1].addChild(this.guardianTail[2]); }
public ModelVillagerWithArms(float scale, float p_i1164_2_, int width, int height) { super(scale, p_i1164_2_, width, height); this.villagerArms.isHidden = true; this.rightArm = (new ModelRenderer(this).setTextureSize(width, height)); this.rightArm.setTextureOffset(44, 22).addBox(-4F, -2F, -2F, 4, 8, 4, scale); this.rightArm.setRotationPoint(0, 2 + p_i1164_2_, 0); this.rightArm.addBox(-4, 6, -2, 4, 3, 4); this.leftArm = new ModelRenderer(this).setTextureSize(width, height); this.leftArm.setTextureOffset(44, 22).addBox(0, -2, -2, 4, 8, 4, scale); this.leftArm.addBox(0, 6, -2, 4, 3, 4, scale); this.leftArm.setRotationPoint(-5, 2 + p_i1164_2_, 0); this.leftArm.mirror = true; }
public ModelWitchHat() { textureWidth = 64; textureHeight = 128; float offX = -5F; float offY = -10F; float offZ = -5F; witchHat = new ModelRenderer(this); witchHat.setTextureSize(64, 128); witchHat.setRotationPoint(-5.0F, -10.03125F, -5.0F); witchHat.setTextureOffset(0, 64).addBox(offX, offY, offZ, 10, 2, 10); ModelRenderer modelrenderer = new ModelRenderer(this).setTextureSize(64, 128); modelrenderer.setRotationPoint(1.75F, -3.8F, 2.0F); modelrenderer.setTextureOffset(0, 76).addBox(offX, offY, offZ, 7, 4, 7); modelrenderer.rotateAngleX = -0.05235988F; modelrenderer.rotateAngleZ = 0.02617994F; witchHat.addChild(modelrenderer); ModelRenderer modelrenderer1 = new ModelRenderer(this).setTextureSize(64, 128); modelrenderer1.setRotationPoint(1.75F, -3.0F, 2.0F); modelrenderer1.setTextureOffset(0, 87).addBox(offX, offY, offZ, 4, 4, 4); modelrenderer1.rotateAngleX = -0.10471976F; modelrenderer1.rotateAngleZ = 0.05235988F; modelrenderer.addChild(modelrenderer1); ModelRenderer modelrenderer2 = new ModelRenderer(this).setTextureSize(64, 128); modelrenderer2.setRotationPoint(1.0F, -1.0F, 0F); modelrenderer2.setTextureOffset(0, 95).addBox(offX, offY, offZ, 1, 2, 1, 0.25F); modelrenderer2.rotateAngleX = -0.20943952F; modelrenderer2.rotateAngleZ = 0.10471976F; modelrenderer1.addChild(modelrenderer2); }
wolfLeg1.setTextureOffset(52, 14).addBox(-1.75F, -2.5F, -2F, 2, 4, 4, f); wolfLeg1.setRotationPoint(-2.5F, 16.0F, 6.0F); wolfLeg2.setTextureOffset(52, 14).addBox(-1.75F, -2.5F, -2F, 2, 4, 4, f); wolfLeg2.setRotationPoint(2.0F, 16.0F, 6.0F); wolfTail.setRotationPoint(-1.0F, 12.0F, 8.0F); wolfHeadMain.setTextureOffset(16, 18).addBox(-2.5F, -5.0F, -1.5F, 1, 2, 2, f); wolfHeadMain.setTextureOffset(16, 18).addBox(1.5F, -5.0F, -1.5F, 1, 2, 2, f); wolfHeadMain.setTextureOffset(0, 14).addBox(-1.5F, 0.0F, -7.0F, 3, 3, 4, f);
public ModelGateBridge() { part1 = new ModelRenderer(this, "part1"); part1.setTextureOffset(0, 0); part1.setTextureSize(256, 256); part1.setRotationPoint(0.0f, 0.0f, 0.0f); part1.addBox(-8.0f, -8.0f, -8.0f, 16, 16, 16); bridgePiece = new ModelRenderer(this, "bridgePiece"); bridgePiece.setTextureOffset(0, 33); bridgePiece.setTextureSize(256, 256); bridgePiece.setRotationPoint(0.0f, 0.0f, 0.0f); bridgePiece.addBox(-8.0f, -8.0f, -8.0f, 16, 16, 8); bridgeSide1 = new ModelRenderer(this, "bridgeSide1"); bridgeSide1.setTextureOffset(0, 58); bridgeSide1.setTextureSize(256, 256); bridgeSide1.setRotationPoint(0.0f, 0.0f, 0.0f); bridgeSide1.addBox(-2.0f, -8.0f, 0.0f, 10, 16, 3); bridgeSide4 = new ModelRenderer(this, "bridgeSide4"); bridgeSide4.setTextureOffset(27, 58); bridgeSide4.setTextureSize(256, 256); bridgeSide4.setRotationPoint(0.0f, 0.0f, 0.0f); bridgeSide4.addBox(-8.0f, -8.0f, 3.0f, 6, 16, 3); bridgeCorner1 = new ModelRenderer(this, "bridgeCorner1"); bridgeCorner1.setTextureOffset(49, 34); bridgeCorner1.setTextureSize(256, 256); bridgeCorner1.setRotationPoint(0.0f, 0.0f, 0.0f);
public ModelShot() { Shape1 = new ModelRenderer(this, "Shape1"); Shape1.setTextureOffset(0, 28); Shape1.setTextureSize(128, 128); Shape1.setRotationPoint(-6.0f, 6.0f, -6.0f); Shape1.addBox(0.0f, 0.0f, 0.0f, 12, 1, 12); Shape5 = new ModelRenderer(this, "Shape5"); Shape5.setTextureOffset(27, 71); Shape5.setTextureSize(128, 128); Shape5.setRotationPoint(12.0f, -12.0f, 0.0f); Shape1.addChild(Shape5); Shape4 = new ModelRenderer(this, "Shape4"); Shape4.setTextureOffset(27, 45); Shape4.setTextureSize(128, 128); Shape4.setRotationPoint(0.0f, -12.0f, -1.0f); Shape1.addChild(Shape4); Shape3 = new ModelRenderer(this, "Shape3"); Shape3.setTextureOffset(49, 28); Shape3.setTextureSize(128, 128); Shape3.setRotationPoint(0.0f, -13.0f, 0.0f); Shape1.addChild(Shape3); Shape7 = new ModelRenderer(this, "Shape7"); Shape7.setTextureOffset(0, 71); Shape7.setTextureSize(128, 128); Shape7.setRotationPoint(-1.0f, -12.0f, 0.0f);
public ModelCatapultStandFixed() { turretMidBeam = new ModelRenderer(this, "turretMidBeam"); turretMidBeam.setTextureOffset(0, 128); turretMidBeam.setTextureSize(256, 256); turretMidBeam.setRotationPoint(0.0f, -1.0f, 0.0f); turretMidBeam.addBox(-12.0f, -1.0f, -1.5f, 24, 2, 3); upright1 = new ModelRenderer(this, "upright1"); upright1.setTextureOffset(9, 150); upright1.setTextureSize(256, 256); upright1.setRotationPoint(-15.0f, -19.0f, -1.5f); turretMidBeam.addChild(upright1); upright2 = new ModelRenderer(this, "upright2"); upright2.setTextureOffset(9, 150); upright2.setTextureSize(256, 256); upright2.setRotationPoint(12.0f, -19.0f, -1.5f); turretMidBeam.addChild(upright2); turretTopHorizontal = new ModelRenderer(this, "turretTopHorizontal"); turretTopHorizontal.setTextureOffset(0, 140); turretTopHorizontal.setTextureSize(256, 256); turretTopHorizontal.setRotationPoint(-12.0f, -19.0f, -1.5f); turretMidBeam.addChild(turretTopHorizontal); turretLeftAngled = new ModelRenderer(this, "turretLeftAngled"); turretLeftAngled.setTextureOffset(0, 150); turretLeftAngled.setTextureSize(256, 256); turretLeftAngled.setRotationPoint(12.5f, -19.0f, -1.0f);
public ModelTrebuchetStandFixed() { turretMidBeam = new ModelRenderer(this, "turretMidBeam"); turretMidBeam.setTextureOffset(0, 128); turretMidBeam.setTextureSize(256, 256); turretMidBeam.setRotationPoint(0.0f, -1.0f, 0.0f); turretMidBeam.addBox(-21.0f, -1.0f, -1.5f, 42, 2, 3); upright1 = new ModelRenderer(this, "upright1"); upright1.setTextureOffset(0, 140); upright1.setTextureSize(256, 256); upright1.setRotationPoint(-6.0f, -1.0f, -1.5f); turretMidBeam.addChild(upright1); upright2 = new ModelRenderer(this, "upright2"); upright2.setTextureOffset(0, 140); upright2.setTextureSize(256, 256); upright2.setRotationPoint(5.0f, -1.0f, -1.5f); turretMidBeam.addChild(upright2); turretFrontBeam = new ModelRenderer(this, "turretFrontBeam"); turretFrontBeam.setTextureOffset(0, 134); turretFrontBeam.setTextureSize(256, 256); turretFrontBeam.setRotationPoint(0.0f, 0.0f, -18.0f); turretMidBeam.addChild(turretFrontBeam); turretRearBeam = new ModelRenderer(this, "turretRearBeam"); turretRearBeam.setTextureOffset(0, 134); turretRearBeam.setTextureSize(256, 256); turretRearBeam.setRotationPoint(0.0f, 0.0f, 18.0f);
public ModelGateBasic() { part1 = new ModelRenderer(this, "part1"); part1.setTextureOffset(0, 0); part1.setTextureSize(256, 256); part1.setRotationPoint(0.0f, 0.0f, 0.0f); part1.addBox(-1.0f, -16.0f, -8.0f, 2, 16, 16); top1 = new ModelRenderer(this, "top1"); top1.setTextureOffset(41, 26); top1.setTextureSize(256, 256); top1.setRotationPoint(0.0f, -16.0f, 0.0f); top1.addBox(4.0f, 0.0f, -8.0f, 2, 6, 16); top4 = new ModelRenderer(this, "top4"); top4.setTextureOffset(39, 0); top4.setTextureSize(256, 256); top4.setRotationPoint(0.0f, 0.0f, 0.0f); top1.addChild(top4); top3 = new ModelRenderer(this, "top3"); top3.setTextureOffset(39, 0); top3.setTextureSize(256, 256); top3.setRotationPoint(-4.0f, 0.0f, 0.0f); top1.addChild(top3); top2 = new ModelRenderer(this, "top2"); top2.setTextureOffset(41, 26); top2.setTextureSize(256, 256); top2.setRotationPoint(-6.0f, 0.0f, 0.0f);
public ModelArrow2() { headPoint = new ModelRenderer(this, "headPoint"); headPoint.setTextureOffset(0, 7); headPoint.setTextureSize(192, 36); headPoint.setRotationPoint(0.0f, 0.0f, 0.0f); headPoint.addBox(-0.5f, -0.5f, -0.5f, 1, 1, 1); shaftCoreTop = new ModelRenderer(this, "shaftCoreTop"); shaftCoreTop.setTextureOffset(0, 9); shaftCoreTop.setTextureSize(192, 36); shaftCoreTop.setRotationPoint(0.0f, 0.0f, 0.0f); headPoint.addChild(shaftCoreTop); shaftCoreBottom = new ModelRenderer(this, "shaftCoreBottom"); shaftCoreBottom.setTextureOffset(0, 9); shaftCoreBottom.setTextureSize(192, 36); shaftCoreBottom.setRotationPoint(0.0f, 0.0f, 0.0f); headPoint.addChild(shaftCoreBottom); shaftCoreLeft = new ModelRenderer(this, "shaftCoreLeft"); shaftCoreLeft.setTextureOffset(0, 13); shaftCoreLeft.setTextureSize(192, 36); shaftCoreLeft.setRotationPoint(0.0f, 0.0f, 0.0f); headPoint.addChild(shaftCoreLeft); shaftCoreRight = new ModelRenderer(this, "shaftCoreRight"); shaftCoreRight.setTextureOffset(0, 13); shaftCoreRight.setTextureSize(192, 36); shaftCoreRight.setRotationPoint(0.0f, 0.0f, 0.0f);
public ModelTrebuchetStandTurret() { standBaseMidBeam = new ModelRenderer(this, "standBaseMidBeam"); standBaseMidBeam.setTextureOffset(0, 0); standBaseMidBeam.setTextureSize(256, 256); standBaseMidBeam.setRotationPoint(0.0f, 0.0f, 0.0f); standBaseMidBeam.addBox(-18.0f, -2.0f, -1.5f, 36, 2, 3); standLeftBeam = new ModelRenderer(this, "standLeftBeam"); standLeftBeam.setTextureOffset(0, 63); standLeftBeam.setTextureSize(256, 256); standLeftBeam.setRotationPoint(19.0f, 0.0f, 0.0f); standBaseMidBeam.addChild(standLeftBeam); standRightBeam = new ModelRenderer(this, "standRightBeam"); standRightBeam.setTextureOffset(0, 63); standRightBeam.setTextureSize(256, 256); standRightBeam.setRotationPoint(-20.0f, 0.0f, 0.0f); standBaseMidBeam.addChild(standRightBeam); standFrontBeam = new ModelRenderer(this, "standFrontBeam"); standFrontBeam.setTextureOffset(0, 6); standFrontBeam.setTextureSize(256, 256); standFrontBeam.setRotationPoint(0.0f, 0.0f, -22.5f); standBaseMidBeam.addChild(standFrontBeam); standRearBeam = new ModelRenderer(this, "standRearBeam"); standRearBeam.setTextureOffset(0, 6); standRearBeam.setTextureSize(256, 256); standRearBeam.setRotationPoint(0.0f, 0.0f, 19.5f);
public ModelCatapultStandTurret() { standBaseMidBeam = new ModelRenderer(this, "standBaseMidBeam"); standBaseMidBeam.setTextureOffset(0, 0); standBaseMidBeam.setTextureSize(256, 256); standBaseMidBeam.setRotationPoint(0.0f, 0.0f, 0.0f); standBaseMidBeam.addBox(-18.0f, -2.0f, -1.5f, 36, 2, 3); standLeftBeam = new ModelRenderer(this, "standLeftBeam"); standLeftBeam.setTextureOffset(0, 63); standLeftBeam.setTextureSize(256, 256); standLeftBeam.setRotationPoint(19.0f, 0.0f, 0.0f); standBaseMidBeam.addChild(standLeftBeam); standRightBeam = new ModelRenderer(this, "standRightBeam"); standRightBeam.setTextureOffset(0, 63); standRightBeam.setTextureSize(256, 256); standRightBeam.setRotationPoint(-20.0f, 0.0f, 0.0f); standBaseMidBeam.addChild(standRightBeam); standFrontBeam = new ModelRenderer(this, "standFrontBeam"); standFrontBeam.setTextureOffset(0, 6); standFrontBeam.setTextureSize(256, 256); standFrontBeam.setRotationPoint(0.0f, 0.0f, -22.5f); standBaseMidBeam.addChild(standFrontBeam); standRearBeam = new ModelRenderer(this, "standRearBeam"); standRearBeam.setTextureOffset(0, 6); standRearBeam.setTextureSize(256, 256); standRearBeam.setRotationPoint(0.0f, 0.0f, 19.5f);
public ModelCannonStandFixed() { cannonBaseMid = new ModelRenderer(this, "cannonBaseMid"); cannonBaseMid.setTextureOffset(134, 155); cannonBaseMid.setTextureSize(256, 256); cannonBaseMid.setRotationPoint(0.0f, 0.0f, 0.0f); cannonBaseMid.addBox(-8.0f, -2.0f, -21.5f, 16, 2, 28); cannonBaseMid2 = new ModelRenderer(this, "cannonBaseMid2"); cannonBaseMid2.setTextureOffset(134, 186); cannonBaseMid2.setTextureSize(256, 256); cannonBaseMid2.setRotationPoint(0.0f, -2.0f, -3.0f); cannonBaseMid2.addBox(-6.0f, -2.0f, -14.5f, 12, 2, 24); cannonBaseLeft1 = new ModelRenderer(this, "cannonBaseLeft1"); cannonBaseLeft1.setTextureOffset(134, 213); cannonBaseLeft1.setTextureSize(256, 256); cannonBaseLeft1.setRotationPoint(-2.0f, 0.0f, -1.0f); cannonBaseMid2.addChild(cannonBaseLeft1); cannonBaseLeft2 = new ModelRenderer(this, "cannonBaseLeft2"); cannonBaseLeft2.setTextureOffset(189, 213); cannonBaseLeft2.setTextureSize(256, 256); cannonBaseLeft2.setRotationPoint(-2.0f, -2.0f, 2.0f); cannonBaseMid2.addChild(cannonBaseLeft2); cannonBaseLeft3 = new ModelRenderer(this, "cannonBaseLeft3"); cannonBaseLeft3.setTextureOffset(207, 190); cannonBaseLeft3.setTextureSize(256, 256); cannonBaseLeft3.setRotationPoint(-2.0f, -4.0f, 4.0f);
public ModelHwacha() { flagPole = new ModelRenderer(this, "flagPole"); flagPole.setTextureOffset(19, 78); flagPole.setTextureSize(256, 256); flagPole.setRotationPoint(0.0f, -8.0f, 0.0f); flagPole.addBox(-11.0f, -41.0f, -0.5f, 1, 16, 1); frontAxle = new ModelRenderer(this, "frontAxle"); frontAxle.setTextureOffset(0, 59); frontAxle.setTextureSize(256, 256); frontAxle.setRotationPoint(0.0f, -8.0f, 0.0f); frontAxle.addBox(-10.5f, -0.5f, -0.5f, 21, 1, 1); FRWheelPivot = new ModelRenderer(this, "FRWheelPivot"); FRWheelPivot.setTextureOffset(0, 62); FRWheelPivot.setTextureSize(256, 256); FRWheelPivot.setRotationPoint(-10.5f, 0.0f, 0.0f); FRWheelPivot.addBox(-0.5f, -7.0f, -0.5f, 1, 14, 1); FRS2 = new ModelRenderer(this, "FRS2"); FRS2.setTextureOffset(23, 62); FRS2.setTextureSize(256, 256); FRS2.setRotationPoint(0.0f, 0.0f, 0.0f); FRWheelPivot.addChild(FRS2); FRS3 = new ModelRenderer(this, "FRS3"); FRS3.setTextureOffset(23, 62); FRS3.setTextureSize(256, 256); FRS3.setRotationPoint(0.0f, 0.0f, 0.0f);
public ModelBallistaStand() { baseMain = new ModelRenderer(this, "baseMain"); baseMain.setTextureOffset(0, 21); baseMain.setTextureSize(256, 256); baseMain.setRotationPoint(0.0f, 0.0f, 0.0f); baseMain.addBox(-7.0f, -2.0f, -7.0f, 14, 2, 14); basePillar = new ModelRenderer(this, "basePillar"); basePillar.setTextureOffset(0, 0); basePillar.setTextureSize(256, 256); basePillar.setRotationPoint(0.0f, -12.0f, 0.0f); basePillar.addBox(-2.0f, 0.0f, -2.0f, 4, 10, 4); pivot = new ModelRenderer(this, "pivot"); pivot.setTextureOffset(17, 0); pivot.setTextureSize(256, 256); pivot.setRotationPoint(0.0f, -2.0f, 0.0f); baseMain.addChild(basePillar); armMain = new ModelRenderer(this, "armMain"); armMain.setTextureOffset(0, 128); armMain.setTextureSize(256, 256); armMain.setRotationPoint(0.0f, -14.0f, 0.0f); armMain.addBox(-1.5f, -2.0f, -4.5f, 3, 2, 28); armFront = new ModelRenderer(this, "armFront"); armFront.setTextureOffset(63, 128); armFront.setTextureSize(256, 256); armFront.setRotationPoint(-1.5f, -2.0f, -11.5f);
public ModelHelicopter() { bodyBottom = new ModelRenderer(this, "bodyBottom"); bodyBottom.setTextureOffset(20, 1); bodyBottom.setTextureSize(256, 256); bodyBottom.setRotationPoint(0.0f, -12.0f, 0.0f); bodyBottom.addBox(-7.0f, 3.0f, -16.0f, 14, 1, 28); skidLegFR = new ModelRenderer(this, "skidLegFR"); skidLegFR.setTextureOffset(0, 116); skidLegFR.setTextureSize(256, 256); skidLegFR.setRotationPoint(-6.0f, 4.0f, -11.0f); bodyBottom.addChild(skidLegFR); skidLegRR = new ModelRenderer(this, "skidLegRR"); skidLegRR.setTextureOffset(0, 116); skidLegRR.setTextureSize(256, 256); skidLegRR.setRotationPoint(-6.0f, 4.0f, 11.0f); bodyBottom.addChild(skidLegRR); skidLegRL = new ModelRenderer(this, "skidLegRL"); skidLegRL.setTextureOffset(0, 116); skidLegRL.setTextureSize(256, 256); skidLegRL.setRotationPoint(6.0f, 4.0f, 11.0f); bodyBottom.addChild(skidLegRL); skidLegFL = new ModelRenderer(this, "skidLegFL"); skidLegFL.setTextureOffset(0, 116); skidLegFL.setTextureSize(256, 256); skidLegFL.setRotationPoint(6.0f, 4.0f, -11.0f);
public ModelBoatTransport() { bottomP1 = new ModelRenderer(this, "bottomP1"); bottomP1.setTextureOffset(0, 31); bottomP1.setTextureSize(256, 256); bottomP1.setRotationPoint(0.0f, 0.0f, 0.0f); bottomP1.addBox(-15.0f, -1.0f, -24.0f, 15, 1, 24); bow = new ModelRenderer(this, "bow"); bow.setTextureOffset(161, 89); bow.setTextureSize(256, 256); bow.setRotationPoint(0.0f, 0.0f, -24.0f); bottomP1.addChild(bow); leftHull1 = new ModelRenderer(this, "leftHull1"); leftHull1.setTextureOffset(157, 28); leftHull1.setTextureSize(256, 256); leftHull1.setRotationPoint(15.0f, -1.0f, 0.0f); bottomP1.addChild(leftHull1); leftHull2 = new ModelRenderer(this, "leftHull2"); leftHull2.setTextureOffset(93, 86); leftHull2.setTextureSize(256, 256); leftHull2.setRotationPoint(15.0f, -12.0f, -35.0f); bottomP1.addChild(leftHull2); bow2 = new ModelRenderer(this, "bow2"); bow2.setTextureOffset(154, 5); bow2.setTextureSize(256, 256); bow2.setRotationPoint(0.0f, 0.0f, -25.0f);
public ModelCannonStandTurret() { cannonBaseMid = new ModelRenderer(this, "cannonBaseMid"); cannonBaseMid.setTextureOffset(134, 155); cannonBaseMid.setTextureSize(256, 256); cannonBaseMid.setRotationPoint(0.0f, -2.0f, 0.0f); cannonBaseMid.addBox(-8.0f, -2.0f, -21.5f, 16, 2, 28); cannonBaseMid2 = new ModelRenderer(this, "cannonBaseMid2"); cannonBaseMid2.setTextureOffset(134, 186); cannonBaseMid2.setTextureSize(256, 256); cannonBaseMid2.setRotationPoint(0.0f, -2.0f, -3.0f); cannonBaseMid2.addBox(-6.0f, -2.0f, -14.5f, 12, 2, 24); cannonBaseLeft1 = new ModelRenderer(this, "cannonBaseLeft1"); cannonBaseLeft1.setTextureOffset(134, 213); cannonBaseLeft1.setTextureSize(256, 256); cannonBaseLeft1.setRotationPoint(-2.0f, 0.0f, -1.0f); cannonBaseMid2.addChild(cannonBaseLeft1); cannonBaseLeft2 = new ModelRenderer(this, "cannonBaseLeft2"); cannonBaseLeft2.setTextureOffset(189, 213); cannonBaseLeft2.setTextureSize(256, 256); cannonBaseLeft2.setRotationPoint(-2.0f, -2.0f, 2.0f); cannonBaseMid2.addChild(cannonBaseLeft2); cannonBaseLeft3 = new ModelRenderer(this, "cannonBaseLeft3"); cannonBaseLeft3.setTextureOffset(207, 190); cannonBaseLeft3.setTextureSize(256, 256); cannonBaseLeft3.setRotationPoint(-2.0f, -4.0f, 4.0f);