diff options
| author | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2015-02-21 21:31:16 +0000 |
|---|---|---|
| committer | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2015-02-21 21:31:16 +0000 |
| commit | 420faddca46e70e3a70def168fb4e452ef193b0d (patch) | |
| tree | 247e334012e4bf9e4fa6d42718bf601ce6bd42d9 /java/darkknight/jewelrycraft/model/ModelMolder.java | |
| parent | 3f4c717de5ebc9b942d65ae45ac87c43bdf8a31b (diff) | |
Added just a butt ton of stuff, also thanks to pau101 for helping me with the Hand Pedestal animation :)
Diffstat (limited to 'java/darkknight/jewelrycraft/model/ModelMolder.java')
| -rw-r--r-- | java/darkknight/jewelrycraft/model/ModelMolder.java | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/java/darkknight/jewelrycraft/model/ModelMolder.java b/java/darkknight/jewelrycraft/model/ModelMolder.java index 9e719ea..f2bc335 100644 --- a/java/darkknight/jewelrycraft/model/ModelMolder.java +++ b/java/darkknight/jewelrycraft/model/ModelMolder.java @@ -13,11 +13,13 @@ public class ModelMolder extends ModelBase ModelRenderer Side2; ModelRenderer Side3; + /** + * + */ public ModelMolder() { textureWidth = 64; textureHeight = 32; - Base = new ModelRenderer(this, 0, 0); Base.addBox(0F, 0F, 0F, 10, 1, 10); Base.setRotationPoint(-5F, 23F, -5F); @@ -50,6 +52,16 @@ public class ModelMolder extends ModelBase setRotation(Side3, 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); @@ -61,6 +73,12 @@ public class ModelMolder extends ModelBase Side3.render(f5); } + /** + * @param model + * @param x + * @param y + * @param z + */ private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; @@ -68,9 +86,16 @@ public class ModelMolder 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); } - } |
