Added new models

This commit is contained in:
aidancbrady committed 2016-03-24 00:33:28 -04:00
1 parent 4a78cb65b1
commit 9d22b7277c
30 files changed
+800 -956

No files matched your search

@@ -8,168 +8,114 @@ import cpw.mods.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class ModelPressurizedReactionChamber extends ModelBase
{
ModelRenderer Base;
ModelRenderer GasRight;
ModelRenderer GasLeft;
ModelRenderer GasConnector;
ModelRenderer FluidBack;
ModelRenderer CoreBase;
ModelRenderer Core;
ModelRenderer PoleRF;
ModelRenderer PoleFL;
ModelRenderer PoleLB;
ModelRenderer PoleBR;
ModelRenderer PoleR;
ModelRenderer PoleL;
ModelRenderer FrontPanel;
ModelRenderer TubeThing;
ModelRenderer CenterCore;
ModelRenderer BackConnector;
ModelRenderer BackCore;
ModelRenderer TopPanel;
ModelRenderer frontDivider1;
ModelRenderer base;
ModelRenderer port2b;
ModelRenderer front;
ModelRenderer bar1;
ModelRenderer body;
ModelRenderer port1b;
ModelRenderer bar5;
ModelRenderer bar4;
ModelRenderer bar3;
ModelRenderer bar2;
ModelRenderer frontDivider2;
public ModelPressurizedReactionChamber()
public ModelPressurizedReactionChamber()
{
textureWidth = 128;
textureHeight = 128;
textureHeight = 64;
Base = new ModelRenderer(this, 0, 0);
Base.addBox(0F, 0F, 0F, 16, 1, 16);
Base.setRotationPoint(-8F, 23F, -8F);
Base.setTextureSize(128, 128);
Base.mirror = true;
setRotation(Base, 0F, 0F, 0F);
GasRight = new ModelRenderer(this, 64, 12);
GasRight.addBox(0F, 0F, 0F, 1, 6, 6);
GasRight.setRotationPoint(-8F, 13F, -3F);
GasRight.setTextureSize(128, 128);
GasRight.mirror = true;
setRotation(GasRight, 0F, 0F, 0F);
GasLeft = new ModelRenderer(this, 64, 12);
GasLeft.addBox(0F, 0F, 0F, 1, 6, 6);
GasLeft.setRotationPoint(7F, 13F, -3F);
GasLeft.setTextureSize(128, 128);
GasLeft.mirror = true;
setRotation(GasLeft, 0F, 0F, 0F);
GasConnector = new ModelRenderer(this, 22, 38);
GasConnector.addBox(0F, 0F, 0F, 14, 2, 2);
GasConnector.setRotationPoint(-7F, 15F, -1F);
GasConnector.setTextureSize(128, 128);
GasConnector.mirror = true;
setRotation(GasConnector, 0F, 0F, 0F);
FluidBack = new ModelRenderer(this, 50, 24);
FluidBack.addBox(0F, 0F, 0F, 8, 8, 1);
FluidBack.setRotationPoint(-4F, 12F, 7F);
FluidBack.setTextureSize(128, 128);
FluidBack.mirror = true;
setRotation(FluidBack, 0F, 0F, 0F);
CoreBase = new ModelRenderer(this, 64, 0);
CoreBase.addBox(0F, 0F, 0F, 10, 1, 11);
CoreBase.setRotationPoint(-5F, 22F, -6F);
CoreBase.setTextureSize(128, 128);
CoreBase.mirror = true;
setRotation(CoreBase, 0F, 0F, 0F);
Core = new ModelRenderer(this, 0, 17);
Core.addBox(0F, 0F, 0F, 12, 8, 13);
Core.setRotationPoint(-6F, 14F, -7F);
Core.setTextureSize(128, 128);
Core.mirror = true;
setRotation(Core, 0F, 0F, 0F);
PoleRF = new ModelRenderer(this, 38, 42);
PoleRF.addBox(0F, 0F, 0F, 1, 6, 1);
PoleRF.setRotationPoint(-6F, 8F, -7F);
PoleRF.setTextureSize(128, 128);
PoleRF.mirror = true;
setRotation(PoleRF, 0F, 0F, 0F);
PoleFL = new ModelRenderer(this, 38, 42);
PoleFL.addBox(0F, 0F, 0F, 1, 6, 1);
PoleFL.setRotationPoint(5F, 8F, -7F);
PoleFL.setTextureSize(128, 128);
PoleFL.mirror = true;
setRotation(PoleFL, 0F, 0F, 0F);
PoleLB = new ModelRenderer(this, 38, 42);
PoleLB.addBox(0F, 0F, 0F, 1, 6, 1);
PoleLB.setRotationPoint(5F, 8F, 5F);
PoleLB.setTextureSize(128, 128);
PoleLB.mirror = true;
setRotation(PoleLB, 0F, 0F, 0F);
PoleBR = new ModelRenderer(this, 38, 42);
PoleBR.addBox(0F, -2F, 0F, 1, 6, 1);
PoleBR.setRotationPoint(-6F, 10F, 5F);
PoleBR.setTextureSize(128, 128);
PoleBR.mirror = true;
setRotation(PoleBR, 0F, 0F, 0F);
PoleR = new ModelRenderer(this, 0, 57);
PoleR.addBox(0F, 0F, 0F, 1, 1, 11);
PoleR.setRotationPoint(-6F, 8F, -6F);
PoleR.setTextureSize(128, 128);
PoleR.mirror = true;
setRotation(PoleR, 0F, 0F, 0F);
PoleL = new ModelRenderer(this, 0, 57);
PoleL.addBox(0F, 0F, 0F, 1, 1, 11);
PoleL.setRotationPoint(5F, 8F, -6F);
PoleL.setTextureSize(128, 128);
PoleL.mirror = true;
setRotation(PoleL, 0F, 0F, 0F);
FrontPanel = new ModelRenderer(this, 0, 38);
FrontPanel.addBox(0F, 0F, 0F, 10, 12, 1);
FrontPanel.setRotationPoint(-5F, 9F, -8F);
FrontPanel.setTextureSize(128, 128);
FrontPanel.mirror = true;
setRotation(FrontPanel, 0F, 0F, 0F);
TubeThing = new ModelRenderer(this, 22, 42);
TubeThing.addBox(0F, 0F, 0F, 2, 2, 6);
TubeThing.setRotationPoint(-1F, 12F, -7F);
TubeThing.setTextureSize(128, 128);
TubeThing.mirror = true;
setRotation(TubeThing, 0F, 0F, 0F);
CenterCore = new ModelRenderer(this, 84, 12);
CenterCore.addBox(0F, 0F, 0F, 4, 1, 4);
CenterCore.setRotationPoint(-2F, 13F, -3F);
CenterCore.setTextureSize(128, 128);
CenterCore.mirror = true;
setRotation(CenterCore, 0F, 0F, 0F);
BackConnector = new ModelRenderer(this, 78, 12);
BackConnector.addBox(0F, 0F, 0F, 2, 5, 1);
BackConnector.setRotationPoint(-1F, 13F, 6F);
BackConnector.setTextureSize(128, 128);
BackConnector.mirror = true;
setRotation(BackConnector, 0F, 0F, 0F);
BackCore = new ModelRenderer(this, 0, 51);
BackCore.addBox(0F, 0F, 0F, 2, 1, 5);
BackCore.setRotationPoint(-1F, 13F, 1F);
BackCore.setTextureSize(128, 128);
BackCore.mirror = true;
setRotation(BackCore, 0F, 0F, 0F);
TopPanel = new ModelRenderer(this, 0, 69);
TopPanel.addBox(0F, 0F, 0F, 10, 1, 13);
TopPanel.setRotationPoint(-5F, 8F, -7F);
TopPanel.setTextureSize(128, 128);
TopPanel.mirror = true;
setRotation(TopPanel, 0F, 0F, 0F);
frontDivider1 = new ModelRenderer(this, 52, 20);
frontDivider1.addBox(0F, 0F, 0F, 2, 12, 6);
frontDivider1.setRotationPoint(-7F, 8.5F, -7.5F);
frontDivider1.setTextureSize(128, 64);
frontDivider1.mirror = true;
setRotation(frontDivider1, 0F, 0F, 0F);
base = new ModelRenderer(this, 0, 0);
base.addBox(0F, 0F, 0F, 16, 4, 16);
base.setRotationPoint(-8F, 20F, -8F);
base.setTextureSize(128, 64);
base.mirror = true;
setRotation(base, 0F, 0F, 0F);
port2b = new ModelRenderer(this, 0, 6);
port2b.addBox(0F, 0F, 0F, 1, 8, 2);
port2b.setRotationPoint(7F, 12F, -4F);
port2b.setTextureSize(128, 64);
port2b.mirror = true;
setRotation(port2b, 0F, 0F, 0F);
port2b.mirror = false;
front = new ModelRenderer(this, 48, 0);
front.addBox(0F, 0F, 0F, 9, 11, 5);
front.setRotationPoint(-2F, 9F, -7F);
front.setTextureSize(128, 64);
front.mirror = true;
setRotation(front, 0F, 0F, 0F);
bar1 = new ModelRenderer(this, 0, 0);
bar1.addBox(0F, 0F, 0F, 1, 1, 5);
bar1.setRotationPoint(-5F, 18F, -7F);
bar1.setTextureSize(128, 64);
bar1.mirror = true;
setRotation(bar1, 0F, 0F, 0F);
body = new ModelRenderer(this, 0, 20);
body.addBox(0F, 0F, 0F, 16, 12, 10);
body.setRotationPoint(-8F, 8F, -2F);
body.setTextureSize(128, 64);
body.mirror = true;
setRotation(body, 0F, 0F, 0F);
port1b = new ModelRenderer(this, 0, 6);
port1b.addBox(0F, 0F, 0F, 1, 8, 2);
port1b.setRotationPoint(-8F, 12F, -4F);
port1b.setTextureSize(128, 64);
port1b.mirror = true;
setRotation(port1b, 0F, 0F, 0F);
bar5 = new ModelRenderer(this, 0, 0);
bar5.addBox(0F, 0F, 0F, 1, 1, 5);
bar5.setRotationPoint(-5F, 10F, -7F);
bar5.setTextureSize(128, 64);
bar5.mirror = true;
setRotation(bar5, 0F, 0F, 0F);
bar4 = new ModelRenderer(this, 0, 0);
bar4.addBox(0F, 0F, 0F, 1, 1, 5);
bar4.setRotationPoint(-5F, 12F, -7F);
bar4.setTextureSize(128, 64);
bar4.mirror = true;
setRotation(bar4, 0F, 0F, 0F);
bar3 = new ModelRenderer(this, 0, 0);
bar3.addBox(0F, 0F, 0F, 1, 1, 5);
bar3.setRotationPoint(-5F, 14F, -7F);
bar3.setTextureSize(128, 64);
bar3.mirror = true;
setRotation(bar3, 0F, 0F, 0F);
bar2 = new ModelRenderer(this, 0, 0);
bar2.addBox(0F, 0F, 0F, 1, 1, 5);
bar2.setRotationPoint(-5F, 16F, -7F);
bar2.setTextureSize(128, 64);
bar2.mirror = true;
setRotation(bar2, 0F, 0F, 0F);
frontDivider2 = new ModelRenderer(this, 52, 20);
frontDivider2.addBox(0F, 0F, 0F, 2, 12, 6);
frontDivider2.setRotationPoint(-4F, 8.5F, -7.5F);
frontDivider2.setTextureSize(128, 64);
frontDivider2.mirror = true;
setRotation(frontDivider2, 0F, 0F, 0F);
frontDivider2.mirror = false;
}
public void render(float size)
public void render(float size)
{
Base.render(size);
GasRight.render(size);
GasLeft.render(size);
GasConnector.render(size);
FluidBack.render(size);
CoreBase.render(size);
Core.render(size);
PoleRF.render(size);
PoleFL.render(size);
PoleLB.render(size);
PoleBR.render(size);
PoleR.render(size);
PoleL.render(size);
FrontPanel.render(size);
TubeThing.render(size);
CenterCore.render(size);
BackConnector.render(size);
BackCore.render(size);
TopPanel.render(size);
frontDivider1.render(size);
base.render(size);
port2b.render(size);
front.render(size);
bar1.render(size);
body.render(size);
port1b.render(size);
bar5.render(size);
bar4.render(size);
bar3.render(size);
bar2.render(size);
frontDivider2.render(size);
}
private void setRotation(ModelRenderer model, float x, float y, float z)