From 420faddca46e70e3a70def168fb4e452ef193b0d Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Sat, 21 Feb 2015 21:31:16 +0000 Subject: Added just a butt ton of stuff, also thanks to pau101 for helping me with the Hand Pedestal animation :) --- .../jewelrycraft/model/ModelSmelter.java | 29 ++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'java/darkknight/jewelrycraft/model/ModelSmelter.java') diff --git a/java/darkknight/jewelrycraft/model/ModelSmelter.java b/java/darkknight/jewelrycraft/model/ModelSmelter.java index 8abcd3d..8fc9c11 100644 --- a/java/darkknight/jewelrycraft/model/ModelSmelter.java +++ b/java/darkknight/jewelrycraft/model/ModelSmelter.java @@ -38,11 +38,13 @@ public class ModelSmelter extends ModelBase ModelRenderer HeatSourceSide11; ModelRenderer HeatSourceSide12; + /** + * + */ public ModelSmelter() { textureWidth = 64; textureHeight = 32; - Support1 = new ModelRenderer(this, 0, 0); Support1.addBox(0F, 0F, 0F, 2, 15, 3); Support1.setRotationPoint(6F, 9F, -1F); @@ -225,6 +227,16 @@ public class ModelSmelter extends ModelBase setRotation(HeatSourceSide12, 0F, 0F, 0F); } + /** + * @param entity + * @param f + * @param f1 + * @param f2 + * @param f3 + * @param f4 + * @param f5 + */ + @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); @@ -261,6 +273,12 @@ public class ModelSmelter extends ModelBase HeatSourceSide12.render(f5); } + /** + * @param model + * @param x + * @param y + * @param z + */ private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; @@ -268,9 +286,16 @@ public class ModelSmelter extends ModelBase model.rotateAngleZ = z; } + /** + * @param f + * @param f1 + * @param f2 + * @param f3 + * @param f4 + * @param f5 + */ public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5) { super.setRotationAngles(f, f1, f2, f3, f4, f5, null); } - } -- cgit v1.2.3