New round of machine models, updated Chemical Crystallizer side config defaults

This commit is contained in:
aidancbrady committed 2016-04-01 13:50:39 -04:00
1 parent 67372d703e
commit 641ed731f4
18 files changed
+943 -1177

No files matched your search

@@ -8,216 +8,192 @@ import cpw.mods.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class ModelRotaryCondensentrator extends ModelBase
{
ModelRenderer GasBottleLid1;
ModelRenderer GasBottleLid2;
ModelRenderer GasBottleDecor1;
ModelRenderer GasBottleDecor2;
ModelRenderer GasBottleDecor3;
ModelRenderer GasBottleDecor4;
ModelRenderer GasBottle1;
ModelRenderer GasBottle2;
ModelRenderer GasBottleBot1;
ModelRenderer GasBottleBot2;
ModelRenderer LiqBottleLid1;
ModelRenderer LiqBottleLid2;
ModelRenderer LiqBottleBot1;
ModelRenderer LiqBottleBot2;
ModelRenderer LiqBottle2;
ModelRenderer LiqBottle1;
ModelRenderer LiqBottleDecor1;
ModelRenderer LiqBottleDecor2;
ModelRenderer LiqBottleDecor3;
ModelRenderer LiqBottleDecor4;
ModelRenderer GasInput;
ModelRenderer MidSection1;
ModelRenderer MidSection2;
ModelRenderer LiquidOutput;
ModelRenderer MidSection3;
ModelRenderer portRight;
ModelRenderer tankRight;
ModelRenderer base;
ModelRenderer pipe;
ModelRenderer middle;
ModelRenderer shaft;
ModelRenderer portLeft;
ModelRenderer tankLeft;
ModelRenderer support4;
ModelRenderer bridge;
ModelRenderer tube8;
ModelRenderer tube7;
ModelRenderer tube6;
ModelRenderer tube5;
ModelRenderer tube4;
ModelRenderer tube3;
ModelRenderer tube2;
ModelRenderer tube1;
ModelRenderer top;
ModelRenderer support3;
ModelRenderer support2;
ModelRenderer support1;
public ModelRotaryCondensentrator()
public ModelRotaryCondensentrator()
{
textureWidth = 128;
textureHeight = 128;
textureHeight = 64;
GasBottleLid1 = new ModelRenderer(this, 0, 40);
GasBottleLid1.addBox(0F, 0F, 0F, 6, 1, 6);
GasBottleLid1.setRotationPoint(-7F, 11F, 1F);
GasBottleLid1.setTextureSize(128, 128);
GasBottleLid1.mirror = true;
setRotation(GasBottleLid1, 0F, 0F, 0F);
GasBottleLid2 = new ModelRenderer(this, 0, 40);
GasBottleLid2.addBox(0F, 0F, 0F, 6, 1, 6);
GasBottleLid2.setRotationPoint(1F, 11F, 1F);
GasBottleLid2.setTextureSize(128, 128);
GasBottleLid2.mirror = true;
setRotation(GasBottleLid2, 0F, 0F, 0F);
GasBottleDecor1 = new ModelRenderer(this, 0, 33);
GasBottleDecor1.addBox(0F, 0F, 0F, 5, 1, 5);
GasBottleDecor1.setRotationPoint(1.5F, 21F, 1.5F);
GasBottleDecor1.setTextureSize(128, 128);
GasBottleDecor1.mirror = true;
setRotation(GasBottleDecor1, 0F, 0F, 0F);
GasBottleDecor2 = new ModelRenderer(this, 0, 33);
GasBottleDecor2.addBox(0F, 0F, 0F, 5, 1, 5);
GasBottleDecor2.setRotationPoint(1.5F, 13F, 1.5F);
GasBottleDecor2.setTextureSize(128, 128);
GasBottleDecor2.mirror = true;
setRotation(GasBottleDecor2, 0F, 0F, 0F);
GasBottleDecor3 = new ModelRenderer(this, 0, 33);
GasBottleDecor3.addBox(0F, 0F, 0F, 5, 1, 5);
GasBottleDecor3.setRotationPoint(-6.5F, 21F, 1.5F);
GasBottleDecor3.setTextureSize(128, 128);
GasBottleDecor3.mirror = true;
setRotation(GasBottleDecor3, 0F, 0F, 0F);
GasBottleDecor4 = new ModelRenderer(this, 0, 33);
GasBottleDecor4.addBox(0F, 0F, 0F, 5, 1, 5);
GasBottleDecor4.setRotationPoint(-6.5F, 13F, 1.5F);
GasBottleDecor4.setTextureSize(128, 128);
GasBottleDecor4.mirror = true;
setRotation(GasBottleDecor4, 0F, 0F, 0F);
GasBottle1 = new ModelRenderer(this, 0, 48);
GasBottle1.addBox(0F, 0F, 0F, 4, 11, 4);
GasBottle1.setRotationPoint(-6F, 12F, 2F);
GasBottle1.setTextureSize(128, 128);
GasBottle1.mirror = true;
setRotation(GasBottle1, 0F, 0F, 0F);
GasBottle2 = new ModelRenderer(this, 0, 48);
GasBottle2.addBox(0F, 0F, 0F, 4, 11, 4);
GasBottle2.setRotationPoint(2F, 12F, 2F);
GasBottle2.setTextureSize(128, 128);
GasBottle2.mirror = true;
setRotation(GasBottle2, 0F, 0F, 0F);
GasBottleBot1 = new ModelRenderer(this, 0, 40);
GasBottleBot1.addBox(0F, 0F, 0F, 6, 1, 6);
GasBottleBot1.setRotationPoint(-7F, 23F, 1F);
GasBottleBot1.setTextureSize(128, 128);
GasBottleBot1.mirror = true;
setRotation(GasBottleBot1, 0F, 0F, 0F);
GasBottleBot2 = new ModelRenderer(this, 0, 40);
GasBottleBot2.addBox(0F, 0F, 0F, 6, 1, 6);
GasBottleBot2.setRotationPoint(1F, 23F, 1F);
GasBottleBot2.setTextureSize(128, 128);
GasBottleBot2.mirror = true;
setRotation(GasBottleBot2, 0F, 0F, 0F);
LiqBottleLid1 = new ModelRenderer(this, 25, 40);
LiqBottleLid1.addBox(0F, 0F, 0F, 6, 1, 6);
LiqBottleLid1.setRotationPoint(-7F, 11F, -7F);
LiqBottleLid1.setTextureSize(128, 128);
LiqBottleLid1.mirror = true;
setRotation(LiqBottleLid1, 0F, 0F, 0F);
LiqBottleLid2 = new ModelRenderer(this, 25, 40);
LiqBottleLid2.addBox(0F, 0F, 0F, 6, 1, 6);
LiqBottleLid2.setRotationPoint(1F, 11F, -7F);
LiqBottleLid2.setTextureSize(128, 128);
LiqBottleLid2.mirror = true;
setRotation(LiqBottleLid2, 0F, 0F, 0F);
LiqBottleBot1 = new ModelRenderer(this, 25, 40);
LiqBottleBot1.addBox(0F, 0F, 0F, 6, 1, 6);
LiqBottleBot1.setRotationPoint(-7F, 23F, -7F);
LiqBottleBot1.setTextureSize(128, 128);
LiqBottleBot1.mirror = true;
setRotation(LiqBottleBot1, 0F, 0F, 0F);
LiqBottleBot2 = new ModelRenderer(this, 25, 40);
LiqBottleBot2.addBox(0F, 0F, 0F, 6, 1, 6);
LiqBottleBot2.setRotationPoint(1F, 23F, -7F);
LiqBottleBot2.setTextureSize(128, 128);
LiqBottleBot2.mirror = true;
setRotation(LiqBottleBot2, 0F, 0F, 0F);
LiqBottle2 = new ModelRenderer(this, 25, 48);
LiqBottle2.addBox(0F, 0F, 0F, 4, 11, 4);
LiqBottle2.setRotationPoint(2F, 12F, -6F);
LiqBottle2.setTextureSize(128, 128);
LiqBottle2.mirror = true;
setRotation(LiqBottle2, 0F, 0F, 0F);
LiqBottle1 = new ModelRenderer(this, 25, 48);
LiqBottle1.addBox(0F, 0F, 0F, 4, 11, 4);
LiqBottle1.setRotationPoint(-6F, 12F, -6F);
LiqBottle1.setTextureSize(128, 128);
LiqBottle1.mirror = true;
setRotation(LiqBottle1, 0F, 0F, 0F);
LiqBottleDecor1 = new ModelRenderer(this, 25, 33);
LiqBottleDecor1.addBox(0F, 0F, 0F, 5, 1, 5);
LiqBottleDecor1.setRotationPoint(1.5F, 21F, -6.5F);
LiqBottleDecor1.setTextureSize(128, 128);
LiqBottleDecor1.mirror = true;
setRotation(LiqBottleDecor1, 0F, 0F, 0F);
LiqBottleDecor2 = new ModelRenderer(this, 25, 33);
LiqBottleDecor2.addBox(0F, 0F, 0F, 5, 1, 5);
LiqBottleDecor2.setRotationPoint(1.5F, 13F, -6.5F);
LiqBottleDecor2.setTextureSize(128, 128);
LiqBottleDecor2.mirror = true;
setRotation(LiqBottleDecor2, 0F, 0F, 0F);
LiqBottleDecor3 = new ModelRenderer(this, 25, 33);
LiqBottleDecor3.addBox(0F, 0F, 0F, 5, 1, 5);
LiqBottleDecor3.setRotationPoint(-6.5F, 21F, -6.5F);
LiqBottleDecor3.setTextureSize(128, 128);
LiqBottleDecor3.mirror = true;
setRotation(LiqBottleDecor3, 0F, 0F, 0F);
LiqBottleDecor4 = new ModelRenderer(this, 25, 33);
LiqBottleDecor4.addBox(0F, 0F, 0F, 5, 1, 5);
LiqBottleDecor4.setRotationPoint(-6.5F, 13F, -6.5F);
LiqBottleDecor4.setTextureSize(128, 128);
LiqBottleDecor4.mirror = true;
setRotation(LiqBottleDecor4, 0F, 0F, 0F);
GasInput = new ModelRenderer(this, 0, 24);
GasInput.addBox(0F, 0F, 0F, 6, 6, 1);
GasInput.setRotationPoint(-3F, 13F, 7F);
GasInput.setTextureSize(128, 128);
GasInput.mirror = true;
setRotation(GasInput, 0F, 0F, 0F);
MidSection1 = new ModelRenderer(this, 15, 20);
MidSection1.addBox(0F, 0F, 0F, 4, 5, 6);
MidSection1.setRotationPoint(-2F, 18F, 1F);
MidSection1.setTextureSize(128, 128);
MidSection1.mirror = true;
setRotation(MidSection1, 0F, 0F, 0F);
MidSection2 = new ModelRenderer(this, 37, 0);
MidSection2.addBox(0F, 0F, 0F, 6, 7, 8);
MidSection2.setRotationPoint(-3F, 17F, -7F);
MidSection2.setTextureSize(128, 128);
MidSection2.mirror = true;
setRotation(MidSection2, 0F, 0F, 0F);
LiquidOutput = new ModelRenderer(this, 36, 22);
LiquidOutput.addBox(0F, 0F, 0F, 8, 8, 1);
LiquidOutput.setRotationPoint(-4F, 12F, -8F);
LiquidOutput.setTextureSize(128, 128);
LiquidOutput.mirror = true;
setRotation(LiquidOutput, 0F, 0F, 0F);
MidSection3 = new ModelRenderer(this, 0, 0);
MidSection3.addBox(0F, 0F, 0F, 4, 2, 14);
MidSection3.setRotationPoint(-2F, 15F, -7F);
MidSection3.setTextureSize(128, 128);
MidSection3.mirror = true;
setRotation(MidSection3, 0F, 0F, 0F);
portRight = new ModelRenderer(this, 82, 31);
portRight.addBox(0F, 0F, 0F, 1, 10, 10);
portRight.setRotationPoint(7.01F, 11F, -5F);
portRight.setTextureSize(128, 64);
portRight.mirror = true;
setRotation(portRight, 0F, 0F, 0F);
tankRight = new ModelRenderer(this, 64, 9);
tankRight.mirror = true;
tankRight.addBox(0F, 0F, 0F, 6, 8, 14);
tankRight.setRotationPoint(1F, 11F, -7F);
tankRight.setTextureSize(128, 64);
setRotation(tankRight, 0F, 0F, 0F);
base = new ModelRenderer(this, 0, 34);
base.addBox(0F, 0F, 0F, 16, 5, 16);
base.setRotationPoint(-8F, 19F, -8F);
base.setTextureSize(128, 64);
base.mirror = true;
setRotation(base, 0F, 0F, 0F);
pipe = new ModelRenderer(this, 0, 4);
pipe.addBox(0F, 0F, 0F, 2, 6, 6);
pipe.setRotationPoint(-1.01F, 13F, -3F);
pipe.setTextureSize(128, 64);
pipe.mirror = true;
setRotation(pipe, 0F, 0F, 0F);
middle = new ModelRenderer(this, 0, 17);
middle.addBox(0F, 0F, 0F, 16, 1, 16);
middle.setRotationPoint(-8F, 10F, -8F);
middle.setTextureSize(128, 64);
middle.mirror = true;
setRotation(middle, 0F, 0F, 0F);
shaft = new ModelRenderer(this, 12, 0);
shaft.addBox(0F, 0F, 0F, 1, 2, 1);
shaft.setRotationPoint(-0.5F, 11F, -0.5F);
shaft.setTextureSize(128, 64);
shaft.mirror = true;
setRotation(shaft, 0F, 0F, 0F);
portLeft = new ModelRenderer(this, 64, 31);
portLeft.addBox(0F, 0F, 0F, 1, 8, 8);
portLeft.setRotationPoint(-8.01F, 12F, -4F);
portLeft.setTextureSize(128, 64);
portLeft.mirror = true;
setRotation(portLeft, 0F, 0F, 0F);
tankLeft = new ModelRenderer(this, 64, 9);
tankLeft.addBox(0F, 0F, 0F, 6, 8, 14);
tankLeft.setRotationPoint(-7F, 11F, -7F);
tankLeft.setTextureSize(128, 64);
tankLeft.mirror = true;
setRotation(tankLeft, 0F, 0F, 0F);
support4 = new ModelRenderer(this, 7, 0);
support4.addBox(0F, 0F, 0F, 1, 1, 1);
support4.setRotationPoint(6F, 9F, 6F);
support4.setTextureSize(128, 64);
support4.mirror = true;
setRotation(support4, 0F, 0F, 0F);
bridge = new ModelRenderer(this, 64, 0);
bridge.addBox(0F, 0F, 0F, 8, 1, 8);
bridge.setRotationPoint(-4F, 9F, -4F);
bridge.setTextureSize(128, 64);
bridge.mirror = true;
setRotation(bridge, 0F, 0F, 0F);
tube8 = new ModelRenderer(this, 0, 0);
tube8.addBox(0F, 0F, 0F, 2, 1, 1);
tube8.setRotationPoint(-1F, 18F, 5F);
tube8.setTextureSize(128, 64);
tube8.mirror = true;
setRotation(tube8, 0F, 0F, 0F);
tube7 = new ModelRenderer(this, 0, 0);
tube7.addBox(0F, 0F, 0F, 2, 1, 1);
tube7.setRotationPoint(-1F, 12F, 5F);
tube7.setTextureSize(128, 64);
tube7.mirror = true;
setRotation(tube7, 0F, 0F, 0F);
tube6 = new ModelRenderer(this, 0, 0);
tube6.addBox(0F, 0F, 0F, 2, 1, 1);
tube6.setRotationPoint(-1F, 14F, 5F);
tube6.setTextureSize(128, 64);
tube6.mirror = true;
setRotation(tube6, 0F, 0F, 0F);
tube5 = new ModelRenderer(this, 0, 0);
tube5.addBox(0F, 0F, 0F, 2, 1, 1);
tube5.setRotationPoint(-1F, 16F, 5F);
tube5.setTextureSize(128, 64);
tube5.mirror = true;
setRotation(tube5, 0F, 0F, 0F);
tube4 = new ModelRenderer(this, 0, 0);
tube4.addBox(0F, 0F, 0F, 2, 1, 1);
tube4.setRotationPoint(-1F, 18F, -6F);
tube4.setTextureSize(128, 64);
tube4.mirror = true;
setRotation(tube4, 0F, 0F, 0F);
tube3 = new ModelRenderer(this, 0, 0);
tube3.addBox(0F, 0F, 0F, 2, 1, 1);
tube3.setRotationPoint(-1F, 16F, -6F);
tube3.setTextureSize(128, 64);
tube3.mirror = true;
setRotation(tube3, 0F, 0F, 0F);
tube2 = new ModelRenderer(this, 0, 0);
tube2.addBox(0F, 0F, 0F, 2, 1, 1);
tube2.setRotationPoint(-1F, 14F, -6F);
tube2.setTextureSize(128, 64);
tube2.mirror = true;
setRotation(tube2, 0F, 0F, 0F);
tube1 = new ModelRenderer(this, 0, 0);
tube1.addBox(0F, 0F, 0F, 2, 1, 1);
tube1.setRotationPoint(-1F, 12F, -6F);
tube1.setTextureSize(128, 64);
tube1.mirror = true;
setRotation(tube1, 0F, 0F, 0F);
top = new ModelRenderer(this, 0, 0);
top.addBox(0F, 0F, 0F, 16, 1, 16);
top.setRotationPoint(-8F, 8F, -8F);
top.setTextureSize(128, 64);
top.mirror = true;
setRotation(top, 0F, 0F, 0F);
support3 = new ModelRenderer(this, 7, 0);
support3.addBox(0F, 0F, 0F, 1, 1, 1);
support3.setRotationPoint(6F, 9F, -7F);
support3.setTextureSize(128, 64);
support3.mirror = true;
setRotation(support3, 0F, 0F, 0F);
support2 = new ModelRenderer(this, 7, 0);
support2.addBox(0F, 0F, 0F, 1, 1, 1);
support2.setRotationPoint(-7F, 9F, -7F);
support2.setTextureSize(128, 64);
support2.mirror = true;
setRotation(support2, 0F, 0F, 0F);
support1 = new ModelRenderer(this, 7, 0);
support1.addBox(0F, 0F, 0F, 1, 1, 1);
support1.setRotationPoint(-7F, 9F, 6F);
support1.setTextureSize(128, 64);
support1.mirror = true;
setRotation(support1, 0F, 0F, 0F);
}
public void render(float size)
{
GasBottleLid1.render(size);
GasBottleLid2.render(size);
GasBottleDecor1.render(size);
GasBottleDecor2.render(size);
GasBottleDecor3.render(size);
GasBottleDecor4.render(size);
GasBottle1.render(size);
GasBottle2.render(size);
GasBottleBot1.render(size);
GasBottleBot2.render(size);
LiqBottleLid1.render(size);
LiqBottleLid2.render(size);
LiqBottleBot1.render(size);
LiqBottleBot2.render(size);
LiqBottle2.render(size);
LiqBottle1.render(size);
LiqBottleDecor1.render(size);
LiqBottleDecor2.render(size);
LiqBottleDecor3.render(size);
LiqBottleDecor4.render(size);
GasInput.render(size);
MidSection1.render(size);
MidSection2.render(size);
LiquidOutput.render(size);
MidSection3.render(size);
portRight.render(size);
tankRight.render(size);
base.render(size);
pipe.render(size);
middle.render(size);
shaft.render(size);
portLeft.render(size);
tankLeft.render(size);
support4.render(size);
bridge.render(size);
tube8.render(size);
tube7.render(size);
tube6.render(size);
tube5.render(size);
tube4.render(size);
tube3.render(size);
tube2.render(size);
tube1.render(size);
top.render(size);
support3.render(size);
support2.render(size);
support1.render(size);
}
private void setRotation(ModelRenderer model, float x, float y, float z)