Merge branch 'master' into master

This commit is contained in:
RiggZh authored and GitHub committed 2025-04-19 07:45:31 +08:00
commit de7e177369
22 files changed
+8 -2235

No files matched your search

@@ -1,132 +0,0 @@
package tconstruct.mechworks.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.entity.Entity;
import net.minecraft.init.Blocks;
import net.minecraft.util.MathHelper;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.Vec3;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import tconstruct.world.entity.CartEntity;
@SideOnly(Side.CLIENT)
public class CartRender extends Render {
protected ModelBase modelCart;
RenderBlocks renderblocks;
public CartRender() {
this.shadowSize = 0.5F;
this.modelCart = new ModelPullcart();
renderblocks = new RenderBlocks();
}
public void renderPullcart(CartEntity cart, double posX, double posY, double posZ, float par8, float par9) {
GL11.glPushMatrix();
long var10 = (long) cart.hashCode() * 493286711L;
var10 = var10 * var10 * 4392167121L + var10 * 98761L;
float var12 = (((float) (var10 >> 16 & 7L) + 0.5F) / 8.0F - 0.5F) * 0.004F;
float var13 = (((float) (var10 >> 20 & 7L) + 0.5F) / 8.0F - 0.5F) * 0.004F;
float var14 = (((float) (var10 >> 24 & 7L) + 0.5F) / 8.0F - 0.5F) * 0.004F;
GL11.glTranslatef(var12, var13, var14);
double var15 = cart.lastTickPosX + (cart.posX - cart.lastTickPosX) * (double) par9;
double var17 = cart.lastTickPosY + (cart.posY - cart.lastTickPosY) * (double) par9;
double var19 = cart.lastTickPosZ + (cart.posZ - cart.lastTickPosZ) * (double) par9;
double var21 = 0.30000001192092896D;
Vec3 var23 = cart.func_70489_a(var15, var17, var19);
float var24 = cart.prevRotationPitch + (cart.rotationPitch - cart.prevRotationPitch) * par9;
if (var23 != null) {
Vec3 var25 = cart.func_70495_a(var15, var17, var19, var21);
Vec3 var26 = cart.func_70495_a(var15, var17, var19, -var21);
if (var25 == null) {
var25 = var23;
}
if (var26 == null) {
var26 = var23;
}
posX += var23.xCoord - var15;
posY += (var25.yCoord + var26.yCoord) / 2.0D - var17;
posZ += var23.zCoord - var19;
Vec3 var27 = var26.addVector(-var25.xCoord, -var25.yCoord, -var25.zCoord);
if (var27.lengthVector() != 0.0D) {
var27 = var27.normalize();
par8 = (float) (Math.atan2(var27.zCoord, var27.xCoord) * 180.0D / Math.PI);
var24 = (float) (Math.atan(var27.yCoord) * 73.0D);
}
}
GL11.glTranslatef((float) posX, (float) posY + 0.3125f, (float) posZ);
GL11.glRotatef(180.0F - par8, 0.0F, 1.0F, 0.0F);
GL11.glRotatef(-var24, 0.0F, 0.0F, 1.0F);
float var28 = (float) cart.getRollingAmplitude() - par9;
float var30 = (float) cart.getDamage() - par9;
if (var30 < 0.0F) {
var30 = 0.0F;
}
if (var28 > 0.0F) {
GL11.glRotatef(
MathHelper.sin(var28) * var28 * var30 / 10.0F * (float) cart.getRollingDirection(),
1.0F,
0.0F,
0.0F);
}
if (cart.getCartType() != 0) {
// this.loadTexture("/terrain.png");
float var29 = 0.75F;
GL11.glScalef(var29, var29, var29);
if (cart.getCartType() == 1) {
GL11.glTranslatef(0.0F, 0.5F, 0.0F);
renderblocks.renderBlockAsItem(Blocks.chest, 0, cart.getBrightness(par9));
GL11.glRotatef(-90.0F, 0.0F, 1.0F, 0.0F);
GL11.glTranslatef(0.5F, 0.0F, -0.5F);
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
} else if (cart.getCartType() == 2) {
GL11.glTranslatef(0.0F, 0.3125F, 0.0F);
renderblocks.renderBlockAsItem(Blocks.furnace, 0, cart.getBrightness(par9));
GL11.glRotatef(-90.0F, 0.0F, 1.0F, 0.0F);
GL11.glTranslatef(0.0F, -0.3125F, 0.0F);
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
}
// GL11.glScalef(1.0F / var29, 1.0F / var29, 1.0F / var29);
}
// this.loadTexture("/tinkertextures/entity/pullcart.png");
GL11.glScalef(-1.0F, -1.0F, 1.0F);
this.modelCart.render(cart, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
GL11.glPopMatrix();
}
/**
* Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then
* handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic
* (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1,
* double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.
*/
@Override
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) {
this.renderPullcart((CartEntity) par1Entity, par2, par4, par6, par8, par9);
}
@Override
protected ResourceLocation getEntityTexture(Entity par1Entity) {
return texture;
}
static final ResourceLocation texture = new ResourceLocation("assets/tinker/textures/mob/pullcart.png");
}
@@ -1,278 +0,0 @@
package tconstruct.mechworks.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelPullcart extends ModelBase {
ModelRenderer BackPanel;
ModelRenderer FrontPanel;
ModelRenderer RightPanel;
ModelRenderer LeftPanel;
ModelRenderer BottomPanel;
ModelRenderer RightHandle;
ModelRenderer LeftHandle;
ModelRenderer RightSpokeUp;
ModelRenderer RightSpokeRight;
ModelRenderer RightSpokeDown;
ModelRenderer RightSpokeLeft;
ModelRenderer RightAxle;
ModelRenderer WheelRight1;
ModelRenderer WheelRight2;
ModelRenderer WheelRight3;
ModelRenderer WheelRight4;
ModelRenderer WheelRight5;
ModelRenderer WheelRight6;
ModelRenderer WheelRight7;
ModelRenderer WheelRight8;
ModelRenderer WheelRight9;
ModelRenderer WheelRight10;
ModelRenderer WheelRight11;
ModelRenderer WheelRight12;
ModelRenderer LeftSpokeRight;
ModelRenderer LeftSpokeLeft;
ModelRenderer LeftSpokeDown;
ModelRenderer LeftSpokeUp;
ModelRenderer LeftAxle;
ModelRenderer WheelLeft1;
ModelRenderer WheelLeft2;
ModelRenderer WheelLeft3;
ModelRenderer WheelLeft4;
ModelRenderer WheelLeft5;
ModelRenderer WheelLeft6;
ModelRenderer WheelLeft7;
ModelRenderer WheelLeft8;
ModelRenderer WheelLeft9;
ModelRenderer WheelLeft10;
ModelRenderer WheelLeft11;
ModelRenderer WheelLeft12;
public ModelPullcart() {
textureWidth = 128;
textureHeight = 64;
BackPanel = new ModelRenderer(this, 0, 12);
BackPanel.addBox(-10F, 0F, 0F, 20, 10, 2);
BackPanel.setRotationPoint(0F, -8F, 8F);
setRotation(BackPanel, 0F, 0F, 0F);
FrontPanel = new ModelRenderer(this, 0, 0);
FrontPanel.addBox(-10F, 0F, 0F, 20, 10, 2);
FrontPanel.setRotationPoint(0F, -8F, -10F);
setRotation(FrontPanel, 0F, 0F, 0F);
RightPanel = new ModelRenderer(this, 0, 35);
RightPanel.addBox(0F, 0F, -10F, 2, 8, 20);
RightPanel.setRotationPoint(-12F, -6F, 0F);
setRotation(RightPanel, 0F, 0F, 0F);
LeftPanel = new ModelRenderer(this, 24, 15);
LeftPanel.addBox(0F, 0F, -10F, 2, 8, 20);
LeftPanel.setRotationPoint(10F, -6F, 0F);
setRotation(LeftPanel, 0F, 0F, 0F);
BottomPanel = new ModelRenderer(this, 40, 43);
BottomPanel.addBox(-12F, 0F, -10F, 24, 1, 20);
BottomPanel.setRotationPoint(0F, 2F, 0F);
setRotation(BottomPanel, 0F, 0F, 0F);
RightHandle = new ModelRenderer(this, 92, 33);
RightHandle.addBox(0F, 0F, 0F, 16, 2, 2);
RightHandle.setRotationPoint(-28F, 0F, -7F);
setRotation(RightHandle, 0F, 0F, 0F);
LeftHandle = new ModelRenderer(this, 92, 38);
LeftHandle.addBox(0F, 0F, 0F, 16, 2, 2);
LeftHandle.setRotationPoint(-28F, 0F, 5F);
setRotation(LeftHandle, 0F, 0F, 0F);
RightSpokeUp = new ModelRenderer(this, 99, 3);
RightSpokeUp.addBox(-2F, -8F, 0F, 4, 6, 1);
RightSpokeUp.setRotationPoint(0F, 3F, -11F);
setRotation(RightSpokeUp, 0F, 0F, 0F);
RightSpokeRight = new ModelRenderer(this, 112, 15);
RightSpokeRight.addBox(2F, -2F, 0F, 6, 4, 1);
RightSpokeRight.setRotationPoint(0F, 3F, -11F);
setRotation(RightSpokeRight, 0F, 0F, 0F);
RightSpokeDown = new ModelRenderer(this, 99, 25);
RightSpokeDown.addBox(-2F, 2F, 0F, 4, 6, 1);
RightSpokeDown.setRotationPoint(0F, 3F, -11F);
setRotation(RightSpokeDown, 0F, 0F, 0F);
RightSpokeLeft = new ModelRenderer(this, 82, 15);
RightSpokeLeft.addBox(-8F, -2F, 0F, 6, 4, 1);
RightSpokeLeft.setRotationPoint(0F, 3F, -11F);
setRotation(RightSpokeLeft, 0F, 0F, 0F);
RightAxle = new ModelRenderer(this, 98, 14);
RightAxle.addBox(-2F, -2F, 0F, 4, 4, 2);
RightAxle.setRotationPoint(0F, 3F, -12F);
setRotation(RightAxle, 0F, 0F, 0F);
WheelRight1 = new ModelRenderer(this, 110, 3);
WheelRight1.addBox(2F, -7F, 0F, 2, 2, 1);
WheelRight1.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight1, 0F, 0F, 0F);
WheelRight2 = new ModelRenderer(this, 117, 5);
WheelRight2.addBox(4F, -6F, 0F, 2, 2, 1);
WheelRight2.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight2, 0F, 0F, 0F);
WheelRight3 = new ModelRenderer(this, 122, 9);
WheelRight3.addBox(5F, -4F, 0F, 2, 2, 1);
WheelRight3.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight3, 0F, 0F, 0F);
WheelRight4 = new ModelRenderer(this, 122, 23);
WheelRight4.addBox(5F, 2F, 0F, 2, 2, 1);
WheelRight4.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight4, 0F, 0F, 0F);
WheelRight5 = new ModelRenderer(this, 117, 27);
WheelRight5.addBox(4F, 4F, 0F, 2, 2, 1);
WheelRight5.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight5, 0F, 0F, 0F);
WheelRight6 = new ModelRenderer(this, 110, 29);
WheelRight6.addBox(2F, 5F, 0F, 2, 2, 1);
WheelRight6.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight6, 0F, 0F, 0F);
WheelRight7 = new ModelRenderer(this, 92, 29);
WheelRight7.addBox(-4F, 5F, 0F, 2, 2, 1);
WheelRight7.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight7, 0F, 0F, 0F);
WheelRight8 = new ModelRenderer(this, 85, 27);
WheelRight8.addBox(-6F, 4F, 0F, 2, 2, 1);
WheelRight8.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight8, 0F, 0F, 0F);
WheelRight9 = new ModelRenderer(this, 80, 23);
WheelRight9.addBox(-7F, 2F, 0F, 2, 2, 1);
WheelRight9.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight9, 0F, 0F, 0F);
WheelRight10 = new ModelRenderer(this, 80, 9);
WheelRight10.addBox(-7F, -4F, 0F, 2, 2, 1);
WheelRight10.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight10, 0F, 0F, 0F);
WheelRight11 = new ModelRenderer(this, 85, 5);
WheelRight11.addBox(-6F, -6F, 0F, 2, 2, 1);
WheelRight11.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight11, 0F, 0F, 0F);
WheelRight12 = new ModelRenderer(this, 92, 3);
WheelRight12.addBox(-4F, -7F, 0F, 2, 2, 1);
WheelRight12.setRotationPoint(0F, 3F, -11F);
setRotation(WheelRight12, 0F, 0F, 0F);
LeftSpokeRight = new ModelRenderer(this, 82, 15);
LeftSpokeRight.addBox(-8F, -2F, 0F, 6, 4, 1);
LeftSpokeRight.setRotationPoint(0F, 3F, 10F);
setRotation(LeftSpokeRight, 0F, 0F, 0F);
LeftSpokeLeft = new ModelRenderer(this, 112, 15);
LeftSpokeLeft.addBox(2F, -2F, 0F, 6, 4, 1);
LeftSpokeLeft.setRotationPoint(0F, 3F, 10F);
setRotation(LeftSpokeLeft, 0F, 0F, 0F);
LeftSpokeDown = new ModelRenderer(this, 99, 25);
LeftSpokeDown.addBox(-2F, 2F, 0F, 4, 6, 1);
LeftSpokeDown.setRotationPoint(0F, 3F, 10F);
setRotation(LeftSpokeDown, 0F, 0F, 0F);
LeftSpokeUp = new ModelRenderer(this, 99, 3);
LeftSpokeUp.addBox(-2F, -8F, 0F, 4, 6, 1);
LeftSpokeUp.setRotationPoint(0F, 3F, 10F);
setRotation(LeftSpokeUp, 0F, 0F, 0F);
LeftAxle = new ModelRenderer(this, 98, 14);
LeftAxle.addBox(-2F, -2F, 0F, 4, 4, 2);
LeftAxle.setRotationPoint(0F, 3F, 10F);
setRotation(LeftAxle, 0F, 0F, 0F);
WheelLeft1 = new ModelRenderer(this, 92, 3);
WheelLeft1.addBox(-4F, -7F, 0F, 2, 2, 1);
WheelLeft1.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft1, 0F, 0F, 0F);
WheelLeft2 = new ModelRenderer(this, 117, 5);
WheelLeft2.addBox(-6F, -6F, 0F, 2, 2, 1);
WheelLeft2.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft2, 0F, 0F, 0F);
WheelLeft3 = new ModelRenderer(this, 80, 9);
WheelLeft3.addBox(-7F, -4F, 0F, 2, 2, 1);
WheelLeft3.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft3, 0F, 0F, 0F);
WheelLeft4 = new ModelRenderer(this, 80, 23);
WheelLeft4.addBox(-7F, 2F, 0F, 2, 2, 1);
WheelLeft4.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft4, 0F, 0F, 0F);
WheelLeft5 = new ModelRenderer(this, 117, 27);
WheelLeft5.addBox(-6F, 4F, 0F, 2, 2, 1);
WheelLeft5.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft5, 0F, 0F, 0F);
WheelLeft6 = new ModelRenderer(this, 110, 29);
WheelLeft6.addBox(-4F, 5F, 0F, 2, 2, 1);
WheelLeft6.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft6, 0F, 0F, 0F);
WheelLeft7 = new ModelRenderer(this, 92, 29);
WheelLeft7.addBox(2F, 5F, 0F, 2, 2, 1);
WheelLeft7.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft7, 0F, 0F, 0F);
WheelLeft8 = new ModelRenderer(this, 85, 27);
WheelLeft8.addBox(4F, 4F, 0F, 2, 2, 1);
WheelLeft8.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft8, 0F, 0F, 0F);
WheelLeft9 = new ModelRenderer(this, 122, 23);
WheelLeft9.addBox(5F, 2F, 0F, 2, 2, 1);
WheelLeft9.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft9, 0F, 0F, 0F);
WheelLeft10 = new ModelRenderer(this, 122, 9);
WheelLeft10.addBox(5F, -4F, 0F, 2, 2, 1);
WheelLeft10.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft10, 0F, 0F, 0F);
WheelLeft11 = new ModelRenderer(this, 85, 5);
WheelLeft11.addBox(4F, -6F, 0F, 2, 2, 1);
WheelLeft11.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft11, 0F, 0F, 0F);
WheelLeft12 = new ModelRenderer(this, 110, 3);
WheelLeft12.addBox(2F, -7F, 0F, 2, 2, 1);
WheelLeft12.setRotationPoint(0F, 3F, 10F);
setRotation(WheelLeft12, 0F, 0F, 0F);
}
@Override
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
super.render(entity, f, f1, f2, f3, f4, f5);
setRotationAngles(f, f1, f2, f3, f4, f5, entity);
BackPanel.render(f5);
FrontPanel.render(f5);
RightPanel.render(f5);
LeftPanel.render(f5);
BottomPanel.render(f5);
RightHandle.render(f5);
LeftHandle.render(f5);
RightSpokeUp.render(f5);
RightSpokeRight.render(f5);
RightSpokeDown.render(f5);
RightSpokeLeft.render(f5);
RightAxle.render(f5);
WheelRight1.render(f5);
WheelRight2.render(f5);
WheelRight3.render(f5);
WheelRight4.render(f5);
WheelRight5.render(f5);
WheelRight6.render(f5);
WheelRight7.render(f5);
WheelRight8.render(f5);
WheelRight9.render(f5);
WheelRight10.render(f5);
WheelRight11.render(f5);
WheelRight12.render(f5);
LeftSpokeRight.render(f5);
LeftSpokeLeft.render(f5);
LeftSpokeDown.render(f5);
LeftSpokeUp.render(f5);
LeftAxle.render(f5);
WheelLeft1.render(f5);
WheelLeft2.render(f5);
WheelLeft3.render(f5);
WheelLeft4.render(f5);
WheelLeft5.render(f5);
WheelLeft6.render(f5);
WheelLeft7.render(f5);
WheelLeft8.render(f5);
WheelLeft9.render(f5);
WheelLeft10.render(f5);
WheelLeft11.render(f5);
WheelLeft12.render(f5);
}
private void setRotation(ModelRenderer model, float x, float y, float z) {
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}
@Override
public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) {
super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
}
}
@@ -1,455 +0,0 @@
package tconstruct.mechworks.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelWagon extends ModelBase {
ModelRenderer Bottom;
ModelRenderer Left;
ModelRenderer Right;
ModelRenderer Back;
ModelRenderer Front;
ModelRenderer Leftpull;
ModelRenderer Rightpull;
ModelRenderer LeftWheelAxle;
ModelRenderer LeftWCenterHbeam;
ModelRenderer LeftWCenterVtop;
ModelRenderer LeftWCenterVbottom;
ModelRenderer LeftWnwH;
ModelRenderer LeftWnwM;
ModelRenderer LeftWnwV;
ModelRenderer LeftWnwEye;
ModelRenderer LeftWneH;
ModelRenderer LeftWneM;
ModelRenderer LeftWneV;
ModelRenderer LeftWneEye;
ModelRenderer LeftWswH;
ModelRenderer LeftWswM;
ModelRenderer LeftWswV;
ModelRenderer LeftWswEye;
ModelRenderer LeftWseH;
ModelRenderer LeftWseM;
ModelRenderer LeftWseV;
ModelRenderer LeftWseEye;
ModelRenderer RightWheelAxle;
ModelRenderer RightWCenterHbeam;
ModelRenderer RightWCenterVtop;
ModelRenderer RightWCenterVbottom;
ModelRenderer RightWnwH;
ModelRenderer RightWnwM;
ModelRenderer RightWnwV;
ModelRenderer RightWnwEye;
ModelRenderer RoghtWneH;
ModelRenderer RightWneM;
ModelRenderer RightWneV;
ModelRenderer RightWneEye;
ModelRenderer RightWswH;
ModelRenderer RightWswM;
ModelRenderer RightWswV;
ModelRenderer RightWswEye;
ModelRenderer RightWseH;
ModelRenderer RightWseM;
ModelRenderer RightWseV;
public ModelRenderer RightWseEye;
ModelRenderer HandBrakeMain;
ModelRenderer HandbrakeJamb;
ModelRenderer StandCenterBar;
ModelRenderer StandLeft;
ModelRenderer StandRight;
public ModelWagon() {
this.textureWidth = 128;
this.textureHeight = 64;
this.Bottom = new ModelRenderer(this, 26, 46);
this.Bottom.addBox(0.0F, 0.0F, 0.0F, 20, 2, 16);
this.Bottom.setRotationPoint(-10.0F, 4.0F, -8.0F);
this.Bottom.setTextureSize(64, 32);
this.Bottom.mirror = true;
this.setRotation(this.Bottom, 0.0F, 0.0F, 0.0F);
this.Left = new ModelRenderer(this, 0, 35);
this.Left.addBox(0.0F, 0.0F, 0.0F, 20, 8, 2);
this.Left.setRotationPoint(-10.0F, -4.0F, -8.0F);
this.Left.setTextureSize(64, 32);
this.Left.mirror = true;
this.setRotation(this.Left, 0.0F, 0.0F, 0.0F);
this.Right = new ModelRenderer(this, 83, 35);
this.Right.addBox(0.0F, 0.0F, 0.0F, 20, 8, 2);
this.Right.setRotationPoint(-10.0F, -4.0F, 6.0F);
this.Right.setTextureSize(64, 32);
this.Right.mirror = true;
this.setRotation(this.Right, 0.0F, 0.0F, 0.0F);
this.Back = new ModelRenderer(this, 99, 46);
this.Back.addBox(-2.0F, -5.0F, 0.0F, 2, 5, 12);
this.Back.setRotationPoint(10.0F, 4.0F, -6.0F);
this.Back.setTextureSize(64, 32);
this.Back.mirror = true;
this.setRotation(this.Back, 0.0F, 0.0F, 0.0F);
this.Front = new ModelRenderer(this, 50, 1);
this.Front.addBox(0.0F, 0.0F, 0.0F, 2, 8, 12);
this.Front.setRotationPoint(-10.0F, -4.0F, -6.0F);
this.Front.setTextureSize(64, 32);
this.Front.mirror = true;
this.setRotation(this.Front, 0.0F, 0.0F, 0.0F);
this.Leftpull = new ModelRenderer(this, 0, 30);
this.Leftpull.addBox(0.0F, 0.0F, 0.0F, 16, 2, 2);
this.Leftpull.setRotationPoint(-26.0F, 2.0F, -6.0F);
this.Leftpull.setTextureSize(64, 32);
this.Leftpull.mirror = true;
this.setRotation(this.Leftpull, 0.0F, 0.0F, 0.0F);
this.Rightpull = new ModelRenderer(this, 91, 30);
this.Rightpull.addBox(0.0F, 0.0F, 0.0F, 16, 2, 2);
this.Rightpull.setRotationPoint(-26.0F, 2.0F, 4.0F);
this.Rightpull.setTextureSize(64, 32);
this.Rightpull.mirror = true;
this.setRotation(this.Rightpull, 0.0F, 0.0F, 0.0F);
this.HandBrakeMain = new ModelRenderer(this, 1, 59);
this.HandBrakeMain.addBox(-6.0F, 0.0F, 0.0F, 11, 1, 1);
this.HandBrakeMain.setRotationPoint(-9.0F, -3.0F, -9.0F);
this.HandBrakeMain.setTextureSize(64, 32);
this.HandBrakeMain.mirror = true;
this.setRotation(this.HandBrakeMain, 0.0F, 0.0F, 0.0F);
this.HandbrakeJamb = new ModelRenderer(this, 10, 62);
this.HandbrakeJamb.addBox(3.0F, 1.0F, 0.0F, 2, 1, 1);
this.HandbrakeJamb.setRotationPoint(-9.0F, -3.0F, -9.0F);
this.HandbrakeJamb.setTextureSize(64, 32);
this.HandbrakeJamb.mirror = true;
this.setRotation(this.HandbrakeJamb, 0.0F, 0.0F, 0.0F);
this.LeftWheelAxle = new ModelRenderer(this, 0, 12);
this.LeftWheelAxle.addBox(-1.0F, -1.0F, -1.0F, 2, 2, 3);
this.LeftWheelAxle.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWheelAxle.setTextureSize(64, 32);
this.LeftWheelAxle.mirror = true;
this.setRotation(this.LeftWheelAxle, 0.0F, 0.0F, 0.0F);
this.LeftWCenterHbeam = new ModelRenderer(this, 12, 12);
this.LeftWCenterHbeam.addBox(-8.0F, -2.0F, 0.0F, 16, 4, 1);
this.LeftWCenterHbeam.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWCenterHbeam.setTextureSize(64, 32);
this.LeftWCenterHbeam.mirror = true;
this.setRotation(this.LeftWCenterHbeam, 0.0F, 0.0F, 0.0F);
this.LeftWCenterVtop = new ModelRenderer(this, 18, 0);
this.LeftWCenterVtop.addBox(-2.0F, -8.0F, 0.0F, 4, 6, 1);
this.LeftWCenterVtop.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWCenterVtop.setTextureSize(64, 32);
this.LeftWCenterVtop.mirror = true;
this.setRotation(this.LeftWCenterVtop, 0.0F, 0.0F, 0.0F);
this.LeftWCenterVbottom = new ModelRenderer(this, 18, 22);
this.LeftWCenterVbottom.addBox(-2.0F, 2.0F, 0.0F, 4, 6, 1);
this.LeftWCenterVbottom.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWCenterVbottom.setTextureSize(64, 32);
this.LeftWCenterVbottom.mirror = true;
this.setRotation(this.LeftWCenterVbottom, 0.0F, 0.0F, 0.0F);
this.LeftWnwH = new ModelRenderer(this, 0, 7);
this.LeftWnwH.addBox(-7.0F, -4.0F, 0.0F, 3, 2, 1);
this.LeftWnwH.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWnwH.setTextureSize(64, 32);
this.LeftWnwH.mirror = true;
this.setRotation(this.LeftWnwH, 0.0F, 0.0F, 0.0F);
this.LeftWnwM = new ModelRenderer(this, 4, 3);
this.LeftWnwM.addBox(-6.0F, -6.0F, 0.0F, 2, 2, 1);
this.LeftWnwM.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWnwM.setTextureSize(64, 32);
this.LeftWnwM.mirror = true;
this.setRotation(this.LeftWnwM, 0.0F, 0.0F, 0.0F);
this.LeftWnwV = new ModelRenderer(this, 11, 1);
this.LeftWnwV.addBox(-4.0F, -7.0F, 0.0F, 2, 3, 1);
this.LeftWnwV.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWnwV.setTextureSize(64, 32);
this.LeftWnwV.mirror = true;
this.setRotation(this.LeftWnwV, 0.0F, 0.0F, 0.0F);
this.LeftWnwEye = new ModelRenderer(this, 10, 7);
this.LeftWnwEye.addBox(-4.0F, -4.0F, 0.0F, 1, 1, 1);
this.LeftWnwEye.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWnwEye.setTextureSize(64, 32);
this.LeftWnwEye.mirror = true;
this.setRotation(this.LeftWnwEye, 0.0F, 0.0F, 0.0F);
this.LeftWneH = new ModelRenderer(this, 40, 7);
this.LeftWneH.addBox(4.0F, -4.0F, 0.0F, 3, 2, 1);
this.LeftWneH.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWneH.setTextureSize(64, 32);
this.LeftWneH.mirror = true;
this.setRotation(this.LeftWneH, 0.0F, 0.0F, 0.0F);
this.LeftWneM = new ModelRenderer(this, 37, 3);
this.LeftWneM.addBox(4.0F, -6.0F, 0.0F, 2, 2, 1);
this.LeftWneM.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWneM.setTextureSize(64, 32);
this.LeftWneM.mirror = true;
this.setRotation(this.LeftWneM, 0.0F, 0.0F, 0.0F);
this.LeftWneV = new ModelRenderer(this, 29, 1);
this.LeftWneV.addBox(2.0F, -7.0F, 0.0F, 2, 3, 1);
this.LeftWneV.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWneV.setTextureSize(64, 32);
this.LeftWneV.mirror = true;
this.setRotation(this.LeftWneV, 0.0F, 0.0F, 0.0F);
this.LeftWneEye = new ModelRenderer(this, 33, 7);
this.LeftWneEye.addBox(3.0F, -4.0F, 0.0F, 1, 1, 1);
this.LeftWneEye.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWneEye.setTextureSize(64, 32);
this.LeftWneEye.mirror = true;
this.setRotation(this.LeftWneEye, 0.0F, 0.0F, 0.0F);
this.LeftWswH = new ModelRenderer(this, 0, 19);
this.LeftWswH.addBox(-7.0F, 2.0F, 0.0F, 3, 2, 1);
this.LeftWswH.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWswH.setTextureSize(64, 32);
this.LeftWswH.mirror = true;
this.setRotation(this.LeftWswH, 0.0F, 0.0F, 0.0F);
this.LeftWswM = new ModelRenderer(this, 4, 23);
this.LeftWswM.addBox(-6.0F, 4.0F, 0.0F, 2, 2, 1);
this.LeftWswM.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWswM.setTextureSize(64, 32);
this.LeftWswM.mirror = true;
this.setRotation(this.LeftWswM, 0.0F, 0.0F, 0.0F);
this.LeftWswV = new ModelRenderer(this, 11, 24);
this.LeftWswV.addBox(-4.0F, 4.0F, 0.0F, 2, 3, 1);
this.LeftWswV.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWswV.setTextureSize(64, 32);
this.LeftWswV.mirror = true;
this.setRotation(this.LeftWswV, 0.0F, 0.0F, 0.0F);
this.LeftWswEye = new ModelRenderer(this, 10, 20);
this.LeftWswEye.addBox(-4.0F, 3.0F, 0.0F, 1, 1, 1);
this.LeftWswEye.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWswEye.setTextureSize(64, 32);
this.LeftWswEye.mirror = true;
this.setRotation(this.LeftWswEye, 0.0F, 0.0F, 0.0F);
this.LeftWseH = new ModelRenderer(this, 40, 19);
this.LeftWseH.addBox(4.0F, 2.0F, 0.0F, 3, 2, 1);
this.LeftWseH.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWseH.setTextureSize(64, 32);
this.LeftWseH.mirror = true;
this.setRotation(this.LeftWseH, 0.0F, 0.0F, 0.0F);
this.LeftWseM = new ModelRenderer(this, 37, 23);
this.LeftWseM.addBox(4.0F, 4.0F, 0.0F, 2, 2, 1);
this.LeftWseM.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWseM.setTextureSize(64, 32);
this.LeftWseM.mirror = true;
this.setRotation(this.LeftWseM, 0.0F, 0.0F, 0.0F);
this.LeftWseV = new ModelRenderer(this, 29, 24);
this.LeftWseV.addBox(2.0F, 4.0F, 0.0F, 2, 3, 1);
this.LeftWseV.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWseV.setTextureSize(64, 32);
this.LeftWseV.mirror = true;
this.setRotation(this.LeftWseV, 0.0F, 0.0F, 0.0F);
this.LeftWseEye = new ModelRenderer(this, 33, 20);
this.LeftWseEye.addBox(3.0F, 3.0F, 0.0F, 1, 1, 1);
this.LeftWseEye.setRotationPoint(0.0F, 5.0F, -10.0F);
this.LeftWseEye.setTextureSize(64, 32);
this.LeftWseEye.mirror = true;
this.setRotation(this.LeftWseEye, 0.0F, 0.0F, 0.0F);
this.RightWheelAxle = new ModelRenderer(this, 117, 12);
this.RightWheelAxle.addBox(-1.0F, -1.0F, -1.0F, 2, 2, 3);
this.RightWheelAxle.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWheelAxle.setTextureSize(64, 32);
this.RightWheelAxle.mirror = true;
this.setRotation(this.RightWheelAxle, 0.0F, 0.0F, 0.0F);
this.RightWCenterHbeam = new ModelRenderer(this, 80, 12);
this.RightWCenterHbeam.addBox(-8.0F, -2.0F, 0.0F, 16, 4, 1);
this.RightWCenterHbeam.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWCenterHbeam.setTextureSize(64, 32);
this.RightWCenterHbeam.mirror = true;
this.setRotation(this.RightWCenterHbeam, 0.0F, 0.0F, 0.0F);
this.RightWCenterVtop = new ModelRenderer(this, 98, 0);
this.RightWCenterVtop.addBox(-2.0F, -8.0F, 0.0F, 4, 6, 1);
this.RightWCenterVtop.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWCenterVtop.setTextureSize(64, 32);
this.RightWCenterVtop.mirror = true;
this.setRotation(this.RightWCenterVtop, 0.0F, 0.0F, 0.0F);
this.RightWCenterVbottom = new ModelRenderer(this, 98, 22);
this.RightWCenterVbottom.addBox(-2.0F, 2.0F, 0.0F, 4, 6, 1);
this.RightWCenterVbottom.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWCenterVbottom.setTextureSize(64, 32);
this.RightWCenterVbottom.mirror = true;
this.setRotation(this.RightWCenterVbottom, 0.0F, 0.0F, 0.0F);
this.RightWnwH = new ModelRenderer(this, 79, 7);
this.RightWnwH.addBox(4.0F, -4.0F, 0.0F, 3, 2, 1);
this.RightWnwH.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWnwH.setTextureSize(64, 32);
this.RightWnwH.mirror = true;
this.setRotation(this.RightWnwH, 0.0F, 0.0F, 0.0F);
this.RightWnwM = new ModelRenderer(this, 84, 3);
this.RightWnwM.addBox(4.0F, -6.0F, 0.0F, 2, 2, 1);
this.RightWnwM.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWnwM.setTextureSize(64, 32);
this.RightWnwM.mirror = true;
this.setRotation(this.RightWnwM, 0.0F, 0.0F, 0.0F);
this.RightWnwV = new ModelRenderer(this, 91, 1);
this.RightWnwV.addBox(2.0F, -7.0F, 0.0F, 2, 3, 1);
this.RightWnwV.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWnwV.setTextureSize(64, 32);
this.RightWnwV.mirror = true;
this.setRotation(this.RightWnwV, 0.0F, 0.0F, 0.0F);
this.RightWnwEye = new ModelRenderer(this, 90, 7);
this.RightWnwEye.addBox(3.0F, -4.0F, 0.0F, 1, 1, 1);
this.RightWnwEye.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWnwEye.setTextureSize(64, 32);
this.RightWnwEye.mirror = true;
this.setRotation(this.RightWnwEye, 0.0F, 0.0F, 0.0F);
this.RoghtWneH = new ModelRenderer(this, 119, 7);
this.RoghtWneH.addBox(-7.0F, -4.0F, 0.0F, 3, 2, 1);
this.RoghtWneH.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RoghtWneH.setTextureSize(64, 32);
this.RoghtWneH.mirror = true;
this.setRotation(this.RoghtWneH, 0.0F, 0.0F, 0.0F);
this.RightWneM = new ModelRenderer(this, 116, 3);
this.RightWneM.addBox(-6.0F, -6.0F, 0.0F, 2, 2, 1);
this.RightWneM.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWneM.setTextureSize(64, 32);
this.RightWneM.mirror = true;
this.setRotation(this.RightWneM, 0.0F, 0.0F, 0.0F);
this.RightWneV = new ModelRenderer(this, 109, 1);
this.RightWneV.addBox(-4.0F, -7.0F, 0.0F, 2, 3, 1);
this.RightWneV.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWneV.setTextureSize(64, 32);
this.RightWneV.mirror = true;
this.setRotation(this.RightWneV, 0.0F, 0.0F, 0.0F);
this.RightWneEye = new ModelRenderer(this, 113, 7);
this.RightWneEye.addBox(-4.0F, -4.0F, 0.0F, 1, 1, 1);
this.RightWneEye.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWneEye.setTextureSize(64, 32);
this.RightWneEye.mirror = true;
this.setRotation(this.RightWneEye, 0.0F, 0.0F, 0.0F);
this.RightWswH = new ModelRenderer(this, 79, 19);
this.RightWswH.addBox(4.0F, 2.0F, 0.0F, 3, 2, 1);
this.RightWswH.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWswH.setTextureSize(64, 32);
this.RightWswH.mirror = true;
this.setRotation(this.RightWswH, 0.0F, 0.0F, 0.0F);
this.RightWswM = new ModelRenderer(this, 84, 23);
this.RightWswM.addBox(4.0F, 4.0F, 0.0F, 2, 2, 1);
this.RightWswM.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWswM.setTextureSize(64, 32);
this.RightWswM.mirror = true;
this.setRotation(this.RightWswM, 0.0F, 0.0F, 0.0F);
this.RightWswV = new ModelRenderer(this, 91, 24);
this.RightWswV.addBox(2.0F, 4.0F, 0.0F, 2, 3, 1);
this.RightWswV.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWswV.setTextureSize(64, 32);
this.RightWswV.mirror = true;
this.setRotation(this.RightWswV, 0.0F, 0.0F, 0.0F);
this.RightWswEye = new ModelRenderer(this, 90, 20);
this.RightWswEye.addBox(3.0F, 3.0F, 0.0F, 1, 1, 1);
this.RightWswEye.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWswEye.setTextureSize(64, 32);
this.RightWswEye.mirror = true;
this.setRotation(this.RightWswEye, 0.0F, 0.0F, 0.0F);
this.RightWseH = new ModelRenderer(this, 119, 19);
this.RightWseH.addBox(-7.0F, 2.0F, 0.0F, 3, 2, 1);
this.RightWseH.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWseH.setTextureSize(64, 32);
this.RightWseH.mirror = true;
this.setRotation(this.RightWseH, 0.0F, 0.0F, 0.0F);
this.RightWseM = new ModelRenderer(this, 116, 23);
this.RightWseM.addBox(-6.0F, 4.0F, 0.0F, 2, 2, 1);
this.RightWseM.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWseM.setTextureSize(64, 32);
this.RightWseM.mirror = true;
this.setRotation(this.RightWseM, 0.0F, 0.0F, 0.0F);
this.RightWseV = new ModelRenderer(this, 109, 24);
this.RightWseV.addBox(-4.0F, 4.0F, 0.0F, 2, 3, 1);
this.RightWseV.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWseV.setTextureSize(64, 32);
this.RightWseV.mirror = true;
this.setRotation(this.RightWseV, 0.0F, 0.0F, 0.0F);
this.RightWseEye = new ModelRenderer(this, 113, 20);
this.RightWseEye.addBox(-4.0F, 3.0F, 0.0F, 1, 1, 1);
this.RightWseEye.setRotationPoint(0.0F, 5.0F, 9.0F);
this.RightWseEye.setTextureSize(64, 32);
this.RightWseEye.mirror = true;
this.setRotation(this.RightWseEye, 0.0F, 0.0F, 0.0F);
this.StandCenterBar = new ModelRenderer(this, 47, 27);
this.StandCenterBar.addBox(-1.0F, 0.0F, -8.0F, 1, 2, 16);
this.StandCenterBar.setRotationPoint(-9.0F, 6.0F, 0.0F);
this.StandCenterBar.setTextureSize(64, 32);
this.StandCenterBar.mirror = true;
this.setRotation(this.StandCenterBar, 0.0F, 0.0F, 0.0F);
this.StandLeft = new ModelRenderer(this, 37, 27);
this.StandLeft.addBox(-1.0F, 2.0F, -8.0F, 1, 5, 2);
this.StandLeft.setRotationPoint(-9.0F, 6.0F, 0.0F);
this.StandLeft.setTextureSize(64, 32);
this.StandLeft.mirror = true;
this.setRotation(this.StandLeft, 0.0F, 0.0F, 0.0F);
this.StandRight = new ModelRenderer(this, 84, 27);
this.StandRight.addBox(-1.0F, 2.0F, 6.0F, 1, 5, 2);
this.StandRight.setRotationPoint(-9.0F, 6.0F, 0.0F);
this.StandRight.setTextureSize(64, 32);
this.StandRight.mirror = true;
this.setRotation(this.StandRight, 0.0F, 0.0F, 0.0F);
}
/**
* Sets the models various rotation angles then renders the model.
*/
@Override
public void render(Entity var1, float var2, float var3, float var4, float var5, float var6, float var7) {
super.render(var1, var2, var3, var4, var5, var6, var7);
this.setRotationAngles(var2, var3, var4, var5, var6, var7, var1);
this.LeftWheelAxle.rotateAngleZ = this.LeftWCenterHbeam.rotateAngleZ = this.LeftWCenterVtop.rotateAngleZ = this.LeftWCenterVbottom.rotateAngleZ = this.LeftWnwH.rotateAngleZ = this.LeftWnwM.rotateAngleZ = this.LeftWnwV.rotateAngleZ = this.LeftWnwEye.rotateAngleZ = this.LeftWneH.rotateAngleZ = this.LeftWneM.rotateAngleZ = this.LeftWneV.rotateAngleZ = this.LeftWneEye.rotateAngleZ = this.LeftWswH.rotateAngleZ = this.LeftWswM.rotateAngleZ = this.LeftWswV.rotateAngleZ = this.LeftWswEye.rotateAngleZ = this.LeftWseH.rotateAngleZ = this.LeftWseM.rotateAngleZ = this.LeftWseV.rotateAngleZ = this.LeftWseEye.rotateAngleZ = this.RightWheelAxle.rotateAngleZ = this.RightWCenterHbeam.rotateAngleZ = this.RightWCenterVtop.rotateAngleZ = this.RightWCenterVbottom.rotateAngleZ = this.RightWnwH.rotateAngleZ = this.RightWnwM.rotateAngleZ = this.RightWnwV.rotateAngleZ = this.RightWnwEye.rotateAngleZ = this.RoghtWneH.rotateAngleZ = this.RightWneM.rotateAngleZ = this.RightWneV.rotateAngleZ = this.RightWneEye.rotateAngleZ = this.RightWswH.rotateAngleZ = this.RightWswM.rotateAngleZ = this.RightWswV.rotateAngleZ = this.RightWswEye.rotateAngleZ = this.RightWseH.rotateAngleZ = this.RightWseM.rotateAngleZ = this.RightWseV.rotateAngleZ = this.RightWseEye.rotateAngleZ;
this.Bottom.render(var7);
this.Left.render(var7);
this.Right.render(var7);
this.Back.render(var7);
this.Front.render(var7);
this.Leftpull.render(var7);
this.Rightpull.render(var7);
this.HandBrakeMain.render(var7);
this.HandbrakeJamb.render(var7);
this.LeftWheelAxle.render(var7);
this.LeftWCenterHbeam.render(var7);
this.LeftWCenterVtop.render(var7);
this.LeftWCenterVbottom.render(var7);
this.LeftWnwH.render(var7);
this.LeftWnwM.render(var7);
this.LeftWnwV.render(var7);
this.LeftWnwEye.render(var7);
this.LeftWneH.render(var7);
this.LeftWneM.render(var7);
this.LeftWneV.render(var7);
this.LeftWneEye.render(var7);
this.LeftWswH.render(var7);
this.LeftWswM.render(var7);
this.LeftWswV.render(var7);
this.LeftWswEye.render(var7);
this.LeftWseH.render(var7);
this.LeftWseM.render(var7);
this.LeftWseV.render(var7);
this.LeftWseEye.render(var7);
this.RightWheelAxle.render(var7);
this.RightWCenterHbeam.render(var7);
this.RightWCenterVtop.render(var7);
this.RightWCenterVbottom.render(var7);
this.RightWnwH.render(var7);
this.RightWnwM.render(var7);
this.RightWnwV.render(var7);
this.RightWnwEye.render(var7);
this.RoghtWneH.render(var7);
this.RightWneM.render(var7);
this.RightWneV.render(var7);
this.RightWneEye.render(var7);
this.RightWswH.render(var7);
this.RightWswM.render(var7);
this.RightWswV.render(var7);
this.RightWswEye.render(var7);
this.RightWseH.render(var7);
this.RightWseM.render(var7);
this.RightWseV.render(var7);
this.RightWseEye.render(var7);
this.StandCenterBar.render(var7);
this.StandLeft.render(var7);
this.StandRight.render(var7);
}
private void setRotation(ModelRenderer var1, float var2, float var3, float var4) {
var1.rotateAngleX = var2;
var1.rotateAngleY = var3;
var1.rotateAngleZ = var4;
}
/**
* Sets the models various rotation angles.
*/
@Override
public void setRotationAngles(float var1, float var2, float var3, float var4, float var5, float var6,
Entity par7Entity) {
super.setRotationAngles(var1, var2, var3, var4, var5, var6, par7Entity);
}
}
@@ -72,7 +72,6 @@ import tconstruct.world.blocks.SlimePad;
import tconstruct.world.blocks.StoneLadder;
import tconstruct.world.blocks.StoneTorch;
import tconstruct.world.blocks.TMetalBlock;
import tconstruct.world.blocks.WoodRail;
import tconstruct.world.entity.BlueSlime;
import tconstruct.world.entity.Crystal;
import tconstruct.world.entity.KingBlueSlime;
@@ -137,8 +136,6 @@ public class TinkerWorld {
public static OreberryBush oreBerry;
public static OreberryBush oreBerrySecond;
public static Item oreBerries;
// Rail-related
public static Block woodenRail;
// Chest hooks
public static ChestGenHooks tinkerHouseChest;
public static ChestGenHooks tinkerHousePatterns;
@@ -241,9 +238,6 @@ public class TinkerWorld {
TinkerWorld.oreGravel.setHarvestLevel("shovel", 1, 3);
TinkerWorld.oreGravel.setHarvestLevel("shovel", 1, 4);
TinkerWorld.oreGravel.setHarvestLevel("shovel", 4, 5);
// Rail
TinkerWorld.woodenRail = new WoodRail().setStepSound(Block.soundTypeWood)
.setCreativeTab(TConstructRegistry.blockTab).setBlockName("rail.wood");
GameRegistry.registerBlock(TinkerWorld.meatBlock, HamboneItemBlock.class, "MeatBlock");
OreDictionary.registerOre("hambone", new ItemStack(TinkerWorld.meatBlock));
@@ -290,9 +284,6 @@ public class TinkerWorld {
GameRegistry.registerBlock(TinkerWorld.oreSlag, MetalOreItemBlock.class, "SearedBrick");
GameRegistry.registerBlock(TinkerWorld.oreGravel, GravelOreItem.class, "GravelOre");
// Rail
GameRegistry.registerBlock(TinkerWorld.woodenRail, "rail.wood");
// Items
goldHead = new GoldenHead(4, 1.2F, false).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 10, 0, 1.0F)
.setUnlocalizedName("goldenhead");
@@ -315,9 +306,6 @@ public class TinkerWorld {
Items.iron_door.setMaxStackSize(16);
Items.boat.setMaxStackSize(16);
Items.minecart.setMaxStackSize(3);
// Items.minecartEmpty.setMaxStackSize(3);
// Items.minecartCrate.setMaxStackSize(3);
// Items.minecartPowered.setMaxStackSize(3);
Items.cake.setMaxStackSize(16);
// Block.torchWood.setTickRandomly(false);
@@ -350,8 +338,6 @@ public class TinkerWorld {
EntityRegistry.registerModEntity(Crystal.class, "Crystal", 2, TConstruct.instance, 32, 3, true);
EntityRegistry.registerModEntity(LaunchedPotion.class, "Launched Potion", 3, TConstruct.instance, 32, 3, true);
EntityRegistry.registerModEntity(ArrowEntity.class, "Arrow", 4, TConstruct.instance, 32, 5, true);
// EntityRegistry.registerModEntity(CartEntity.class, "Small Wagon", 1,
// TConstruct.instance, 32, 5, true);
EntityRegistry.registerModEntity(BlueSlime.class, "EdibleSlime", 12, TConstruct.instance, 64, 5, true);
EntityRegistry.registerModEntity(KingBlueSlime.class, "KingSlime", 14, TConstruct.instance, 64, 5, true);
@@ -681,17 +667,6 @@ public class TinkerWorld {
// Stone Ladder Recipe
GameRegistry.addRecipe(
new ShapedOreRecipe(new ItemStack(TinkerWorld.stoneLadder, 3), "w w", "www", "w w", 'w', "rodStone"));
// Wooden Rail Recipe
GameRegistry.addRecipe(
new ShapedOreRecipe(
new ItemStack(TinkerWorld.woodenRail, 4, 0),
"b b",
"bxb",
"b b",
'b',
"plankWood",
'x',
"stickWood"));
// Stonesticks Recipes
GameRegistry.addRecipe(new ItemStack(TinkerTools.toolRod, 4, 1), "c", "c", 'c', new ItemStack(Blocks.stone));
GameRegistry
@@ -35,10 +35,8 @@ import net.minecraft.util.ResourceLocation;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.registry.VillagerRegistry;
import mantle.lib.client.MantleClientRegistry;
import tconstruct.mechworks.model.CartRender;
import tconstruct.tools.TinkerTools;
import tconstruct.world.entity.BlueSlime;
import tconstruct.world.entity.CartEntity;
import tconstruct.world.entity.KingBlueSlime;
import tconstruct.world.model.BarricadeRender;
import tconstruct.world.model.OreberryRender;
@@ -69,7 +67,6 @@ public class TinkerWorldProxyClient extends TinkerWorldProxyCommon {
SlimeRender slimeRender = new SlimeRender(new ModelSlime(16), new ModelSlime(0), 0.25F);
RenderingRegistry.registerEntityRenderingHandler(BlueSlime.class, slimeRender);
RenderingRegistry.registerEntityRenderingHandler(KingBlueSlime.class, slimeRender);
RenderingRegistry.registerEntityRenderingHandler(CartEntity.class, new CartRender());
VillagerRegistry.instance()
.registerVillagerSkin(78943, new ResourceLocation("tinker", "textures/mob/villagertools.png"));
@@ -1,54 +0,0 @@
package tconstruct.world.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.BlockRailBase;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.item.EntityMinecart;
import net.minecraft.init.Blocks;
import net.minecraft.util.IIcon;
import net.minecraft.world.World;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class WoodRail extends BlockRailBase {
@SideOnly(Side.CLIENT)
private IIcon theIcon;
public WoodRail() {
super(false);
}
@Override
@SideOnly(Side.CLIENT)
/**
* From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
*/
public IIcon getIcon(int par1, int par2) {
return par2 >= 6 ? this.theIcon : this.blockIcon;
}
@Override
@SideOnly(Side.CLIENT)
/**
* When this method is called, your block should register all the icons it needs with the given IconRegister. This
* is the only chance you get to register icons.
*/
public void registerBlockIcons(IIconRegister par1IconRegister) {
this.blockIcon = par1IconRegister.registerIcon("tinker:woodrail");
this.theIcon = par1IconRegister.registerIcon("tinker:woodrail_turn");
}
protected void func_94358_a(World par1World, int par2, int par3, int par4, int par5, int par6, Block par7) {
if (par7 != Blocks.air && par7.canProvidePower()
&& (new Rail(par1World, par2, par3, par4)).func_150650_a() == 3) {
this.func_150052_a(par1World, par2, par3, par4, false);
}
}
@Override
public float getRailMaxSpeed(World world, EntityMinecart cart, int y, int x, int z) {
return 0.3f;
}
}
File diff suppressed because it is too large. Load diff
@@ -114,8 +114,6 @@ block.fancybrick.ardite.name=Hezké arditové cihly
block.fancybrick.cobalt.name=Hezké kobaltové cihly
block.fancybrick.manyullyn.name=Hezké manyullynové cihly
tile.rail.wood.name=Dřevěná kolej
tile.cloth.white.slab.name=Vlnový půlblok
tile.cloth.orange.slab.name=Oranžový vlnový půlblok
tile.cloth.magenta.slab.name=Purporový vlnový půlblok
@@ -114,8 +114,6 @@ block.fancybrick.ardite.name=Schicke Arditeziegel
block.fancybrick.cobalt.name=Schicke Kobaltziegel
block.fancybrick.manyullyn.name=Schicke Manyullynziegel
tile.rail.wood.name=Hölzerne Schiene
tile.cloth.white.slab.name=Wollstufe
tile.cloth.orange.slab.name=Orange Wollstufe
tile.cloth.magenta.slab.name=Magenta Wollstufe
@@ -105,8 +105,6 @@ block.fancybrick.obsidian.ingot.name=Fancy Obsidian Brick
block.fancybrick.stone.road.name=Stone Road
block.fancybrick.stone.name=Fancy Stone Brick
tile.rail.wood.name=Timbers Ta Shiver
tile.cloth.white.slab.name=Wool Slab
tile.cloth.orange.slab.name=Orange Wool Slab
tile.cloth.magenta.slab.name=Magenta Wool Slab
@@ -128,8 +128,6 @@ block.fancybrick.ardite.name=Fancy Ardite Brick
block.fancybrick.cobalt.name=Fancy Cobalt Brick
block.fancybrick.manyullyn.name=Fancy Manyullyn Brick
tile.rail.wood.name=Wooden Rail
tile.cloth.white.slab.name=Wool Slab
tile.cloth.orange.slab.name=Orange Wool Slab
tile.cloth.magenta.slab.name=Magenta Wool Slab
@@ -114,8 +114,6 @@ block.fancybrick.ardite.name=Brique d'ardite chic
block.fancybrick.cobalt.name=Brique de cobalt chic
block.fancybrick.manyullyn.name=Brique de manyullyn chic
tile.rail.wood.name=Rail en bois
tile.cloth.white.slab.name=Dalle de laine
tile.cloth.orange.slab.name=Dalle de laine orange
tile.cloth.magenta.slab.name=Dalle de laine magenta
@@ -106,8 +106,6 @@ block.fancybrick.obsidian.ingot.name=Ossidiana concia decorativa
block.fancybrick.stone.road.name=Strada di pietra
block.fancybrick.stone.name=Pietra concia decorativa
tile.rail.wood.name=Rotaia di legno
tile.cloth.white.slab.name=Lastra di lana bianca
tile.cloth.orange.slab.name=Lastra di lana arancione
tile.cloth.magenta.slab.name=Lastra di lana magenta
@@ -106,8 +106,6 @@ block.fancybrick.obsidian.ingot.name=Fancy Obsidian Brick
block.fancybrick.stone.road.name=Stone Road
block.fancybrick.stone.name=Fancy Stone Brick
tile.rail.wood.name=木のレール
tile.cloth.white.slab.name=羊毛ハーフブロック
tile.cloth.orange.slab.name=橙色の羊毛ハーフブロック
tile.cloth.magenta.slab.name=赤紫色の羊毛ハーフブロック
@@ -106,8 +106,6 @@ block.fancybrick.obsidian.ingot.name=화려한 흑요석 주괴 벽돌
block.fancybrick.stone.road.name=돌 도로
block.fancybrick.stone.name=화려한 석재 벽돌
tile.rail.wood.name=나무 레일
tile.cloth.white.slab.name=양털 반 블럭
tile.cloth.orange.slab.name=주황색 양털 반 블럭
tile.cloth.magenta.slab.name=다홍색 양털 반 블럭
@@ -106,8 +106,6 @@ block.fancybrick.obsidian.ingot.name=Tijolo Bonito de Obsidiana
block.fancybrick.stone.road.name=Pavimento de Pedra
block.fancybrick.stone.name=Tijolo Bonito de Pedra
tile.rail.wood.name=Trilho de Madeira
tile.cloth.white.slab.name=Laje de Lã
tile.cloth.orange.slab.name=Laje de Lã Laranja
tile.cloth.magenta.slab.name=Laje de Lã Magenta
@@ -106,8 +106,6 @@ block.fancybrick.obsidian.ingot.name=Tijolo Bonito de Obsidiana
block.fancybrick.stone.road.name=Pavimento de Pedra
block.fancybrick.stone.name=Tijolo Bonito de Pedra
tile.rail.wood.name=Trilho de Madeira
tile.cloth.white.slab.name=Laje de Lã
tile.cloth.orange.slab.name=Laje de Lã Laranja
tile.cloth.magenta.slab.name=Laje de Lã Magenta
@@ -117,8 +117,6 @@ block.fancybrick.ardite.name=Красивый ардитовый кирпич
block.fancybrick.cobalt.name=Красивый кобальтовый кирпич
block.fancybrick.manyullyn.name=Красивый мануллиновый кирпич
tile.rail.wood.name=Деревянные рельсы
tile.cloth.white.slab.name=Плита из шерсти
tile.cloth.orange.slab.name=Плита из оранжевой шерсти
tile.cloth.magenta.slab.name=Плита из сиреневой шерсти
@@ -116,8 +116,6 @@ block.fancybrick.ardite.name=Вишукана ардитова цегла
block.fancybrick.cobalt.name=Вишукана кобальтова цегла
block.fancybrick.manyullyn.name=Вишукана манулінова цегла
tile.rail.wood.name=Дерев'яні рейки
tile.cloth.white.slab.name=Вовняна плита
tile.cloth.orange.slab.name=Помаранчева вовняна плита
tile.cloth.magenta.slab.name=Пурпурова вовняна плита
@@ -116,8 +116,6 @@ block.fancybrick.ardite.name=平滑阿迪特砖块
block.fancybrick.cobalt.name=平滑钴砖块
block.fancybrick.manyullyn.name=平滑玛玉灵砖块
tile.rail.wood.name=木轨道
tile.cloth.white.slab.name=羊毛台阶
tile.cloth.orange.slab.name=橙色羊毛台阶
tile.cloth.magenta.slab.name=品红色羊毛台阶
@@ -105,8 +105,6 @@ block.fancybrick.obsidian.ingot.name=平滑黑曜石錠磚塊
block.fancybrick.stone.road.name=鋪路石塊
block.fancybrick.stone.name=平滑石磚塊
tile.rail.wood.name=木軌道
tile.cloth.white.slab.name=羊毛台階
tile.cloth.orange.slab.name=橙色羊毛台階
tile.cloth.magenta.slab.name=品紅色羊毛台階
@@ -131,37 +131,22 @@ I have some ideas for creating tools, but for that I need a large place to creat
<page type="text">
<text>Tinker's Log #23:
Today I made something strange. It's round, wooden, and doesn't look like anything I've ever seen. Someone came by and said it was a "wheel" and that they were great fun to roll around. I wonder what else it could be used for?
I have all these tools laying around with little notes on what each one does. Instead of leaving them scattered about, I think I will create one place to store them.
Tinker's Log #24:
I made a few more of the wheels to get some practice in. I had some fun rolling them around, rolling them in pairs, and then one ended up beside my boat. It just looked so natural I had to start putting them together.</text>
</page>
<page type="text">
<text>Tinker's Log #25:
I think I'm on to something here. Combining the boat with the wheel made it work something like a minecart, only I can pull it around places. It feels a little small though.
Tinker's Log #26:
I have all these tools laying around with little notes on what each one does. Instead of leaving them scattered about, I think I will create one place to store them.</text>
</page>
<page type="text">
<text>Tinker's Log #27:
I went exploring and found some new ores today. They're colors I've never seen before, and they don't shatter on impact like iron does. I wonder what I can do with these?
</text>
</page>
Tinker's Log #28:
<page type="text">
<text>
Tinker's Log #25:
The normal furnace is nice for keeping warm, but it leaves something to be desired for processing metal. I've dug a pit and lined it with some clay, gathered lava nearby, and put ore in the center in an attempt to improve on the design. The results were quite interesting.</text>
</page>
<page type="text">
<text>The more lava I fed into the pit the hotter the material became. Eventually the whole thing liquified. I broke open the side of the pit with a cauldron in an attempt to catch the material, but it went everywhere. There were some remnants left in the pit as well.
The more lava I fed into the pit the hotter the material became. Eventually the whole thing liquified. I broke open the side of the pit with a cauldron in an attempt to catch the material, but it went everywhere. There were some remnants left in the pit as well.
Raw ore still has parts of stone in it. There must be a way to remove the excess.</text>
Raw ore still has parts of stone in it. There must be a way to remove the excess.
</page>
</book>