summaryrefslogtreecommitdiff
path: root/ihl/processing/metallurgy/RollingMachinePart2Model.java
diff options
context:
space:
mode:
Diffstat (limited to 'ihl/processing/metallurgy/RollingMachinePart2Model.java')
-rw-r--r--ihl/processing/metallurgy/RollingMachinePart2Model.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/ihl/processing/metallurgy/RollingMachinePart2Model.java b/ihl/processing/metallurgy/RollingMachinePart2Model.java
new file mode 100644
index 0000000..b4bda67
--- /dev/null
+++ b/ihl/processing/metallurgy/RollingMachinePart2Model.java
@@ -0,0 +1,42 @@
+package ihl.processing.metallurgy;
+
+
+import net.minecraft.client.model.ModelBase;
+import ihl.model.IHLModelRenderer;
+
+public class RollingMachinePart2Model extends ModelBase
+{
+ //fields
+ IHLModelRenderer Base;
+
+ public RollingMachinePart2Model()
+ {
+ textureWidth = 64;
+ textureHeight = 32;
+ setTextureOffset("Base.Shape6", 0, 0);
+ setTextureOffset("Base.Shape16", 0, 0);
+ setTextureOffset("Base.Shape5", 0, 0);
+ setTextureOffset("Base.Shape8", 0, 0);
+ setTextureOffset("Base.Shape11", 0, 0);
+ setTextureOffset("Base.Shape9", 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("Shape16", -3F, -7F, 5F, 6, 14, 1);
+ Base.addBox("Shape5", 2F, -1F, -8F, 6, 1, 13);
+ Base.addBox("Shape8", -8F, -1F, -8F, 6, 1, 13);
+ Base.addBox("Shape11", 3F, 0F, -8F, 4, 7, 1);
+ Base.addBox("Shape9", -7F, 0F, -8F, 4, 7, 1);
+ }
+
+ private void setRotation(IHLModelRenderer model, float x, float y, float z)
+ {
+ model.rotateAngleX = x;
+ model.rotateAngleY = y;
+ model.rotateAngleZ = z;
+ }
+
+}