Created
August 27, 2016 20:14
-
-
Save Lance5057/fbca13217bae48ff0e236b8d62be7a78 to your computer and use it in GitHub Desktop.
ArchimedesScrew Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package IHaveNoIdea; | |
import net.minecraft.client.model.ModelBase; | |
import net.minecraft.client.model.ModelRenderer; | |
import net.minecraft.entity.Entity; | |
/** | |
* ArchimedesScrew - Lance5057 | |
* Created using Tabula 4.1.1 | |
*/ | |
public class ArchimedesScrew extends ModelBase { | |
public ModelRenderer Tube; | |
public ModelRenderer Rod; | |
public ModelRenderer Tube_1; | |
public ModelRenderer Tube_2; | |
public ModelRenderer Tube_3; | |
public ModelRenderer Tube_4; | |
public ModelRenderer Tube_5; | |
public ModelRenderer Tube_6; | |
public ModelRenderer Tube_7; | |
public ModelRenderer Bar; | |
public ModelRenderer Strap; | |
public ModelRenderer Strap_1; | |
public ModelRenderer Strap_2; | |
public ModelRenderer Strap_3; | |
public ModelRenderer Bar_1; | |
public ModelRenderer Bar_2; | |
public ModelRenderer Bar_3; | |
public ModelRenderer Reinforcement; | |
public ModelRenderer Reinforcement_1; | |
public ModelRenderer Reinforcement_2; | |
public ModelRenderer Reinforcement_3; | |
public ModelRenderer Strap_4; | |
public ModelRenderer Strap_5; | |
public ModelRenderer Strap_6; | |
public ModelRenderer Strap_7; | |
public ModelRenderer Bar_4; | |
public ModelRenderer Bar_5; | |
public ModelRenderer Bar_6; | |
public ModelRenderer Bar_7; | |
public ModelRenderer Bolt; | |
public ModelRenderer Bolt_1; | |
public ModelRenderer Bolt_2; | |
public ModelRenderer Bolt_3; | |
public ModelRenderer Bolt_4; | |
public ModelRenderer Bolt_5; | |
public ModelRenderer Bolt_6; | |
public ModelRenderer Bolt_7; | |
public ModelRenderer 1Box1; | |
public ModelRenderer 2Box4; | |
public ModelRenderer 3Box7; | |
public ModelRenderer 4Box8; | |
public ModelRenderer 5Box9; | |
public ModelRenderer 6Box10; | |
public ModelRenderer 7Box11; | |
public ModelRenderer 8Box12; | |
public ModelRenderer 9Box13; | |
public ModelRenderer 10Box14; | |
public ModelRenderer 11Box15; | |
public ModelRenderer 12Box16; | |
public ArchimedesScrew() { | |
this.textureWidth = 64; | |
this.textureHeight = 64; | |
this.Tube_3 = new ModelRenderer(this, 12, 7); | |
this.Tube_3.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Tube_3.addBox(-3.0F, -14.3F, 6.2F, 6, 22, 1, 0.0F); | |
this.setRotateAngle(Tube_3, 0.0F, -0.7853981633974483F, 0.0F); | |
this.Bolt_1 = new ModelRenderer(this, 0, 0); | |
this.Bolt_1.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bolt_1.addBox(7.0F, 1.7F, -2.7F, 1, 1, 1, 0.0F); | |
this.setRotateAngle(Bolt_1, 0.7853981633974483F, 0.0F, 0.0F); | |
this.Strap_7 = new ModelRenderer(this, 0, 2); | |
this.Strap_7.setRotationPoint(0.0F, -4.6F, 0.0F); | |
this.Strap_7.addBox(6.7F, 2.0F, -1.0F, 1, 2, 2, 0.0F); | |
this.setRotateAngle(Strap_7, 0.0F, 3.141592653589793F, 0.0F); | |
this.Strap_1 = new ModelRenderer(this, 0, 2); | |
this.Strap_1.setRotationPoint(0.0F, 2.0F, 0.0F); | |
this.Strap_1.addBox(6.7F, 2.0F, -1.0F, 1, 2, 2, 0.0F); | |
this.setRotateAngle(Strap_1, 0.0F, 1.5707963267948966F, 0.0F); | |
this.Bolt_2 = new ModelRenderer(this, 0, 0); | |
this.Bolt_2.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bolt_2.addBox(7.0F, 1.7F, -2.7F, 1, 1, 1, 0.0F); | |
this.setRotateAngle(Bolt_2, 0.7853981633974483F, 0.0F, 0.0F); | |
this.6Box10 = new ModelRenderer(this, 0, 0); | |
this.6Box10.setRotationPoint(0.0F, 9.15F, 0.0F); | |
this.6Box10.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(6Box10, 0.5235987755982988F, 2.6179938779914944F, 0.0F); | |
this.Reinforcement_1 = new ModelRenderer(this, 0, 7); | |
this.Reinforcement_1.setRotationPoint(-7.0F, -3.0F, -7.0F); | |
this.Reinforcement_1.addBox(-0.5F, 0.0F, -0.5F, 1, 19, 1, 0.0F); | |
this.11Box15 = new ModelRenderer(this, 0, 0); | |
this.11Box15.setRotationPoint(0.0F, 18.3F, 0.0F); | |
this.11Box15.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(11Box15, 0.5235987755982988F, 5.235987755982989F, 0.0F); | |
this.5Box9 = new ModelRenderer(this, 0, 0); | |
this.5Box9.setRotationPoint(0.0F, 7.32F, 0.0F); | |
this.5Box9.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(5Box9, 0.5235987755982988F, 2.0943951023931953F, 0.0F); | |
this.Bolt = new ModelRenderer(this, 0, 0); | |
this.Bolt.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bolt.addBox(7.0F, 1.7F, -2.7F, 1, 1, 1, 0.0F); | |
this.setRotateAngle(Bolt, 0.7853981633974483F, 0.0F, 0.0F); | |
this.Tube_1 = new ModelRenderer(this, 12, 7); | |
this.Tube_1.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Tube_1.addBox(-3.0F, -14.3F, 6.2F, 6, 22, 1, 0.0F); | |
this.setRotateAngle(Tube_1, 0.0F, 0.7853981633974483F, 0.0F); | |
this.Bar_4 = new ModelRenderer(this, 34, 0); | |
this.Bar_4.setRotationPoint(0.0F, -4.7F, 0.0F); | |
this.Bar_4.addBox(-6.0F, 0.0F, 6.0F, 12, 2, 2, 0.0F); | |
this.setRotateAngle(Bar_4, 0.0F, 3.141592653589793F, 0.0F); | |
this.Tube_4 = new ModelRenderer(this, 12, 7); | |
this.Tube_4.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Tube_4.addBox(-3.0F, -14.3F, 6.2F, 6, 22, 1, 0.0F); | |
this.setRotateAngle(Tube_4, 0.0F, -1.5707963267948966F, 0.0F); | |
this.Bolt_4 = new ModelRenderer(this, 0, 0); | |
this.Bolt_4.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bolt_4.addBox(7.0F, 1.7F, -2.7F, 1, 1, 1, 0.0F); | |
this.setRotateAngle(Bolt_4, 0.7853981633974483F, 0.0F, 0.0F); | |
this.Bar_1 = new ModelRenderer(this, 28, 0); | |
this.Bar_1.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bar_1.addBox(-8.0F, 16.0F, -8.0F, 16, 2, 2, 0.0F); | |
this.Reinforcement_3 = new ModelRenderer(this, 0, 7); | |
this.Reinforcement_3.setRotationPoint(7.0F, -3.0F, -7.0F); | |
this.Reinforcement_3.addBox(-0.5F, 0.0F, -0.5F, 1, 19, 1, 0.0F); | |
this.Reinforcement_2 = new ModelRenderer(this, 0, 7); | |
this.Reinforcement_2.setRotationPoint(7.0F, -3.0F, 7.0F); | |
this.Reinforcement_2.addBox(-0.5F, 0.0F, -0.5F, 1, 19, 1, 0.0F); | |
this.Bolt_6 = new ModelRenderer(this, 0, 0); | |
this.Bolt_6.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bolt_6.addBox(7.0F, 1.7F, -2.7F, 1, 1, 1, 0.0F); | |
this.setRotateAngle(Bolt_6, 0.7853981633974483F, 0.0F, 0.0F); | |
this.Bar_5 = new ModelRenderer(this, 34, 0); | |
this.Bar_5.setRotationPoint(0.0F, -4.7F, 0.0F); | |
this.Bar_5.addBox(-6.0F, 0.0F, 6.0F, 12, 2, 2, 0.0F); | |
this.Bolt_3 = new ModelRenderer(this, 0, 0); | |
this.Bolt_3.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bolt_3.addBox(7.0F, 1.7F, -2.7F, 1, 1, 1, 0.0F); | |
this.setRotateAngle(Bolt_3, 0.7853981633974483F, 0.0F, 0.0F); | |
this.Tube_2 = new ModelRenderer(this, 12, 7); | |
this.Tube_2.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Tube_2.addBox(-3.0F, -14.3F, 6.2F, 6, 22, 1, 0.0F); | |
this.setRotateAngle(Tube_2, 0.0F, 1.5707963267948966F, 0.0F); | |
this.10Box14 = new ModelRenderer(this, 0, 0); | |
this.10Box14.setRotationPoint(0.0F, 16.47F, 0.0F); | |
this.10Box14.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(10Box14, 0.5235987755982988F, 4.71238898038469F, 0.0F); | |
this.Tube_5 = new ModelRenderer(this, 12, 7); | |
this.Tube_5.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Tube_5.addBox(-3.0F, -14.3F, 6.2F, 6, 22, 1, 0.0F); | |
this.setRotateAngle(Tube_5, 0.0F, 3.141592653589793F, 0.0F); | |
this.4Box8 = new ModelRenderer(this, 0, 0); | |
this.4Box8.setRotationPoint(0.0F, 5.49F, 0.0F); | |
this.4Box8.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(4Box8, 0.5235987755982988F, 1.5707963267948966F, 0.0F); | |
this.Tube_6 = new ModelRenderer(this, 12, 7); | |
this.Tube_6.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Tube_6.addBox(-3.0F, -14.3F, 6.2F, 6, 22, 1, 0.0F); | |
this.setRotateAngle(Tube_6, 0.0F, -2.356194490192345F, 0.0F); | |
this.Tube = new ModelRenderer(this, 12, 7); | |
this.Tube.setRotationPoint(0.0F, 16.0F, 0.0F); | |
this.Tube.addBox(-3.0F, -14.3F, 6.2F, 6, 22, 1, 0.0F); | |
this.Bar_7 = new ModelRenderer(this, 28, 0); | |
this.Bar_7.setRotationPoint(0.0F, -4.7F, 0.0F); | |
this.Bar_7.addBox(-8.0F, 0.0F, 6.0F, 16, 2, 2, 0.0F); | |
this.setRotateAngle(Bar_7, 0.0F, -1.5707963267948966F, 0.0F); | |
this.1Box1 = new ModelRenderer(this, 0, 0); | |
this.1Box1.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.1Box1.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(1Box1, 0.5235987755982988F, 0.0F, 0.0F); | |
this.Bar_3 = new ModelRenderer(this, 34, 0); | |
this.Bar_3.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bar_3.addBox(-6.0F, 16.0F, -8.0F, 12, 2, 2, 0.0F); | |
this.setRotateAngle(Bar_3, 0.0F, -1.5707963267948966F, 0.0F); | |
this.9Box13 = new ModelRenderer(this, 0, 0); | |
this.9Box13.setRotationPoint(0.0F, 14.64F, 0.0F); | |
this.9Box13.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(9Box13, 0.5235987755982988F, 4.1887902047863905F, 0.0F); | |
this.Strap_6 = new ModelRenderer(this, 0, 2); | |
this.Strap_6.setRotationPoint(0.0F, -4.6F, 0.0F); | |
this.Strap_6.addBox(6.7F, 2.0F, -1.0F, 1, 2, 2, 0.0F); | |
this.Bolt_7 = new ModelRenderer(this, 0, 0); | |
this.Bolt_7.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bolt_7.addBox(7.0F, 1.7F, -2.7F, 1, 1, 1, 0.0F); | |
this.setRotateAngle(Bolt_7, 0.7853981633974483F, 0.0F, 0.0F); | |
this.Strap_2 = new ModelRenderer(this, 0, 2); | |
this.Strap_2.setRotationPoint(0.0F, 2.0F, 0.0F); | |
this.Strap_2.addBox(6.7F, 2.0F, -1.0F, 1, 2, 2, 0.0F); | |
this.Bolt_5 = new ModelRenderer(this, 0, 0); | |
this.Bolt_5.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bolt_5.addBox(7.0F, 1.7F, -2.7F, 1, 1, 1, 0.0F); | |
this.setRotateAngle(Bolt_5, 0.7853981633974483F, 0.0F, 0.0F); | |
this.Bar = new ModelRenderer(this, 28, 0); | |
this.Bar.setRotationPoint(0.0F, -10.0F, 0.0F); | |
this.Bar.addBox(-8.0F, 16.0F, 6.0F, 16, 2, 2, 0.0F); | |
this.Bar_6 = new ModelRenderer(this, 28, 0); | |
this.Bar_6.setRotationPoint(0.0F, -4.7F, 0.0F); | |
this.Bar_6.addBox(-8.0F, 0.0F, 6.0F, 16, 2, 2, 0.0F); | |
this.setRotateAngle(Bar_6, 0.0F, 1.5707963267948966F, 0.0F); | |
this.Strap = new ModelRenderer(this, 0, 2); | |
this.Strap.setRotationPoint(0.0F, 2.0F, 0.0F); | |
this.Strap.addBox(6.7F, 2.0F, -1.0F, 1, 2, 2, 0.0F); | |
this.setRotateAngle(Strap, 0.0F, -1.5707963267948966F, 0.0F); | |
this.Bar_2 = new ModelRenderer(this, 34, 0); | |
this.Bar_2.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Bar_2.addBox(-6.0F, 16.0F, -8.0F, 12, 2, 2, 0.0F); | |
this.setRotateAngle(Bar_2, 0.0F, 1.5707963267948966F, 0.0F); | |
this.3Box7 = new ModelRenderer(this, 0, 0); | |
this.3Box7.setRotationPoint(0.0F, 3.66F, 0.0F); | |
this.3Box7.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(3Box7, 0.5235987755982988F, 1.0471975511965976F, 0.0F); | |
this.12Box16 = new ModelRenderer(this, 0, 0); | |
this.12Box16.setRotationPoint(0.0F, 20.13F, 0.0F); | |
this.12Box16.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(12Box16, 0.5235987755982988F, 5.759586531581287F, 0.0F); | |
this.Reinforcement = new ModelRenderer(this, 0, 7); | |
this.Reinforcement.setRotationPoint(-7.0F, -3.0F, 7.0F); | |
this.Reinforcement.addBox(-0.5F, 0.0F, -0.5F, 1, 19, 1, 0.0F); | |
this.Tube_7 = new ModelRenderer(this, 12, 7); | |
this.Tube_7.setRotationPoint(0.0F, 0.0F, 0.0F); | |
this.Tube_7.addBox(-3.0F, -14.3F, 6.2F, 6, 22, 1, 0.0F); | |
this.setRotateAngle(Tube_7, 0.0F, 2.356194490192345F, 0.0F); | |
this.Strap_4 = new ModelRenderer(this, 0, 2); | |
this.Strap_4.setRotationPoint(0.0F, -4.6F, 0.0F); | |
this.Strap_4.addBox(6.7F, 2.0F, -1.0F, 1, 2, 2, 0.0F); | |
this.setRotateAngle(Strap_4, 0.0F, -1.5707963267948966F, 0.0F); | |
this.Rod = new ModelRenderer(this, 4, 7); | |
this.Rod.setRotationPoint(0.0F, 2.0F, 0.0F); | |
this.Rod.addBox(-1.0F, 0.0F, -1.0F, 2, 22, 2, 0.0F); | |
this.Strap_3 = new ModelRenderer(this, 0, 2); | |
this.Strap_3.setRotationPoint(0.0F, 2.0F, 0.0F); | |
this.Strap_3.addBox(6.7F, 2.0F, -1.0F, 1, 2, 2, 0.0F); | |
this.setRotateAngle(Strap_3, 0.0F, 3.141592653589793F, 0.0F); | |
this.Strap_5 = new ModelRenderer(this, 0, 2); | |
this.Strap_5.setRotationPoint(0.0F, -4.6F, 0.0F); | |
this.Strap_5.addBox(6.7F, 2.0F, -1.0F, 1, 2, 2, 0.0F); | |
this.setRotateAngle(Strap_5, 0.0F, 1.5707963267948966F, 0.0F); | |
this.8Box12 = new ModelRenderer(this, 0, 0); | |
this.8Box12.setRotationPoint(0.0F, 12.81F, 0.0F); | |
this.8Box12.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(8Box12, 0.5235987755982988F, 3.6651914291880923F, 0.0F); | |
this.7Box11 = new ModelRenderer(this, 0, 0); | |
this.7Box11.setRotationPoint(0.0F, 10.98F, 0.0F); | |
this.7Box11.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(7Box11, 0.5235987755982988F, 3.141592653589793F, 0.0F); | |
this.2Box4 = new ModelRenderer(this, 0, 0); | |
this.2Box4.setRotationPoint(0.0F, 1.83F, 0.0F); | |
this.2Box4.addBox(0.0F, 0.0F, -3.0F, 6, 1, 6, 0.0F); | |
this.setRotateAngle(2Box4, 0.5235987755982988F, 0.5235987755982988F, 0.0F); | |
this.Tube.addChild(this.Tube_3); | |
this.Strap_5.addChild(this.Bolt_1); | |
this.Bar.addChild(this.Strap_7); | |
this.Tube.addChild(this.Strap_1); | |
this.Strap_6.addChild(this.Bolt_2); | |
this.Rod.addChild(this.6Box10); | |
this.Bar.addChild(this.Reinforcement_1); | |
this.Rod.addChild(this.11Box15); | |
this.Rod.addChild(this.5Box9); | |
this.Strap_4.addChild(this.Bolt); | |
this.Tube.addChild(this.Tube_1); | |
this.Bar.addChild(this.Bar_4); | |
this.Tube.addChild(this.Tube_4); | |
this.Strap.addChild(this.Bolt_4); | |
this.Bar.addChild(this.Bar_1); | |
this.Bar.addChild(this.Reinforcement_3); | |
this.Bar.addChild(this.Reinforcement_2); | |
this.Strap_2.addChild(this.Bolt_6); | |
this.Bar.addChild(this.Bar_5); | |
this.Strap_7.addChild(this.Bolt_3); | |
this.Tube.addChild(this.Tube_2); | |
this.Rod.addChild(this.10Box14); | |
this.Tube.addChild(this.Tube_5); | |
this.Rod.addChild(this.4Box8); | |
this.Tube.addChild(this.Tube_6); | |
this.Bar.addChild(this.Bar_7); | |
this.Rod.addChild(this.1Box1); | |
this.Bar.addChild(this.Bar_3); | |
this.Rod.addChild(this.9Box13); | |
this.Bar.addChild(this.Strap_6); | |
this.Strap_3.addChild(this.Bolt_7); | |
this.Tube.addChild(this.Strap_2); | |
this.Strap_1.addChild(this.Bolt_5); | |
this.Tube.addChild(this.Bar); | |
this.Bar.addChild(this.Bar_6); | |
this.Tube.addChild(this.Strap); | |
this.Bar.addChild(this.Bar_2); | |
this.Rod.addChild(this.3Box7); | |
this.Rod.addChild(this.12Box16); | |
this.Bar.addChild(this.Reinforcement); | |
this.Tube.addChild(this.Tube_7); | |
this.Bar.addChild(this.Strap_4); | |
this.Tube.addChild(this.Strap_3); | |
this.Bar.addChild(this.Strap_5); | |
this.Rod.addChild(this.8Box12); | |
this.Rod.addChild(this.7Box11); | |
this.Rod.addChild(this.2Box4); | |
} | |
@Override | |
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { | |
this.Tube.render(f5); | |
this.Rod.render(f5); | |
} | |
/** | |
* This is a helper function from Tabula to set the rotation of model parts | |
*/ | |
public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) { | |
modelRenderer.rotateAngleX = x; | |
modelRenderer.rotateAngleY = y; | |
modelRenderer.rotateAngleZ = z; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment