diff options
Diffstat (limited to 'ihl/processing/chemistry/ExtruderModel.java')
| -rw-r--r-- | ihl/processing/chemistry/ExtruderModel.java | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/ihl/processing/chemistry/ExtruderModel.java b/ihl/processing/chemistry/ExtruderModel.java deleted file mode 100644 index 4d4688a..0000000 --- a/ihl/processing/chemistry/ExtruderModel.java +++ /dev/null @@ -1,100 +0,0 @@ -package ihl.processing.chemistry; - -import ihl.model.IHLModelRenderer; -import net.minecraft.client.model.ModelBase; -import net.minecraftforge.common.util.ForgeDirection; - -public class ExtruderModel extends ModelBase -{ - //fields - IHLModelRenderer Base; - IHLModelRenderer RotatingPart2; - IHLModelRenderer MotorPart1; - IHLModelRenderer MotorPart2; - IHLModelRenderer Belt; - IHLModelRenderer Belt2; - IHLModelRenderer Extruder; - - public ExtruderModel() - { - textureWidth = 64; - textureHeight = 32; - setTextureOffset("Base.Shape6", 0, 0); - setTextureOffset("Base.Shape3", 0, 0); - setTextureOffset("Base.Shape16", 0, 0); - setTextureOffset("RotatingPart2.PipeN7", 49, 23); - setTextureOffset("RotatingPart2.PipeN4", 0, 7); - setTextureOffset("MotorPart1.PipeN41", 0, 0); - setTextureOffset("MotorPart1.PipeN12", 0, 0); - setTextureOffset("MotorPart1.PipeN13", 0, 0); - setTextureOffset("MotorPart2.Shape4", 0, 24); - setTextureOffset("MotorPart2.Shape7", 0, 9); - setTextureOffset("MotorPart2.Shape10", 0, 9); - setTextureOffset("Belt.Shape12", 0, 0); - setTextureOffset("Belt2.Shape13", 0, 0); - setTextureOffset("Extruder.PipeN16", 0, 0); - setTextureOffset("Extruder.PipeN15", 24, 20); - setTextureOffset("Extruder.Shape8", 0, 0); - setTextureOffset("Extruder.PipeU17", 0, 0); - setTextureOffset("Extruder.PipeUC18", 0, 0); - setTextureOffset("Extruder.Shape14", 0, 0); - setTextureOffset("Extruder.PipeN14", 0, 0); - - Base = new IHLModelRenderer(this, "Base"); - Base.setRotationPoint(0F, 16F, 0F); - setRotation(Base, 0F, 0F, 0F); - Base.mirror = true; - Base.addBox("Shape6", -8F, 7F, -8F, 16, 1, 16); - Base.addBox("Shape3", -5F, 0F, -7F, 4, 7, 1); - Base.addBox("Shape16", 3F, 3F, -6F, 3, 4, 1); - RotatingPart2 = new IHLModelRenderer(this, "RotatingPart2"); - RotatingPart2.setRotationPoint(-3F, 18F, -7F); - setRotation(RotatingPart2, 0F, 0F, 0F); - RotatingPart2.mirror = true; - RotatingPart2.addTube("PipeN7", -2.5F, -2.5F, -1F, 5, 5, 1, 0F,1F,ForgeDirection.NORTH); - RotatingPart2.addTube("PipeN4", -1F, -1F, 1F, 2, 2, 1, 0F,1F,ForgeDirection.NORTH); - MotorPart1 = new IHLModelRenderer(this, "MotorPart1"); - MotorPart1.setRotationPoint(4.5F, 20.5F, 0F); - setRotation(MotorPart1, 0F, 0F, 0F); - MotorPart1.mirror = true; - MotorPart1.addTube("PipeN41", -1.5F, -1.5F, -8F, 3, 3, 1, 0F,1F,ForgeDirection.NORTH); - MotorPart1.addTube("PipeN12", -0.5F, -0.5F, -7F, 1, 1, 1, 0F,1F,ForgeDirection.NORTH); - MotorPart1.addTube("PipeN13", -1.5F, -1.5F, -5F, 3, 3, 5, 0F,1F,ForgeDirection.NORTH); - MotorPart2 = new IHLModelRenderer(this, "MotorPart2"); - MotorPart2.setRotationPoint(0F, 16F, 0F); - setRotation(MotorPart2, 0F, 0F, 0F); - MotorPart2.mirror = true; - MotorPart2.addBox("Shape4", 3F, 3F, 0F, 3, 4, 4); - MotorPart2.addBox("Shape7", 6F, 3F, -5F, 2, 4, 5); - MotorPart2.addBox("Shape10", 1F, 3F, -5F, 2, 4, 5); - Belt = new IHLModelRenderer(this, "Belt"); - Belt.setRotationPoint(-3F, 15.5F, -7.9F); - setRotation(Belt, 0F, 0F, 0.45F); - Belt.mirror = true; - Belt.addBox("Shape12", 0.5F, 0F, 0F, 8, 1, 1); - Belt2 = new IHLModelRenderer(this, "Belt2"); - Belt2.setRotationPoint(-3F, 19.5F, -7.9F); - setRotation(Belt2, 0F, 0F, 0.19F); - Belt2.mirror = true; - Belt2.addBox("Shape13", 0F, 0F, 0F, 8, 1, 1); - Extruder = new IHLModelRenderer(this, "Extruder"); - Extruder.setRotationPoint(0F, 16F, 0F); - setRotation(Extruder, 0F, 0F, 0F); - Extruder.mirror = true; - Extruder.addTube("PipeN16", -4.5F, 0.5F, -5F, 3, 3, 12, 0F,1F,ForgeDirection.NORTH); - Extruder.addTube("PipeN15", -5.5F, -0.5F, 0F, 5, 5, 7, 0.5F,1F,ForgeDirection.NORTH); - Extruder.addBox("Shape8", -5F, 4F, 6.9F, 4, 3, 1); - Extruder.addTube("PipeU17", -5.5F, -8F, -5F, 5, 8, 5, 0.8F,1F,ForgeDirection.UP); - Extruder.addTube("PipeUC18", -5.5F, 0F, -5F, 5, 2, 5, 0.8F,0.6F,ForgeDirection.UP); - Extruder.addBox("Shape14", -5F, 3F, -4.9F, 4, 4, 1); - Extruder.addTube("PipeN14", -5.5F, -0.5F, 7F, 5, 5, 1, 0.5F,1F,ForgeDirection.NORTH); - } - - private void setRotation(IHLModelRenderer model, float x, float y, float z) - { - model.rotateAngleX = x; - model.rotateAngleY = y; - model.rotateAngleZ = z; - } - -} |
