From 0c68e197331bfd8c28c1ac43a1cc1b4dc15a7508 Mon Sep 17 00:00:00 2001 From: Henry Mao Date: Tue, 12 Feb 2013 19:29:32 +0800 Subject: [PATCH] Added texture for crane frame --- models/{CraneRails.tcn => CraneFrame.tcn} | Bin models/CraneRail.java | 413 ------------------ .../assemblyline/textures/crane_frame.png | Bin 0 -> 2982 bytes .../assemblyline/textures/crane_rail.png | Bin 718 -> 0 bytes .../assemblyline/client/ClientProxy.java | 4 +- .../client/render/BlockRenderingHandler.java | 4 +- ...erCraneRail.java => RenderCraneFrame.java} | 5 +- 7 files changed, 7 insertions(+), 419 deletions(-) rename models/{CraneRails.tcn => CraneFrame.tcn} (100%) delete mode 100644 models/CraneRail.java create mode 100644 resources/assemblyline/textures/crane_frame.png delete mode 100644 resources/assemblyline/textures/crane_rail.png rename src/minecraft/assemblyline/client/render/{RenderCraneRail.java => RenderCraneFrame.java} (91%) diff --git a/models/CraneRails.tcn b/models/CraneFrame.tcn similarity index 100% rename from models/CraneRails.tcn rename to models/CraneFrame.tcn diff --git a/models/CraneRail.java b/models/CraneRail.java deleted file mode 100644 index e98676c07..000000000 --- a/models/CraneRail.java +++ /dev/null @@ -1,413 +0,0 @@ -// Date: 2/9/2013 10:50:15 PM -// Template version 1.1 -// Java generated by Techne -// Keep in mind that you still need to fill in some blanks -// - ZeuX - - - - - - -package net.minecraft.src; - -public class ModelCraneRail extends ModelBase -{ - //fields - ModelRenderer SegmentBLBack; - ModelRenderer SegmentLUBack; - ModelRenderer SegmentRUBack; - ModelRenderer SegmentBRBack; - ModelRenderer SegmentBLFront; - ModelRenderer SegmentLUFront; - ModelRenderer SegmentRUFront; - ModelRenderer SegmentBRFront; - ModelRenderer SegmentLBUp; - ModelRenderer SegmentRBUp; - ModelRenderer SegmentLFUp; - ModelRenderer SegmentRFUp; - ModelRenderer SegmentUBRight; - ModelRenderer SegmentBFRight; - ModelRenderer SegmentUFRight; - ModelRenderer SegmentBBRight; - ModelRenderer SegmentLFDown; - ModelRenderer SegmentLBDown; - ModelRenderer SegmentRBDown; - ModelRenderer FootTop; - ModelRenderer SegmentRFDown; - ModelRenderer FootBottom; - ModelRenderer SegmentBFMid; - ModelRenderer SegmentUBMid; - ModelRenderer SegmentBBMid; - ModelRenderer SegmentUFMid; - ModelRenderer SegmentLBMid; - ModelRenderer SegmentLFMid; - ModelRenderer SegmentRBMid; - ModelRenderer SegmentRFMid; - ModelRenderer SegmentMidDiag4; - ModelRenderer SegmentRUMid; - ModelRenderer SegmentBRMid; - ModelRenderer SegmentBLMid; - ModelRenderer SegmentLUMid; - ModelRenderer SegmentMidDiag3; - ModelRenderer SegmentMidDiag7; - ModelRenderer SegmentMidDiag8; - ModelRenderer SegmentMidDiag1; - ModelRenderer SegmentMidDiag2; - ModelRenderer SegmentMidDiag6; - ModelRenderer SegmentMidDiag5; - ModelRenderer SegmentUBLeft; - ModelRenderer SegmentUFLeft; - ModelRenderer SegmentBFLeft; - ModelRenderer SegmentBBLeft; - - public ModelCraneRail() - { - textureWidth = 64; - textureHeight = 32; - - SegmentBLBack = new ModelRenderer(this, 10, 13); - SegmentBLBack.addBox(0F, 0F, 0F, 1, 1, 4); - SegmentBLBack.setRotationPoint(3F, 19F, 4F); - SegmentBLBack.setTextureSize(64, 32); - SegmentBLBack.mirror = true; - setRotation(SegmentBLBack, 0F, 0F, 0F); - SegmentLUBack = new ModelRenderer(this, 10, 13); - SegmentLUBack.addBox(0F, 0F, 0F, 1, 1, 4); - SegmentLUBack.setRotationPoint(3F, 12F, 4F); - SegmentLUBack.setTextureSize(64, 32); - SegmentLUBack.mirror = true; - setRotation(SegmentLUBack, 0F, 0F, 0F); - SegmentRUBack = new ModelRenderer(this, 10, 13); - SegmentRUBack.addBox(0F, 0F, 0F, 1, 1, 4); - SegmentRUBack.setRotationPoint(-4F, 12F, 4F); - SegmentRUBack.setTextureSize(64, 32); - SegmentRUBack.mirror = true; - setRotation(SegmentRUBack, 0F, 0F, 0F); - SegmentBRBack = new ModelRenderer(this, 10, 13); - SegmentBRBack.addBox(0F, 0F, 0F, 1, 1, 4); - SegmentBRBack.setRotationPoint(-4F, 19F, 4F); - SegmentBRBack.setTextureSize(64, 32); - SegmentBRBack.mirror = true; - setRotation(SegmentBRBack, 0F, 0F, 0F); - SegmentBLFront = new ModelRenderer(this, 10, 13); - SegmentBLFront.addBox(0F, 0F, 0F, 1, 1, 4); - SegmentBLFront.setRotationPoint(3F, 19F, -8F); - SegmentBLFront.setTextureSize(64, 32); - SegmentBLFront.mirror = true; - setRotation(SegmentBLFront, 0F, 0F, 0F); - SegmentLUFront = new ModelRenderer(this, 10, 13); - SegmentLUFront.addBox(0F, 0F, 0F, 1, 1, 4); - SegmentLUFront.setRotationPoint(3F, 12F, -8F); - SegmentLUFront.setTextureSize(64, 32); - SegmentLUFront.mirror = true; - setRotation(SegmentLUFront, 0F, 0F, 0F); - SegmentRUFront = new ModelRenderer(this, 10, 13); - SegmentRUFront.addBox(0F, 0F, 0F, 1, 1, 4); - SegmentRUFront.setRotationPoint(-4F, 12F, -8F); - SegmentRUFront.setTextureSize(64, 32); - SegmentRUFront.mirror = true; - setRotation(SegmentRUFront, 0F, 0F, 0F); - SegmentBRFront = new ModelRenderer(this, 10, 13); - SegmentBRFront.addBox(0F, 0F, 0F, 1, 1, 4); - SegmentBRFront.setRotationPoint(-4F, 19F, -8F); - SegmentBRFront.setTextureSize(64, 32); - SegmentBRFront.mirror = true; - setRotation(SegmentBRFront, 0F, 0F, 0F); - SegmentLBUp = new ModelRenderer(this, 20, 13); - SegmentLBUp.addBox(0F, 0F, 0F, 1, 4, 1); - SegmentLBUp.setRotationPoint(3F, 8F, 3F); - SegmentLBUp.setTextureSize(64, 32); - SegmentLBUp.mirror = true; - setRotation(SegmentLBUp, 0F, 0F, 0F); - SegmentRBUp = new ModelRenderer(this, 20, 13); - SegmentRBUp.addBox(0F, 0F, 0F, 1, 4, 1); - SegmentRBUp.setRotationPoint(-4F, 8F, 3F); - SegmentRBUp.setTextureSize(64, 32); - SegmentRBUp.mirror = true; - setRotation(SegmentRBUp, 0F, 0F, 0F); - SegmentLFUp = new ModelRenderer(this, 20, 13); - SegmentLFUp.addBox(0F, 0F, 0F, 1, 4, 1); - SegmentLFUp.setRotationPoint(3F, 8F, -4F); - SegmentLFUp.setTextureSize(64, 32); - SegmentLFUp.mirror = true; - setRotation(SegmentLFUp, 0F, 0F, 0F); - SegmentRFUp = new ModelRenderer(this, 20, 13); - SegmentRFUp.addBox(0F, 0F, 0F, 1, 4, 1); - SegmentRFUp.setRotationPoint(-4F, 8F, -4F); - SegmentRFUp.setTextureSize(64, 32); - SegmentRFUp.mirror = true; - setRotation(SegmentRFUp, 0F, 0F, 0F); - SegmentUBRight = new ModelRenderer(this, 0, 13); - SegmentUBRight.addBox(0F, 0F, 0F, 4, 1, 1); - SegmentUBRight.setRotationPoint(-8F, 12F, 3F); - SegmentUBRight.setTextureSize(64, 32); - SegmentUBRight.mirror = true; - setRotation(SegmentUBRight, 0F, 0F, 0F); - SegmentBFRight = new ModelRenderer(this, 0, 13); - SegmentBFRight.addBox(0F, 0F, 0F, 4, 1, 1); - SegmentBFRight.setRotationPoint(-8F, 19F, -4F); - SegmentBFRight.setTextureSize(64, 32); - SegmentBFRight.mirror = true; - setRotation(SegmentBFRight, 0F, 0F, 0F); - SegmentUFRight = new ModelRenderer(this, 0, 13); - SegmentUFRight.addBox(0F, 0F, 0F, 4, 1, 1); - SegmentUFRight.setRotationPoint(-8F, 12F, -4F); - SegmentUFRight.setTextureSize(64, 32); - SegmentUFRight.mirror = true; - setRotation(SegmentUFRight, 0F, 0F, 0F); - SegmentBBRight = new ModelRenderer(this, 0, 13); - SegmentBBRight.addBox(0F, 0F, 0F, 4, 1, 1); - SegmentBBRight.setRotationPoint(-8F, 19F, 3F); - SegmentBBRight.setTextureSize(64, 32); - SegmentBBRight.mirror = true; - setRotation(SegmentBBRight, 0F, 0F, 0F); - SegmentLFDown = new ModelRenderer(this, 20, 13); - SegmentLFDown.addBox(0F, 0F, 0F, 1, 4, 1); - SegmentLFDown.setRotationPoint(3F, 20F, -4F); - SegmentLFDown.setTextureSize(64, 32); - SegmentLFDown.mirror = true; - setRotation(SegmentLFDown, 0F, 0F, 0F); - SegmentLBDown = new ModelRenderer(this, 20, 13); - SegmentLBDown.addBox(0F, 0F, 0F, 1, 4, 1); - SegmentLBDown.setRotationPoint(3F, 20F, 3F); - SegmentLBDown.setTextureSize(64, 32); - SegmentLBDown.mirror = true; - setRotation(SegmentLBDown, 0F, 0F, 0F); - SegmentRBDown = new ModelRenderer(this, 20, 13); - SegmentRBDown.addBox(0F, 0F, 0F, 1, 4, 1); - SegmentRBDown.setRotationPoint(-4F, 20F, 3F); - SegmentRBDown.setTextureSize(64, 32); - SegmentRBDown.mirror = true; - setRotation(SegmentRBDown, 0F, 0F, 0F); - FootTop = new ModelRenderer(this, 24, 0); - FootTop.addBox(0F, 0F, 0F, 10, 2, 10); - FootTop.setRotationPoint(-5F, 20F, -5F); - FootTop.setTextureSize(64, 32); - FootTop.mirror = true; - setRotation(FootTop, 0F, 0F, 0F); - SegmentRFDown = new ModelRenderer(this, 20, 13); - SegmentRFDown.addBox(0F, 0F, 0F, 1, 4, 1); - SegmentRFDown.setRotationPoint(-4F, 20F, -4F); - SegmentRFDown.setTextureSize(64, 32); - SegmentRFDown.mirror = true; - setRotation(SegmentRFDown, 0F, 0F, 0F); - FootBottom = new ModelRenderer(this, 0, 18); - FootBottom.addBox(0F, 0F, 0F, 12, 2, 12); - FootBottom.setRotationPoint(-6F, 22F, -6F); - FootBottom.setTextureSize(64, 32); - FootBottom.mirror = true; - setRotation(FootBottom, 0F, 0F, 0F); - SegmentBFMid = new ModelRenderer(this, 30, 12); - SegmentBFMid.addBox(0F, 0F, 0F, 8, 1, 1); - SegmentBFMid.setRotationPoint(-4F, 19F, -4F); - SegmentBFMid.setTextureSize(64, 32); - SegmentBFMid.mirror = true; - setRotation(SegmentBFMid, 0F, 0F, 0F); - SegmentUBMid = new ModelRenderer(this, 30, 12); - SegmentUBMid.addBox(0F, 0F, 0F, 8, 1, 1); - SegmentUBMid.setRotationPoint(-4F, 12F, 3F); - SegmentUBMid.setTextureSize(64, 32); - SegmentUBMid.mirror = true; - setRotation(SegmentUBMid, 0F, 0F, 0F); - SegmentBBMid = new ModelRenderer(this, 30, 12); - SegmentBBMid.addBox(0F, 0F, 0F, 8, 1, 1); - SegmentBBMid.setRotationPoint(-4F, 19F, 3F); - SegmentBBMid.setTextureSize(64, 32); - SegmentBBMid.mirror = true; - setRotation(SegmentBBMid, 0F, 0F, 0F); - SegmentUFMid = new ModelRenderer(this, 30, 12); - SegmentUFMid.addBox(0F, 0F, 0F, 8, 1, 1); - SegmentUFMid.setRotationPoint(-4F, 12F, -4F); - SegmentUFMid.setTextureSize(64, 32); - SegmentUFMid.mirror = true; - setRotation(SegmentUFMid, 0F, 0F, 0F); - SegmentLBMid = new ModelRenderer(this, 48, 19); - SegmentLBMid.addBox(0F, 0F, 0F, 1, 6, 1); - SegmentLBMid.setRotationPoint(3F, 13F, 3F); - SegmentLBMid.setTextureSize(64, 32); - SegmentLBMid.mirror = true; - setRotation(SegmentLBMid, 0F, 0F, 0F); - SegmentLFMid = new ModelRenderer(this, 48, 19); - SegmentLFMid.addBox(0F, 0F, 0F, 1, 6, 1); - SegmentLFMid.setRotationPoint(3F, 13F, -4F); - SegmentLFMid.setTextureSize(64, 32); - SegmentLFMid.mirror = true; - setRotation(SegmentLFMid, 0F, 0F, 0F); - SegmentRBMid = new ModelRenderer(this, 48, 19); - SegmentRBMid.addBox(0F, 0F, 0F, 1, 6, 1); - SegmentRBMid.setRotationPoint(-4F, 13F, 3F); - SegmentRBMid.setTextureSize(64, 32); - SegmentRBMid.mirror = true; - setRotation(SegmentRBMid, 0F, 0F, 0F); - SegmentRFMid = new ModelRenderer(this, 48, 19); - SegmentRFMid.addBox(0F, 0F, 0F, 1, 6, 1); - SegmentRFMid.setRotationPoint(-4F, 13F, -4F); - SegmentRFMid.setTextureSize(64, 32); - SegmentRFMid.mirror = true; - setRotation(SegmentRFMid, 0F, 0F, 0F); - SegmentMidDiag4.mirror = true; - SegmentMidDiag4 = new ModelRenderer(this, 0, 0); - SegmentMidDiag4.addBox(0F, 0F, 0F, 1, 1, 10); - SegmentMidDiag4.setRotationPoint(-3.99F, 12F, -3F); - SegmentMidDiag4.setTextureSize(64, 32); - SegmentMidDiag4.mirror = true; - setRotation(SegmentMidDiag4, -0.7853982F, 0F, 0F); - SegmentMidDiag4.mirror = false; - SegmentRUMid = new ModelRenderer(this, 48, 12); - SegmentRUMid.addBox(0F, 0F, 0F, 1, 1, 6); - SegmentRUMid.setRotationPoint(-4F, 12F, -3F); - SegmentRUMid.setTextureSize(64, 32); - SegmentRUMid.mirror = true; - setRotation(SegmentRUMid, 0F, 0F, 0F); - SegmentBRMid = new ModelRenderer(this, 48, 12); - SegmentBRMid.addBox(0F, 0F, 0F, 1, 1, 6); - SegmentBRMid.setRotationPoint(-4F, 19F, -3F); - SegmentBRMid.setTextureSize(64, 32); - SegmentBRMid.mirror = true; - setRotation(SegmentBRMid, 0F, 0F, 0F); - SegmentBLMid = new ModelRenderer(this, 48, 12); - SegmentBLMid.addBox(0F, 0F, 0F, 1, 1, 6); - SegmentBLMid.setRotationPoint(3F, 19F, -3F); - SegmentBLMid.setTextureSize(64, 32); - SegmentBLMid.mirror = true; - setRotation(SegmentBLMid, 0F, 0F, 0F); - SegmentLUMid = new ModelRenderer(this, 48, 12); - SegmentLUMid.addBox(0F, 0F, 0F, 1, 1, 6); - SegmentLUMid.setRotationPoint(3F, 12F, -3F); - SegmentLUMid.setTextureSize(64, 32); - SegmentLUMid.mirror = true; - setRotation(SegmentLUMid, 0F, 0F, 0F); - SegmentMidDiag3 = new ModelRenderer(this, 0, 0); - SegmentMidDiag3.addBox(0F, 0F, 0F, 1, 1, 10); - SegmentMidDiag3.setRotationPoint(-4F, 19F, -4F); - SegmentMidDiag3.setTextureSize(64, 32); - SegmentMidDiag3.mirror = true; - setRotation(SegmentMidDiag3, 0.7853982F, 0F, 0F); - SegmentMidDiag7 = new ModelRenderer(this, 0, 0); - SegmentMidDiag7.addBox(0F, 0F, 0F, 1, 1, 10); - SegmentMidDiag7.setRotationPoint(-2.99F, 12F, 4F); - SegmentMidDiag7.setTextureSize(64, 32); - SegmentMidDiag7.mirror = true; - setRotation(SegmentMidDiag7, -0.7853982F, 1.570796F, 0F); - SegmentMidDiag8 = new ModelRenderer(this, 0, 0); - SegmentMidDiag8.addBox(0F, 0F, 0F, 1, 1, 10); - SegmentMidDiag8.setRotationPoint(-4F, 19F, 4F); - SegmentMidDiag8.setTextureSize(64, 32); - SegmentMidDiag8.mirror = true; - setRotation(SegmentMidDiag8, 0.7853982F, 1.570796F, 0F); - SegmentMidDiag1 = new ModelRenderer(this, 0, 0); - SegmentMidDiag1.addBox(0F, 0F, 0F, 1, 1, 10); - SegmentMidDiag1.setRotationPoint(3F, 19F, -4F); - SegmentMidDiag1.setTextureSize(64, 32); - SegmentMidDiag1.mirror = true; - setRotation(SegmentMidDiag1, 0.7853982F, 0F, 0F); - SegmentMidDiag2 = new ModelRenderer(this, 0, 0); - SegmentMidDiag2.addBox(0F, 0F, 0F, 1, 1, 10); - SegmentMidDiag2.setRotationPoint(3.01F, 12F, -3F); - SegmentMidDiag2.setTextureSize(64, 32); - SegmentMidDiag2.mirror = true; - setRotation(SegmentMidDiag2, -0.7853982F, 0F, 0F); - SegmentMidDiag6 = new ModelRenderer(this, 0, 0); - SegmentMidDiag6.addBox(0F, 0F, 0F, 1, 1, 10); - SegmentMidDiag6.setRotationPoint(-4F, 19F, -3F); - SegmentMidDiag6.setTextureSize(64, 32); - SegmentMidDiag6.mirror = true; - setRotation(SegmentMidDiag6, 0.7853982F, 1.570796F, 0F); - SegmentMidDiag5 = new ModelRenderer(this, 0, 0); - SegmentMidDiag5.addBox(0F, 0F, 0F, 1, 1, 10); - SegmentMidDiag5.setRotationPoint(-2.99F, 12F, -3F); - SegmentMidDiag5.setTextureSize(64, 32); - SegmentMidDiag5.mirror = true; - setRotation(SegmentMidDiag5, -0.7853982F, 1.570796F, 0F); - SegmentUBLeft = new ModelRenderer(this, 0, 13); - SegmentUBLeft.addBox(0F, 0F, 0F, 4, 1, 1); - SegmentUBLeft.setRotationPoint(4F, 12F, 3F); - SegmentUBLeft.setTextureSize(64, 32); - SegmentUBLeft.mirror = true; - setRotation(SegmentUBLeft, 0F, 0F, 0F); - SegmentUFLeft = new ModelRenderer(this, 0, 13); - SegmentUFLeft.addBox(0F, 0F, 0F, 4, 1, 1); - SegmentUFLeft.setRotationPoint(4F, 12F, -4F); - SegmentUFLeft.setTextureSize(64, 32); - SegmentUFLeft.mirror = true; - setRotation(SegmentUFLeft, 0F, 0F, 0F); - SegmentBFLeft = new ModelRenderer(this, 0, 13); - SegmentBFLeft.addBox(0F, 0F, 0F, 4, 1, 1); - SegmentBFLeft.setRotationPoint(4F, 19F, -4F); - SegmentBFLeft.setTextureSize(64, 32); - SegmentBFLeft.mirror = true; - setRotation(SegmentBFLeft, 0F, 0F, 0F); - SegmentBBLeft = new ModelRenderer(this, 0, 13); - SegmentBBLeft.addBox(0F, 0F, 0F, 4, 1, 1); - SegmentBBLeft.setRotationPoint(4F, 19F, 3F); - SegmentBBLeft.setTextureSize(64, 32); - SegmentBBLeft.mirror = true; - setRotation(SegmentBBLeft, 0F, 0F, 0F); - } - - 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); - SegmentBLBack.render(f5); - SegmentLUBack.render(f5); - SegmentRUBack.render(f5); - SegmentBRBack.render(f5); - SegmentBLFront.render(f5); - SegmentLUFront.render(f5); - SegmentRUFront.render(f5); - SegmentBRFront.render(f5); - SegmentLBUp.render(f5); - SegmentRBUp.render(f5); - SegmentLFUp.render(f5); - SegmentRFUp.render(f5); - SegmentUBRight.render(f5); - SegmentBFRight.render(f5); - SegmentUFRight.render(f5); - SegmentBBRight.render(f5); - SegmentLFDown.render(f5); - SegmentLBDown.render(f5); - SegmentRBDown.render(f5); - FootTop.render(f5); - SegmentRFDown.render(f5); - FootBottom.render(f5); - SegmentBFMid.render(f5); - SegmentUBMid.render(f5); - SegmentBBMid.render(f5); - SegmentUFMid.render(f5); - SegmentLBMid.render(f5); - SegmentLFMid.render(f5); - SegmentRBMid.render(f5); - SegmentRFMid.render(f5); - SegmentMidDiag4.render(f5); - SegmentRUMid.render(f5); - SegmentBRMid.render(f5); - SegmentBLMid.render(f5); - SegmentLUMid.render(f5); - SegmentMidDiag3.render(f5); - SegmentMidDiag7.render(f5); - SegmentMidDiag8.render(f5); - SegmentMidDiag1.render(f5); - SegmentMidDiag2.render(f5); - SegmentMidDiag6.render(f5); - SegmentMidDiag5.render(f5); - SegmentUBLeft.render(f5); - SegmentUFLeft.render(f5); - SegmentBFLeft.render(f5); - SegmentBBLeft.render(f5); - } - - private void setRotation(ModelRenderer model, float x, float y, float z) - { - model.rotateAngleX = x; - model.rotateAngleY = y; - model.rotateAngleZ = z; - } - - public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5) - { - super.setRotationAngles(f, f1, f2, f3, f4, f5); - } - -} diff --git a/resources/assemblyline/textures/crane_frame.png b/resources/assemblyline/textures/crane_frame.png new file mode 100644 index 0000000000000000000000000000000000000000..280107ac9f9d67f3ecdc82e24bfee735b4b4f5f2 GIT binary patch literal 2982 zcmV;X3t9AuP)VGd000McNliru-2w~?4F`4oO@;sf3o}VX zK~#9!?VVe18^;yLe=~a}DN+(CDNf=zaSIr2jRZx4pzv#eKDnp^xM+)hfFNHYfQx>K z!XKb0iW*2!^dT>OEBeyjx^%p^jRpIg}`!UfjaZNe}q1TRmKMchEsvPO<&lE4r9lNRE2yXo%&fAGr2Wf%rpD>~1f(tWl~ z6of1-wWwBI6foaxp>>=)-l?|$LEz&!?%-H9k%naB$vU;UIV$yf-(=fFQAp$mX`C=L zE-58R9JAHyvDNEg7zW@Wgv1accf3=t002rQ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`K8eHUIzs literal 0 HcmV?d00001 diff --git a/resources/assemblyline/textures/crane_rail.png b/resources/assemblyline/textures/crane_rail.png deleted file mode 100644 index 567cfebc4346415582b9c2ac4d1596b1d6eddc69..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 718 zcmV;<0x|uGP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0%J);K~!i%?N~og z!ax+i^E0>@9jNgWkT}qhiRj{oz=VXxjloG=bYL?ONM!XRm@pA07<43YF_gtc2fl&l zz1GwA=%05SZQ7IzFKLta_s4s8*B>R=RVR!bapg9lSQ8~Z@Q+!L17;!f+{5@vL&v_i z8GB?zNX4iG0@6S0Gj_xExY$=V4z!2@G6R5dZBX;hWP{0o(Mw8Z_AIp1%%REXEhVG( zk@kO+830r&nbxNiI-qgdpq0bmPQm)iB>?^ z-gtKkXmwg-N0I;!xdX7@TudHI{S-?e~fdr9O6CVH^F#cff|Je zAQHE@`+wZMKkB}ZJhj{okQ0#u2L*}>fCvtq0b>=lpxxbZidycdtt~_jj*Z)*9iQ+Q z_(>v#fB^0F?1aC69~;h&u31QavfDkrt#JffKH)F$lSDV8Y}yz87(@dAt?d;urH~c%95mmGhlGwIjneLGkD=F4`*;d7OMr( zB{95B<8;99IBqh6$^dL*!e<}hbk{cgtN2I-0HCe}ky$;iDvzB?L8`i`0N@<~cm`%y zHPNK>QvpCue*QU6svc#(sQ};|f!axp=<;~VRYn-7&tt~!0lHwM(gC_jCTYI|AW3xd z;2X^eielnO47q45hbQdf2@p9#2qA(*zwjgQ1065u!KUnD=>Px#07*qoM6N<$f)n9A AXaE2J diff --git a/src/minecraft/assemblyline/client/ClientProxy.java b/src/minecraft/assemblyline/client/ClientProxy.java index 59aa808bb..566a2ba27 100644 --- a/src/minecraft/assemblyline/client/ClientProxy.java +++ b/src/minecraft/assemblyline/client/ClientProxy.java @@ -12,7 +12,7 @@ import assemblyline.client.render.BlockRenderingHandler; import assemblyline.client.render.RenderArmbot; import assemblyline.client.render.RenderConveyorBelt; import assemblyline.client.render.RenderCraneController; -import assemblyline.client.render.RenderCraneRail; +import assemblyline.client.render.RenderCraneFrame; import assemblyline.client.render.RenderCrate; import assemblyline.client.render.RenderDetector; import assemblyline.client.render.RenderManipulator; @@ -55,7 +55,7 @@ public class ClientProxy extends CommonProxy ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCrate.class, new RenderCrate()); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityArmbot.class, new RenderArmbot()); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCraneController.class, new RenderCraneController()); - ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCraneRail.class, new RenderCraneRail()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCraneRail.class, new RenderCraneFrame()); } @Override diff --git a/src/minecraft/assemblyline/client/render/BlockRenderingHandler.java b/src/minecraft/assemblyline/client/render/BlockRenderingHandler.java index c7479b28e..94f586031 100644 --- a/src/minecraft/assemblyline/client/render/BlockRenderingHandler.java +++ b/src/minecraft/assemblyline/client/render/BlockRenderingHandler.java @@ -86,12 +86,12 @@ public class BlockRenderingHandler implements ISimpleBlockRenderingHandler } else if (block.blockID == AssemblyLine.blockCraneFrame.blockID) { - GL11.glBindTexture(GL11.GL_TEXTURE_2D, FMLClientHandler.instance().getClient().renderEngine.getTexture(AssemblyLine.TEXTURE_PATH + RenderCraneRail.TEXTURE)); + GL11.glBindTexture(GL11.GL_TEXTURE_2D, FMLClientHandler.instance().getClient().renderEngine.getTexture(AssemblyLine.TEXTURE_PATH + RenderCraneFrame.TEXTURE)); GL11.glPushMatrix(); GL11.glTranslatef(0f, 1f, 0f); GL11.glRotatef(180f, 0f, 0f, 1f); GL11.glRotatef(-90f, 0f, 1f, 0f); - RenderCraneRail.MODEL.render(true, true, false, false, false, false, false); + RenderCraneFrame.MODEL.render(true, true, false, false, false, false, false); GL11.glPopMatrix(); } } diff --git a/src/minecraft/assemblyline/client/render/RenderCraneRail.java b/src/minecraft/assemblyline/client/render/RenderCraneFrame.java similarity index 91% rename from src/minecraft/assemblyline/client/render/RenderCraneRail.java rename to src/minecraft/assemblyline/client/render/RenderCraneFrame.java index 156d7ed4b..063dd1662 100644 --- a/src/minecraft/assemblyline/client/render/RenderCraneRail.java +++ b/src/minecraft/assemblyline/client/render/RenderCraneFrame.java @@ -6,6 +6,7 @@ import static org.lwjgl.opengl.GL11.glPopMatrix; import static org.lwjgl.opengl.GL11.glPushMatrix; import static org.lwjgl.opengl.GL11.glRotatef; import static org.lwjgl.opengl.GL11.glTranslated; +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.common.ForgeDirection; import assemblyline.client.model.ModelCraneRail; @@ -13,9 +14,9 @@ import assemblyline.common.AssemblyLine; import assemblyline.common.machine.crane.CraneHelper; import assemblyline.common.machine.crane.TileEntityCraneRail; -public class RenderCraneRail extends RenderImprintable +public class RenderCraneFrame extends TileEntitySpecialRenderer { - public static final String TEXTURE = "crane_rail.png"; + public static final String TEXTURE = "crane_frame.png"; public static final ModelCraneRail MODEL = new ModelCraneRail(); @Override