package mhfc.net.client.model.weapon.hammer; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelHDeviljho extends ModelBase { ModelRenderer Shape1; ModelRenderer Shape2; ModelRenderer Shape2a; ModelRenderer Shape2b; ModelRenderer Shape2c; ModelRenderer Shape2d; ModelRenderer Shape2e; ModelRenderer Shape2f; ModelRenderer Shape2g; ModelRenderer Shape2h; ModelRenderer Shape2j; ModelRenderer Shape2k; ModelRenderer Shape2l; ModelRenderer Shape2m; ModelRenderer Shape2n; ModelRenderer Shape2o; ModelRenderer Shape2p; ModelRenderer Shape2q; ModelRenderer Shape2r; ModelRenderer Shape2s; ModelRenderer Shape2t; ModelRenderer Shape2u; ModelRenderer Shape2v; ModelRenderer Shape2w; ModelRenderer Shape2x; ModelRenderer Shape2y; ModelRenderer Shape2z; ModelRenderer Shape2ab; ModelRenderer Shape2cd; ModelRenderer Shape2ef; ModelRenderer Shape2gh; ModelRenderer Shape2ij; ModelRenderer Shape2kl; ModelRenderer Shape2mn; ModelRenderer Shape2op; ModelRenderer Shape2qw; ModelRenderer Shape2st; ModelRenderer Shape2uv; ModelRenderer Shape2wx; ModelRenderer Shape2yx; ModelRenderer Shape2qr; ModelRenderer Shape2fa; public ModelHDeviljho() { textureWidth = 64; textureHeight = 64; Shape1 = new ModelRenderer(this, 26, 37); Shape1.addBox(0F, 0F, 0F, 1, 13, 1); Shape1.setRotationPoint(0F, 5F, 0F); Shape1.setTextureSize(64, 64); Shape1.mirror = true; setRotation(Shape1, 0F, 1.570796F, 0F); Shape2 = new ModelRenderer(this, 18, 37); Shape2.addBox(-1F, -0.5F, -1F, 2, 1, 2); Shape2.setRotationPoint(0.5F, 6F, -0.5F); Shape2.setTextureSize(64, 64); Shape2.mirror = true; setRotation(Shape2, 0F, 0F, -0.0872665F); Shape2a = new ModelRenderer(this, 18, 37); Shape2a.addBox(-1F, -0.5F, -1F, 2, 1, 2); Shape2a.setRotationPoint(0.5F, 17F, -0.5F); Shape2a.setTextureSize(64, 64); Shape2a.mirror = true; setRotation(Shape2a, -0.0872665F, 0.7853982F, 0.0872665F); Shape2b = new ModelRenderer(this, 18, 37); Shape2b.addBox(-1F, -0.5F, -1F, 2, 1, 2); Shape2b.setRotationPoint(0.5F, 15F, -0.5F); Shape2b.setTextureSize(64, 64); Shape2b.mirror = true; setRotation(Shape2b, 0F, 0.7853982F, 0F); Shape2c = new ModelRenderer(this, 22, 17); Shape2c.addBox(-2.5F, -2F, -3F, 3, 3, 6); Shape2c.setRotationPoint(5F, 3.3F, -0.5F); Shape2c.setTextureSize(64, 64); Shape2c.mirror = true; setRotation(Shape2c, 0F, 0F, -0.7853982F); Shape2d = new ModelRenderer(this, 18, 37); Shape2d.addBox(-1F, -0.5F, -1F, 2, 1, 2); Shape2d.setRotationPoint(0.5F, 9.5F, -0.5F); Shape2d.setTextureSize(64, 64); Shape2d.mirror = true; setRotation(Shape2d, 0F, 0F, 0.3490659F); Shape2e = new ModelRenderer(this, 1, 38); Shape2e.addBox(-6F, -0.5F, -0.5F, 6, 1, 1); Shape2e.setRotationPoint(0.5F, 11.5F, -0.5F); Shape2e.setTextureSize(64, 64); Shape2e.mirror = true; setRotation(Shape2e, 0F, 0.0174533F, 1.047198F); Shape2f = new ModelRenderer(this, 0, 51); Shape2f.addBox(-3.5F, -3F, -3.5F, 8, 6, 7); Shape2f.setRotationPoint(-5.5F, 5F, -0.5F); Shape2f.setTextureSize(64, 64); Shape2f.mirror = true; setRotation(Shape2f, 0F, 0F, 0.7853982F); Shape2g = new ModelRenderer(this, 31, 43); Shape2g.addBox(-3.5F, -1.5F, -2.5F, 3, 4, 5); Shape2g.setRotationPoint(-2F, -2.5F, -0.5F); Shape2g.setTextureSize(64, 64); Shape2g.mirror = true; setRotation(Shape2g, -0.0174533F, 0F, -1.570796F); Shape2h = new ModelRenderer(this, 1, 24); Shape2h.addBox(-1.5F, -1.5F, 0F, 5, 3, 3); Shape2h.setRotationPoint(1.5F, -2.3F, -0.5F); Shape2h.setTextureSize(64, 64); Shape2h.mirror = true; setRotation(Shape2h, 0F, 0.1745329F, 0.4363323F); Shape2j = new ModelRenderer(this, 31, 53); Shape2j.addBox(-4.5F, -1.5F, -2.5F, 9, 6, 5); Shape2j.setRotationPoint(-1.5F, 0.7F, -0.5F); Shape2j.setTextureSize(64, 64); Shape2j.mirror = true; setRotation(Shape2j, 0F, 0F, -0.5235988F); Shape2k = new ModelRenderer(this, 1, 17); Shape2k.addBox(-3.5F, -1.5F, 0F, 7, 3, 3); Shape2k.setRotationPoint(0.3F, 4F, -0.5F); Shape2k.setTextureSize(64, 64); Shape2k.mirror = true; setRotation(Shape2k, 0F, 0.0872665F, -0.1745329F); Shape2l = new ModelRenderer(this, 1, 31); Shape2l.addBox(-1.5F, -1.5F, -3F, 5, 3, 3); Shape2l.setRotationPoint(1.5F, -2.3F, -0.5F); Shape2l.setTextureSize(64, 64); Shape2l.mirror = true; setRotation(Shape2l, 0F, -0.1745329F, 0.4363323F); Shape2m = new ModelRenderer(this, 5, 6); Shape2m.addBox(-1.5F, -1.5F, 0F, 3, 3, 2); Shape2m.setRotationPoint(-1F, 0.7F, 0.5F); Shape2m.setTextureSize(64, 64); Shape2m.mirror = true; setRotation(Shape2m, 0F, 0F, 1.134464F); Shape2n = new ModelRenderer(this, 0, 40); Shape2n.addBox(-3.5F, -2F, -3.5F, 6, 4, 7); Shape2n.setRotationPoint(-1F, -3.3F, -0.5F); Shape2n.setTextureSize(64, 64); Shape2n.mirror = true; setRotation(Shape2n, 0F, 0F, -0.2617994F); Shape2o = new ModelRenderer(this, 48, 25); Shape2o.addBox(-2.7F, -1.8F, -3.5F, 1, 10, 7); Shape2o.setRotationPoint(4F, -3F, -0.5F); Shape2o.setTextureSize(64, 64); Shape2o.mirror = true; setRotation(Shape2o, 0F, 0F, -0.1745329F); Shape2p = new ModelRenderer(this, 1, 17); Shape2p.addBox(-3.5F, -1.5F, -3F, 7, 3, 3); Shape2p.setRotationPoint(2.220446E-16F, 4F, -0.5F); Shape2p.setTextureSize(64, 64); Shape2p.mirror = true; setRotation(Shape2p, 0F, -0.0872665F, -0.1745329F); Shape2q = new ModelRenderer(this, 14, 1); Shape2q.addBox(-2.5F, -0.5F, -0.5F, 2, 1, 1); Shape2q.setRotationPoint(-5F, 8F, -0.5F); Shape2q.setTextureSize(64, 64); Shape2q.mirror = true; setRotation(Shape2q, 0F, 0F, -0.9948377F); Shape2r = new ModelRenderer(this, 5, 6); Shape2r.addBox(-1.5F, -1.5F, -3F, 3, 3, 2); Shape2r.setRotationPoint(-1F, 0.7F, -0.5F); Shape2r.setTextureSize(64, 64); Shape2r.mirror = true; setRotation(Shape2r, 0F, 0F, 1.134464F); Shape2s = new ModelRenderer(this, 8, 2); Shape2s.addBox(-2F, -0.5F, -0.5F, 2, 1, 1); Shape2s.setRotationPoint(-1.5F, -4.7F, -0.5F); Shape2s.setTextureSize(64, 64); Shape2s.mirror = true; setRotation(Shape2s, 0F, 0F, 1.396263F); Shape2t = new ModelRenderer(this, 8, 2); Shape2t.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2t.setRotationPoint(-7F, 7F, 2.5F); Shape2t.setTextureSize(64, 64); Shape2t.mirror = true; setRotation(Shape2t, 0F, 0.7853982F, -0.5235988F); Shape2u = new ModelRenderer(this, 8, 2); Shape2u.addBox(-2F, -1F, -1F, 3, 2, 2); Shape2u.setRotationPoint(-7F, 2F, -0.5F); Shape2u.setTextureSize(64, 64); Shape2u.mirror = true; setRotation(Shape2u, 0F, 0F, 0.1745329F); Shape2v = new ModelRenderer(this, 1, 1); Shape2v.addBox(-2F, -1F, -1F, 3, 2, 2); Shape2v.setRotationPoint(-9F, 5F, -0.5F); Shape2v.setTextureSize(64, 64); Shape2v.mirror = true; setRotation(Shape2v, 0F, 0F, -0.0872665F); Shape2w = new ModelRenderer(this, 1, 1); Shape2w.addBox(-1.2F, -1F, -1F, 2, 2, 2); Shape2w.setRotationPoint(-7F, 7F, -0.5F); Shape2w.setTextureSize(64, 64); Shape2w.mirror = true; setRotation(Shape2w, 0F, 0F, -0.5235988F); Shape2x = new ModelRenderer(this, 1, 1); Shape2x.addBox(-2.5F, -0.5F, -0.5F, 2, 1, 1); Shape2x.setRotationPoint(-7F, 7F, -0.5F); Shape2x.setTextureSize(64, 64); Shape2x.mirror = true; setRotation(Shape2x, 0.7853982F, 0F, -0.5235988F); Shape2y = new ModelRenderer(this, 1, 1); Shape2y.addBox(-2.5F, -0.5F, -0.5F, 2, 1, 1); Shape2y.setRotationPoint(-7F, 2F, -0.5F); Shape2y.setTextureSize(64, 64); Shape2y.mirror = true; setRotation(Shape2y, 0.7853982F, 0F, 0.1745329F); Shape2z = new ModelRenderer(this, 14, 1); Shape2z.addBox(-2F, -0.5F, -0.5F, 2, 1, 1); Shape2z.setRotationPoint(-4F, -4F, -0.5F); Shape2z.setTextureSize(64, 64); Shape2z.mirror = true; setRotation(Shape2z, 0F, 0F, 0.5235988F); Shape2ab = new ModelRenderer(this, 1, 1); Shape2ab.addBox(-1F, -0.5F, -0.5F, 2, 1, 1); Shape2ab.setRotationPoint(-2F, -4.5F, 2.5F); Shape2ab.setTextureSize(64, 64); Shape2ab.mirror = true; setRotation(Shape2ab, 0F, 1.22173F, 0F); Shape2cd = new ModelRenderer(this, 1, 1); Shape2cd.addBox(-2.5F, -0.5F, -0.5F, 2, 1, 1); Shape2cd.setRotationPoint(-9F, 5F, -0.5F); Shape2cd.setTextureSize(64, 64); Shape2cd.mirror = true; setRotation(Shape2cd, 0.7853982F, 0F, -0.0872665F); Shape2ef = new ModelRenderer(this, 1, 1); Shape2ef.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2ef.setRotationPoint(-9F, 5F, 2.5F); Shape2ef.setTextureSize(64, 64); Shape2ef.mirror = true; setRotation(Shape2ef, 0F, 0.7853982F, 0F); Shape2gh = new ModelRenderer(this, 1, 1); Shape2gh.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2gh.setRotationPoint(-9F, 5F, -3.5F); Shape2gh.setTextureSize(64, 64); Shape2gh.mirror = true; setRotation(Shape2gh, 0F, -0.7853982F, 0F); Shape2ij = new ModelRenderer(this, 1, 1); Shape2ij.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2ij.setRotationPoint(-7F, 7F, -3.5F); Shape2ij.setTextureSize(64, 64); Shape2ij.mirror = true; setRotation(Shape2ij, 0F, -0.7853982F, -0.5235988F); Shape2kl = new ModelRenderer(this, 1, 1); Shape2kl.addBox(-2F, -0.5F, -0.5F, 2, 1, 1); Shape2kl.setRotationPoint(-3F, -4.7F, -0.5F); Shape2kl.setTextureSize(64, 64); Shape2kl.mirror = true; setRotation(Shape2kl, 0F, 0F, 0.9599311F); Shape2mn = new ModelRenderer(this, 1, 1); Shape2mn.addBox(-1F, -0.5F, -0.5F, 2, 1, 1); Shape2mn.setRotationPoint(-4F, -4F, 2.5F); Shape2mn.setTextureSize(64, 64); Shape2mn.mirror = true; setRotation(Shape2mn, 0F, 0.7853982F, 0F); Shape2op = new ModelRenderer(this, 14, 1); Shape2op.addBox(-1F, -0.5F, -0.5F, 2, 1, 1); Shape2op.setRotationPoint(-1.8F, 0.5F, 2.5F); Shape2op.setTextureSize(64, 64); Shape2op.mirror = true; setRotation(Shape2op, 0F, 1.047198F, 0F); Shape2qw = new ModelRenderer(this, 1, 1); Shape2qw.addBox(-1F, -0.5F, -0.5F, 2, 1, 1); Shape2qw.setRotationPoint(-4F, -4F, -3.5F); Shape2qw.setTextureSize(64, 64); Shape2qw.mirror = true; setRotation(Shape2qw, 0F, -0.7853982F, 0F); Shape2st = new ModelRenderer(this, 14, 1); Shape2st.addBox(-1F, -0.5F, -0.5F, 2, 1, 1); Shape2st.setRotationPoint(-2F, -4.5F, -3.5F); Shape2st.setTextureSize(64, 64); Shape2st.mirror = true; setRotation(Shape2st, 0F, -1.22173F, 0F); Shape2uv = new ModelRenderer(this, 1, 1); Shape2uv.addBox(-1F, -0.5F, -0.5F, 2, 1, 1); Shape2uv.setRotationPoint(-0.7F, -0.3F, 2.5F); Shape2uv.setTextureSize(64, 64); Shape2uv.mirror = true; setRotation(Shape2uv, 0F, 1.396263F, 0F); Shape2wx = new ModelRenderer(this, 1, 1); Shape2wx.addBox(-1F, -0.5F, -0.5F, 2, 1, 1); Shape2wx.setRotationPoint(-1.8F, 0.5F, -3.5F); Shape2wx.setTextureSize(64, 64); Shape2wx.mirror = true; setRotation(Shape2wx, 0F, -1.047198F, 0F); Shape2yx = new ModelRenderer(this, 14, 1); Shape2yx.addBox(-1F, -0.5F, -0.5F, 2, 1, 1); Shape2yx.setRotationPoint(-0.7F, -0.3F, -3.5F); Shape2yx.setTextureSize(64, 64); Shape2yx.mirror = true; setRotation(Shape2yx, 0F, -1.396263F, 0F); Shape2qr = new ModelRenderer(this, 17, 27); Shape2qr.addBox(-2.5F, -2F, -3F, 4, 4, 6); Shape2qr.setRotationPoint(5.2F, -0.8F, -0.5F); Shape2qr.setTextureSize(64, 64); Shape2qr.mirror = true; setRotation(Shape2qr, 0F, 0F, 0.6981317F); Shape2fa = new ModelRenderer(this, 46, 0); Shape2fa.addBox(-2.7F, -1.8F, -4F, 1, 16, 8); Shape2fa.setRotationPoint(3.5F, -1.5F, -0.5F); Shape2fa.setTextureSize(64, 64); Shape2fa.mirror = true; setRotation(Shape2fa, 0F, 0F, 0.5061455F); } 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); render(f5); } public void render(float f5){ Shape1.renderWithRotation(f5); Shape2.renderWithRotation(f5); Shape2a.renderWithRotation(f5); Shape2b.renderWithRotation(f5); Shape2c.renderWithRotation(f5); Shape2d.renderWithRotation(f5); Shape2e.renderWithRotation(f5); Shape2f.renderWithRotation(f5); Shape2g.renderWithRotation(f5); Shape2h.renderWithRotation(f5); Shape2j.renderWithRotation(f5); Shape2k.renderWithRotation(f5); Shape2l.renderWithRotation(f5); Shape2m.renderWithRotation(f5); Shape2n.renderWithRotation(f5); Shape2o.renderWithRotation(f5); Shape2p.renderWithRotation(f5); Shape2q.renderWithRotation(f5); Shape2r.renderWithRotation(f5); Shape2s.renderWithRotation(f5); Shape2t.renderWithRotation(f5); Shape2u.renderWithRotation(f5); Shape2v.renderWithRotation(f5); Shape2w.renderWithRotation(f5); Shape2x.renderWithRotation(f5); Shape2y.renderWithRotation(f5); Shape2z.renderWithRotation(f5); Shape2ab.renderWithRotation(f5); Shape2cd.renderWithRotation(f5); Shape2ef.renderWithRotation(f5); Shape2gh.renderWithRotation(f5); Shape2ij.renderWithRotation(f5); Shape2kl.renderWithRotation(f5); Shape2mn.renderWithRotation(f5); Shape2op.renderWithRotation(f5); Shape2qw.renderWithRotation(f5); Shape2st.renderWithRotation(f5); Shape2uv.renderWithRotation(f5); Shape2wx.renderWithRotation(f5); Shape2yx.renderWithRotation(f5); Shape2qr.renderWithRotation(f5); Shape2fa.renderWithRotation(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, Entity e) { super.setRotationAngles(f, f1, f2, f3, f4, f5, e); } }