public ModelSpinningCubes() { spinningCube = new ModelRenderer(this, 42, 0); spinningCube.addBox(0F, 0F, 0F, 1, 1, 1); spinningCube.setRotationPoint(0F, 0F, 0F); spinningCube.setTextureSize(64, 64); }
public ModelTinyPotato() { textureWidth = 16; textureHeight = 16; potato = new ModelRenderer(this, 0, 0); potato.addBox(0F, 0F, 0F, 4, 6, 4); potato.setRotationPoint(-2F, 18F, -2F); potato.setTextureSize(64, 32); }
public ModelFluidSteam() { this.box1 = new ModelRenderer(this, 0, 0); box1.setTextureSize(64, 64); box1.addBox(12.0F, 2.5F, 2.5F, 4, 11, 11); this.box2 = new ModelRenderer(this, 30, 0); box2.setTextureSize(64, 64); box2.addBox(0.0F, 3.0F, 3.0F, 5, 10, 10); this.box3 = new ModelRenderer(this, 0, 22); box3.setTextureSize(64, 64); box3.addBox(3.0F, 2.5F, 2.5F, 1, 11, 11); }
public ModelCape(float f) { super(f, 0.0F, 64, 32); this.cape = new ModelRenderer(this, 0, 0); this.cape.setTextureSize(64, 32); this.cape.addBox(-5.0F, 0.0F, -1.0F, 10, 16, 1, f); }
ModelCanister() { part1 = new ModelRenderer(this, 0, 0); part1.setTextureSize(64, 64); part1.addBox(-1.5F, -2.0F, -1.5F, 3, 1, 3); part2 = new ModelRenderer(this, 0, 0); part2.setTextureSize(64, 64); part2.addBox(-2.0F, -1.0F, -2.0F, 4, 8, 4); part3 = new ModelRenderer(this, 0, 0); part3.setTextureSize(64, 64); part3.addBox(-1.5F, 7.0F, -1.5F, 3, 1, 3); }
public ModelDireSlime() { for (int i = 0; i < this.sliceRenderers.length; ++i) { this.sliceRenderers[i] = new ModelRenderer(this, 0, i); this.sliceRenderers[i].setTextureSize(64, 64); this.sliceRenderers[i].addBox(-8.0F, 8 + i, -8.0F, 16, 1, 16); } this.coreRendererClay = new ModelRenderer(this, 0, 32); this.coreRendererClay.setTextureSize(64, 64); this.coreRendererClay.addBox(-3.0F, 13.0F, -3.0F, 6, 6, 6); for (int i = 0; i < this.coreRenderers.length; ++i) { this.coreRenderers[i] = new ModelRenderer(this, 32, 32 + i); this.coreRenderers[i].setTextureSize(64, 64); this.coreRenderers[i].addBox(-3.0F, 13.0F, -3.0F, 6, 6, 6); } }
public ModelMortarItem() { this.part1 = (new ModelRenderer(this, 0, 0)).setTextureSize(64, 64); part1.addBox(-1.5F, -2.0F, -1.5F, 3, 1, 3); this.part2 = (new ModelRenderer(this, 0, 0)).setTextureSize(64, 64); part2.addBox(-2.0F, -1.0F, -2.0F, 4, 8, 4); this.part3 = (new ModelRenderer(this, 0, 0)).setTextureSize(64, 64); part3.addBox(-1.5F, 7.0F, -1.5F, 3, 2, 3); this.part4 = (new ModelRenderer(this, 0, 0)).setTextureSize(64, 64); part4.addBox(-1.0F, 9.0F, -1.0F, 2, 3, 2); this.part5 = (new ModelRenderer(this, 0, 0)).setTextureSize(64, 64); part5.addBox(-0.5F, 10.0F, -2.5F, 1, 2, 5); this.part6 = (new ModelRenderer(this, 0, 0)).setTextureSize(64, 64); part6.addBox(-2.5F, 10.0F, -0.5F, 5, 2, 1); this.minePart = (new ModelRenderer(this, 0, 0)).setTextureSize(16, 16); minePart.addBox(-8.0F, -1.9F, -8.0F, 16, 0, 16); }
public ModelHammer() { this.box1 = (new ModelRenderer(this, 0, 0)).setTextureSize(64, 64); box1.addBox(6.0F, 2.0F, 0.0F, 4, 10, 2); this.box2 = (new ModelRenderer(this, 32, 0)).setTextureSize(64, 64); box2.addBox(7.0F, -1.0F, 0.0F, 2, 2, 9); box2.setRotationPoint(0.0F, 0.0F, 0.0F); this.box3 = (new ModelRenderer(this, 32, 32)).setTextureSize(64, 64); box3.addBox(6.0F, -3.0F, 9.0F, 4, 6, 4); box3.setRotationPoint(0.0F, 0.0F, 0.0F); this.box4 = (new ModelRenderer(this, 0, 32)).setTextureSize(64, 64); box4.addBox(7.5F, -1.0F, 0.0F, 1, 1, 13); box4.setRotationPoint(0.0F, 0.0F, 0.0F); }
public ModelPointer() { box = new ModelRenderer(this, 0, 0); box.setTextureSize(64, 64); box.addBox(-0.5F, -0.5F, -0.5F, 1, 4, 1); box.setRotationPoint(0.0F, 0.0F, 0.0F); }
public ModelOvenDoor() { textureWidth = 32; textureHeight = 16; handle = new ModelRenderer(this, 0, 0); handle.addBox(-2.5F, -6F, -1F, 5, 1, 1); handle.setRotationPoint(0F, 21F, -7F); handle.setTextureSize(32, 16); handle.mirror = true; door = new ModelRenderer(this, 0, 3); door.addBox(-5F, -7F, 0F, 10, 7, 1); door.setRotationPoint(0F, 21F, -7F); door.setTextureSize(32, 16); door.mirror = true; }
public ModelWings() { wing1 = new ModelRenderer[PARTS]; wing2 = new ModelRenderer[PARTS]; for (int i = 0; i < PARTS; i++) { wing1[i] = new ModelRenderer(this, 32, 0).setTextureSize(64, 64); wing2[i] = new ModelRenderer(this, 32, 0).setTextureSize(64, 64); wing1[i].addBox(0F, 0F, -0.5F, 2, 12, 1); wing1[i].setRotationPoint(-1.0F - ((5 - i)), 1F - ((5 - i)), 6.5F); wing2[i].addBox(0.0F, 0F, 0F, 2, 12, 1); wing2[i].setRotationPoint(1.0F + ((5 - i)), 1F - ((5 - i)), 6.0F); } frame1 = new ModelRenderer(this, 0, 0).setTextureSize(64, 64); frame2 = new ModelRenderer(this, 0, 0).setTextureSize(64, 64); frame1.addBox(0F, -0.4F + 1F / 2F, -1.0F, 2, 9, 2); frame1.setRotationPoint(-1.2F, 1F, 6.5F); frame2.addBox(0.0F, -0.4F + 1F / 2F, 0F, 2, 9, 2); frame2.setRotationPoint(1.2F, 1F, 5.5F); }
public ModelFridgeDoor() { textureWidth = 64; textureHeight = 16; DoorMain = new ModelRenderer(this, 4, 0); DoorMain.addBox(0f, 0f, 0f, 14, 15, 1); DoorMain.setRotationPoint(-7f, 9f, -7f); DoorMain.setTextureSize(64, 16); DoorMainFlipped = new ModelRenderer(this, 4, 0); DoorMainFlipped.addBox(-14f, 0f, 0f, 14, 15, 1); DoorMainFlipped.setRotationPoint(7f, 9f, -7f); DoorMainFlipped.setTextureSize(64, 16); DoorHandle = new ModelRenderer(this, 0, 0); DoorHandle.addBox(12f, 6f, -1f, 1, 2, 1); DoorHandle.setRotationPoint(-7f, 9f, -7f); DoorHandle.setTextureSize(64, 16); DoorHandleFlipped = new ModelRenderer(this, 0, 0); DoorHandleFlipped.addBox(-13f, 6f, -1f, 1, 2, 1); DoorHandleFlipped.setRotationPoint(7f, 9f, -7f); DoorHandleFlipped.setTextureSize(64, 16); }
public ModelFridgeLargeDoor() { textureWidth = 64; textureHeight = 32; DoorMain = new ModelRenderer(this, 4, 0); DoorMain.addBox(0f, 0f, 0f, 14, 29, 1); DoorMain.setRotationPoint(-7f, -5f, -7f); DoorMain.setTextureSize(64, 32); DoorMainFlipped = new ModelRenderer(this, 4, 0); DoorMainFlipped.addBox(-14f, 0f, 0f, 14, 29, 1); DoorMainFlipped.setRotationPoint(7f, -5f, -7f); DoorMainFlipped.setTextureSize(64, 32); DoorHandle = new ModelRenderer(this, 0, 0); DoorHandle.addBox(12f, 3f, -1f, 1, 23, 1); DoorHandle.setRotationPoint(-7f, -5f, -7f); DoorHandle.setTextureSize(64, 32); DoorHandleFlipped = new ModelRenderer(this, 0, 0); DoorHandleFlipped.addBox(-13f, 3f, -1f, 1, 23, 1); DoorHandleFlipped.setRotationPoint(7f, -5f, -7f); DoorHandleFlipped.setTextureSize(64, 32); }
public ModelOvenDoor() { textureWidth = 64; textureHeight = 16; DoorMain = new ModelRenderer(this, 0, 0); DoorMain.addBox(0f, -10f, 0f, 12, 11, 1); DoorMain.setRotationPoint(-6f, 23f, -7f); DoorMain.setTextureSize(64, 16); DoorBopLeft = new ModelRenderer(this, 0, 0); DoorBopLeft.addBox(2f, -10f, -1f, 1, 1, 1); DoorBopLeft.setRotationPoint(-6f, 23f, -7f); DoorBopLeft.setTextureSize(64, 16); DoorBopRight = new ModelRenderer(this, 0, 0); DoorBopRight.addBox(9f, -10f, -1f, 1, 1, 1); DoorBopRight.setRotationPoint(-6f, 23f, -7f); DoorBopRight.setTextureSize(64, 16); DoorHandle = new ModelRenderer(this, 0, 0); DoorHandle.addBox(0f, -10f, -2f, 12, 1, 1); DoorHandle.setRotationPoint(-6f, 23f, -7f); DoorHandle.setTextureSize(64, 16); }
public ModelCounterDoor() { textureWidth = 64; textureHeight = 16; DoorMain = new ModelRenderer(this, 4, 0); DoorMain.addBox(0f, 0f, 0f, 12, 14, 1); DoorMain.setRotationPoint(-6f, 10f, -6f); DoorMain.setTextureSize(64, 16); DoorMainFlipped = new ModelRenderer(this, 4, 0); DoorMainFlipped.addBox(-12f, 0f, 0f, 12, 14, 1); DoorMainFlipped.setRotationPoint(6f, 10f, -6f); DoorMainFlipped.setTextureSize(64, 16); DoorHandle = new ModelRenderer(this, 0, 0); DoorHandle.addBox(9f, 7f, -1f, 1, 2, 1); DoorHandle.setRotationPoint(-6f, 8f, -6f); DoorHandle.setTextureSize(64, 16); DoorHandleFlipped = new ModelRenderer(this, 0, 0); DoorHandleFlipped.addBox(-10f, 7f, -1f, 1, 2, 1); DoorHandleFlipped.setRotationPoint(6f, 8f, -6f); DoorHandleFlipped.setTextureSize(64, 16); }
public ModelGaiaPropFlowerCyan() { textureWidth = 64; textureHeight = 32; headflower1 = new ModelRenderer(this, 0, 0); headflower1.addBox(-3.0F, -10.0F, 0.0F, 6, 11, 0); headflower1.setRotationPoint(0.0F, 23.0F, 0.0F); headflower1.setTextureSize(64, 32); setRotation(headflower1, 0.0F, -0.7853982F, 0.0F); headflower2 = new ModelRenderer(this, 0, 0); headflower2.addBox(-3.0F, -10.0F, 0.0F, 6, 11, 0); headflower2.setRotationPoint(0.0F, 23.0F, 0.0F); headflower2.setTextureSize(64, 32); setRotation(headflower2, 0.0F, 0.7853982F, 0.0F); }
public ModelGaiaPropChestMimic() { textureWidth = 64; textureHeight = 32; body = new ModelRenderer(this, 0, 0); body.addBox(-8F, -8F, -8F, 14, 14, 14); body.setRotationPoint(1F, 18F, 1F); body.setTextureSize(64, 32); body.mirror = true; setRotation(body, 0F, 0F, 0F); lock = new ModelRenderer(this, 0, 0); lock.addBox(-2F, -5F, -9F, 2, 4, 1); lock.setRotationPoint(1F, 18F, 1F); lock.setTextureSize(64, 32); lock.mirror = true; setRotation(lock, 0F, 0F, 0F); }
public ModelLever() { textureWidth = 32; textureHeight = 32; Shape1 = new ModelRenderer(this, 0, 0); Shape1.addBox(-1F, -1.0F, -9F, 2, 2, 8); Shape1.setRotationPoint(0F, 16F, 0F); Shape1.setTextureSize(32, 32); Shape1.mirror = true; setRotation(Shape1, 0F, 0F, 0F); Shape2 = new ModelRenderer(this, 22, 0); Shape2.addBox(-1F, 0.0F, -3F, 2, 6, 2); Shape2.setRotationPoint(0F, 16F, 0F); Shape2.setTextureSize(32, 32); Shape2.mirror = true; setRotation(Shape2, 0F, 0F, 0F); }
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 ModelSolarPanelAddon() { textureWidth = 64; textureHeight = 64; Shape1 = new ModelRenderer(this, 0, 0); Shape1.addBox(-1F, -8F, -1F, 2, 6, 1); Shape1.setRotationPoint(0F, 16F, 0F); Shape1.setTextureSize(64, 64); Shape1.mirror = true; setRotation(Shape1, 0.2321598F, 0F, 0F); Shape2 = new ModelRenderer(this, 26, 0); Shape2.addBox(-4F, -8F, -4F, 8, 1, 8); Shape2.setRotationPoint(0F, 16F, 0F); Shape2.setTextureSize(64, 64); Shape2.mirror = true; setRotation(Shape2, 0F, 0F, 0F); Shape3 = new ModelRenderer(this, 0, 0); Shape3.addBox(-1F, -8F, 0F, 2, 6, 1); Shape3.setRotationPoint(0F, 16F, 0F); Shape3.setTextureSize(64, 64); Shape3.mirror = true; setRotation(Shape3, -0.2565324F, 0F, 0F); }