summaryrefslogtreecommitdiff
path: root/main/java/ihl/processing/metallurgy/RollingMachinePart2Model.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-08-10 18:50:56 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-08-10 18:50:56 +0300
commit877312184c472d9845e5ef1008bc538f4634059f (patch)
tree4e098cc94296cc11f3b87e8ef64c3c568b6aeb51 /main/java/ihl/processing/metallurgy/RollingMachinePart2Model.java
parent939d2ea16679ce64d98b98c716b85f851aa576e2 (diff)
fix missing source folder
Diffstat (limited to 'main/java/ihl/processing/metallurgy/RollingMachinePart2Model.java')
-rw-r--r--main/java/ihl/processing/metallurgy/RollingMachinePart2Model.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/java/ihl/processing/metallurgy/RollingMachinePart2Model.java b/main/java/ihl/processing/metallurgy/RollingMachinePart2Model.java
new file mode 100644
index 0000000..39fd1f5
--- /dev/null
+++ b/main/java/ihl/processing/metallurgy/RollingMachinePart2Model.java
@@ -0,0 +1,42 @@
+package ihl.processing.metallurgy;
+
+
+import ihl.model.IHLModelRenderer;
+import net.minecraft.client.model.ModelBase;
+
+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;
+ }
+
+}