package mhfc.net.client.model.weapon.greatsword; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelGSDeviljhobroadsword 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 k; ModelRenderer Shape2l; ModelRenderer Shape2q; ModelRenderer Shape2w; ModelRenderer Shape2aw; ModelRenderer Shape2as; ModelRenderer Shape2zx; ModelRenderer Shape2cv; ModelRenderer Shape2df; ModelRenderer Shape2ef; ModelRenderer Shape2en; ModelRenderer Shape2ei; ModelRenderer Shape2qr; ModelRenderer Shape2fp; ModelRenderer Shape2zm; ModelRenderer Shape2hd; ModelRenderer Shape2gg; ModelRenderer Shape2bb; public ModelGSDeviljhobroadsword() { textureWidth = 32; textureHeight = 32; Shape1 = new ModelRenderer(this, 0, 0); Shape1.addBox(0F, 0F, 0F, 1, 8, 1); Shape1.setRotationPoint(0F, 10F, 0F); Shape1.setTextureSize(32, 32); Shape1.mirror = true; setRotation(Shape1, 0F, 1.570796F, 0F); Shape2 = new ModelRenderer(this, 24, 0); Shape2.addBox(-0.5F, -5F, -1.5F, 1, 6, 3); Shape2.setRotationPoint(-1.5F, -2.2F, -0.5F); Shape2.setTextureSize(32, 32); Shape2.mirror = true; setRotation(Shape2, 0F, 0F, 0.7853982F); Shape2a = new ModelRenderer(this, 5, 0); Shape2a.addBox(-1F, -1.5F, -1F, 2, 3, 2); Shape2a.setRotationPoint(0.5F, 13.5F, -0.5F); Shape2a.setTextureSize(32, 32); Shape2a.mirror = true; setRotation(Shape2a, 0F, 0.7853982F, 0F); Shape2b = new ModelRenderer(this, 22, 25); Shape2b.addBox(-1.5F, -4F, -1F, 3, 5, 2); Shape2b.setRotationPoint(2.5F, 8.5F, -0.5F); Shape2b.setTextureSize(32, 32); Shape2b.mirror = true; setRotation(Shape2b, 0F, -0.0174533F, -0.3665191F); Shape2c = new ModelRenderer(this, 5, 6); Shape2c.addBox(-1F, -0.5F, -1F, 2, 1, 2); Shape2c.setRotationPoint(0.5F, 18F, -0.5F); Shape2c.setTextureSize(32, 32); Shape2c.mirror = true; setRotation(Shape2c, 0F, 0.7853982F, 0F); Shape2d = new ModelRenderer(this, 8, 11); Shape2d.addBox(-1.5F, -1F, -1.5F, 3, 2, 3); Shape2d.setRotationPoint(0.5F, 9F, -0.5F); Shape2d.setTextureSize(32, 32); Shape2d.mirror = true; setRotation(Shape2d, 0F, 0F, 0F); Shape2e = new ModelRenderer(this, 11, 25); Shape2e.addBox(-1.5F, -4F, -1F, 3, 5, 2); Shape2e.setRotationPoint(-1.5F, 8.5F, -0.5F); Shape2e.setTextureSize(32, 32); Shape2e.mirror = true; setRotation(Shape2e, 0F, 0.0174533F, 0.3665191F); Shape2f = new ModelRenderer(this, 9, 17); Shape2f.addBox(-1F, -2F, -1.5F, 2, 3, 3); Shape2f.setRotationPoint(0.5F, 7F, -0.5F); Shape2f.setTextureSize(32, 32); Shape2f.mirror = true; setRotation(Shape2f, 0F, 0F, 0F); Shape2g = new ModelRenderer(this, 20, 14); Shape2g.addBox(-2F, -7F, -1F, 4, 8, 2); Shape2g.setRotationPoint(0.5F, 4F, -0.5F); Shape2g.setTextureSize(32, 32); Shape2g.mirror = true; setRotation(Shape2g, 0.0174533F, 0F, 0F); Shape2h = new ModelRenderer(this, 0, 28); Shape2h.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2h.setRotationPoint(-1F, -5F, -0.5F); Shape2h.setTextureSize(32, 32); Shape2h.mirror = true; setRotation(Shape2h, 0F, 0F, 0.2617994F); Shape2j = new ModelRenderer(this, 14, 0); Shape2j.addBox(-1.5F, -1.5F, -1F, 3, 3, 2); Shape2j.setRotationPoint(2F, -3.8F, -0.5F); Shape2j.setTextureSize(32, 32); Shape2j.mirror = true; setRotation(Shape2j, 0F, 0F, 0.6108652F); k = new ModelRenderer(this, 24, 10); k.addBox(-1F, -1.5F, -1F, 2, 2, 2); k.setRotationPoint(0.5F, -4.4F, -0.5F); k.setTextureSize(32, 32); k.mirror = true; setRotation(k, -0.0174533F, 0F, 0F); Shape2l = new ModelRenderer(this, 24, 0); Shape2l.addBox(-0.5F, -5F, -1.5F, 1, 6, 3); Shape2l.setRotationPoint(2.5F, -2.2F, -0.5F); Shape2l.setTextureSize(32, 32); Shape2l.mirror = true; setRotation(Shape2l, 0F, 0F, -0.7853982F); Shape2q = new ModelRenderer(this, 14, 6); Shape2q.addBox(-1.5F, -1.5F, -1F, 3, 3, 2); Shape2q.setRotationPoint(-1F, -3.8F, -0.5F); Shape2q.setTextureSize(32, 32); Shape2q.mirror = true; setRotation(Shape2q, 0F, 0F, 0.9599311F); Shape2w = new ModelRenderer(this, 0, 28); Shape2w.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2w.setRotationPoint(-0.8F, 2.9F, -0.5F); Shape2w.setTextureSize(32, 32); Shape2w.mirror = true; setRotation(Shape2w, 0F, 0F, 0.0872665F); Shape2aw = new ModelRenderer(this, 0, 28); Shape2aw.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2aw.setRotationPoint(1.8F, 2.9F, -0.5F); Shape2aw.setTextureSize(32, 32); Shape2aw.mirror = true; setRotation(Shape2aw, 0F, 0F, -0.0872665F); Shape2as = new ModelRenderer(this, 0, 28); Shape2as.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2as.setRotationPoint(0F, -5.2F, -0.5F); Shape2as.setTextureSize(32, 32); Shape2as.mirror = true; setRotation(Shape2as, 0F, 0F, -1.919862F); Shape2zx = new ModelRenderer(this, 0, 28); Shape2zx.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2zx.setRotationPoint(2F, -5F, -0.5F); Shape2zx.setTextureSize(32, 32); Shape2zx.mirror = true; setRotation(Shape2zx, 0F, 0F, -0.2617994F); Shape2cv = new ModelRenderer(this, 0, 28); Shape2cv.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2cv.setRotationPoint(1F, -5.2F, -0.5F); Shape2cv.setTextureSize(32, 32); Shape2cv.mirror = true; setRotation(Shape2cv, 0F, 0F, -1.22173F); Shape2df = new ModelRenderer(this, 0, 28); Shape2df.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2df.setRotationPoint(3F, -3.7F, -0.5F); Shape2df.setTextureSize(32, 32); Shape2df.mirror = true; setRotation(Shape2df, 0F, 0F, 0F); Shape2ef = new ModelRenderer(this, 0, 28); Shape2ef.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2ef.setRotationPoint(-2F, -3.7F, -0.5F); Shape2ef.setTextureSize(32, 32); Shape2ef.mirror = true; setRotation(Shape2ef, 0F, 0F, 0F); Shape2en = new ModelRenderer(this, 0, 28); Shape2en.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2en.setRotationPoint(1.6F, -0.7F, -0.5F); Shape2en.setTextureSize(32, 32); Shape2en.mirror = true; setRotation(Shape2en, 0F, 0F, 0.1745329F); Shape2ei = new ModelRenderer(this, 0, 28); Shape2ei.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2ei.setRotationPoint(-0.6F, -0.7F, -0.5F); Shape2ei.setTextureSize(32, 32); Shape2ei.mirror = true; setRotation(Shape2ei, 0F, 0F, -0.1745329F); Shape2qr = new ModelRenderer(this, 0, 28); Shape2qr.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2qr.setRotationPoint(1.8F, 0.9F, -0.5F); Shape2qr.setTextureSize(32, 32); Shape2qr.mirror = true; setRotation(Shape2qr, 0F, 0F, 0.0872665F); Shape2fp = new ModelRenderer(this, 0, 28); Shape2fp.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2fp.setRotationPoint(-0.8F, 0.9F, -0.5F); Shape2fp.setTextureSize(32, 32); Shape2fp.mirror = true; setRotation(Shape2fp, 0F, 0F, -0.0872665F); Shape2zm = new ModelRenderer(this, 0, 28); Shape2zm.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2zm.setRotationPoint(3.2F, 7.3F, -0.5F); Shape2zm.setTextureSize(32, 32); Shape2zm.mirror = true; setRotation(Shape2zm, 0F, 0F, -0.0872665F); Shape2hd = new ModelRenderer(this, 0, 28); Shape2hd.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2hd.setRotationPoint(-2.2F, 7.3F, -0.5F); Shape2hd.setTextureSize(32, 32); Shape2hd.mirror = true; setRotation(Shape2hd, 0F, 0F, 0.0872665F); Shape2gg = new ModelRenderer(this, 0, 28); Shape2gg.addBox(-0.5F, -0.5F, -0.5F, 2, 1, 1); Shape2gg.setRotationPoint(1.8F, 4.9F, -0.5F); Shape2gg.setTextureSize(32, 32); Shape2gg.mirror = true; setRotation(Shape2gg, 0F, 0F, 0.0872665F); Shape2bb = new ModelRenderer(this, 0, 28); Shape2bb.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2bb.setRotationPoint(-0.8F, 4.9F, -0.5F); Shape2bb.setTextureSize(32, 32); Shape2bb.mirror = true; setRotation(Shape2bb, 0F, 0F, -0.0872665F); } 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); k.renderWithRotation(f5); Shape2l.renderWithRotation(f5); Shape2q.renderWithRotation(f5); Shape2w.renderWithRotation(f5); Shape2aw.renderWithRotation(f5); Shape2as.renderWithRotation(f5); Shape2zx.renderWithRotation(f5); Shape2cv.renderWithRotation(f5); Shape2df.renderWithRotation(f5); Shape2ef.renderWithRotation(f5); Shape2en.renderWithRotation(f5); Shape2ei.renderWithRotation(f5); Shape2qr.renderWithRotation(f5); Shape2fp.renderWithRotation(f5); Shape2zm.renderWithRotation(f5); Shape2hd.renderWithRotation(f5); Shape2gg.renderWithRotation(f5); Shape2bb.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 entity) { super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); } }