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 ModelGSRathalosFiresword extends ModelBase { ModelRenderer Shape1; ModelRenderer Shape2; ModelRenderer Shape2a; ModelRenderer Shape2b; ModelRenderer Shape2c; ModelRenderer Shape2d; ModelRenderer Shape2e; ModelRenderer Shape2f; ModelRenderer Shape2g; ModelRenderer Sword_a; ModelRenderer Shape2h; ModelRenderer Shape2j; ModelRenderer Shape2k; ModelRenderer Shape2l; ModelRenderer Shape2m; ModelRenderer Swordm; ModelRenderer Sword_d; ModelRenderer Shape2q; ModelRenderer Sword_tip_1_1; ModelRenderer Sword_tip_2_2; ModelRenderer Sword_tip_1; ModelRenderer Sword_tip_2; ModelRenderer Sword_tip_3; ModelRenderer Shape2w; ModelRenderer Shape2x; ModelRenderer Sword_b; public ModelGSRathalosFiresword() { textureWidth = 32; textureHeight = 32; Shape1 = new ModelRenderer(this, 0, 0); Shape1.addBox(0F, 0F, 0F, 1, 9, 1); Shape1.setRotationPoint(0F, 10F, 0F); Shape1.setTextureSize(32, 32); Shape1.mirror = true; setRotation(Shape1, 0F, 1.570796F, 0F); Shape2 = new ModelRenderer(this, 0, 15); Shape2.addBox(-2.7F, -0.5F, -1.5F, 3, 1, 3); Shape2.setRotationPoint(1F, 8.5F, -0.5F); Shape2.setTextureSize(32, 32); Shape2.mirror = true; setRotation(Shape2, 0F, 0F, -0.1745329F); Shape2a = new ModelRenderer(this, 0, 25); Shape2a.addBox(-2F, -4F, -0.4F, 4, 5, 2); Shape2a.setRotationPoint(0.5F, 8F, -0.7F); Shape2a.setTextureSize(32, 32); Shape2a.mirror = true; setRotation(Shape2a, 0F, -0.1047198F, -0.1745329F); Shape2b = new ModelRenderer(this, 12, 23); Shape2b.addBox(-0.5F, -2.5F, -0.5F, 1, 3, 1); Shape2b.setRotationPoint(2.5F, 6.3F, -0.5F); Shape2b.setTextureSize(32, 32); Shape2b.mirror = true; setRotation(Shape2b, 0F, 0F, 0.5410521F); Shape2c = new ModelRenderer(this, 12, 23); Shape2c.addBox(-2.5F, -0.5F, -0.5F, 3, 1, 1); Shape2c.setRotationPoint(-1.9F, 5F, -0.5F); Shape2c.setTextureSize(32, 32); Shape2c.mirror = true; setRotation(Shape2c, 0F, 0F, -0.1745329F); Shape2d = new ModelRenderer(this, 12, 19); Shape2d.addBox(-1F, -1.5F, -1F, 3, 2, 2); Shape2d.setRotationPoint(1F, 10F, 0.3F); Shape2d.setTextureSize(32, 32); Shape2d.mirror = true; setRotation(Shape2d, 0.0349066F, 0.0872665F, -0.7853982F); Shape2e = new ModelRenderer(this, 12, 15); Shape2e.addBox(-1F, -1.5F, -1F, 3, 2, 2); Shape2e.setRotationPoint(1F, 10F, -1.3F); Shape2e.setTextureSize(32, 32); Shape2e.mirror = true; setRotation(Shape2e, -0.0349066F, -0.0872665F, -0.7853982F); Shape2f = new ModelRenderer(this, 4, 0); Shape2f.addBox(-2F, -0.5F, -0.5F, 2, 2, 1); Shape2f.setRotationPoint(-0.5F, 8.5F, -0.5F); Shape2f.setTextureSize(32, 32); Shape2f.mirror = true; setRotation(Shape2f, 0F, 0.0174533F, -1.134464F); Shape2g = new ModelRenderer(this, 12, 23); Shape2g.addBox(-3F, -0.5F, -0.5F, 3, 1, 1); Shape2g.setRotationPoint(-0.5F, 9F, -0.5F); Shape2g.setTextureSize(32, 32); Shape2g.mirror = true; setRotation(Shape2g, 0F, 0F, -0.9599311F); Sword_a = new ModelRenderer(this, 12, 9); Sword_a.addBox(-1F, -4F, -0.7F, 2, 4, 1); Sword_a.setRotationPoint(1F, -3.8F, -0.5F); Sword_a.setTextureSize(32, 32); Sword_a.mirror = true; setRotation(Sword_a, 0F, 0.1745329F, -0.0872665F); Shape2h = new ModelRenderer(this, 12, 27); Shape2h.addBox(-1F, -3F, -1F, 2, 3, 2); Shape2h.setRotationPoint(1.8F, 8.3F, -0.5F); Shape2h.setTextureSize(32, 32); Shape2h.mirror = true; setRotation(Shape2h, 0F, 0F, 0.2617994F); Shape2j = new ModelRenderer(this, 12, 23); Shape2j.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2j.setRotationPoint(-0.7F, -2.3F, -0.5F); Shape2j.setTextureSize(32, 32); Shape2j.mirror = true; setRotation(Shape2j, 0F, 0F, -0.3490659F); Shape2k = new ModelRenderer(this, 0, 25); Shape2k.addBox(-2F, -4F, -1.6F, 4, 5, 2); Shape2k.setRotationPoint(0.5F, 8F, -0.3F); Shape2k.setTextureSize(32, 32); Shape2k.mirror = true; setRotation(Shape2k, 0F, 0.1047198F, -0.1745329F); Shape2l = new ModelRenderer(this, 0, 19); Shape2l.addBox(-1F, -1F, -2F, 2, 2, 4); Shape2l.setRotationPoint(1.9F, 8.5F, -0.5F); Shape2l.setTextureSize(32, 32); Shape2l.mirror = true; setRotation(Shape2l, 0F, 0F, 1.745329F); Shape2m = new ModelRenderer(this, 12, 23); Shape2m.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2m.setRotationPoint(-1.3F, 7.5F, -0.5F); Shape2m.setTextureSize(32, 32); Shape2m.mirror = true; setRotation(Shape2m, 0F, 0F, -0.3490659F); Swordm = new ModelRenderer(this, 22, 0); Swordm.addBox(-2F, -8.5F, -1F, 3, 11, 2); Swordm.setRotationPoint(1.3F, 4.5F, -0.7F); Swordm.setTextureSize(32, 32); Swordm.mirror = true; setRotation(Swordm, 0F, 0.0523599F, -0.0174533F); Sword_d = new ModelRenderer(this, 22, 0); Sword_d.addBox(-2F, -8.5F, -1F, 3, 11, 2); Sword_d.setRotationPoint(1.3F, 4.5F, -0.3F); Sword_d.setTextureSize(32, 32); Sword_d.mirror = true; setRotation(Sword_d, 0F, -0.0523599F, -0.0174533F); Shape2q = new ModelRenderer(this, 14, 0); Shape2q.addBox(-1F, -6F, -1F, 2, 7, 2); Shape2q.setRotationPoint(-1F, 3.7F, -0.5F); Shape2q.setTextureSize(32, 32); Shape2q.mirror = true; setRotation(Shape2q, 0F, 0F, 0.1745329F); Sword_tip_1_1 = new ModelRenderer(this, 0, 10); Sword_tip_1_1.addBox(-1F, -3F, 0F, 2, 3, 1); Sword_tip_1_1.setRotationPoint(0F, -2.6F, -0.7F); Sword_tip_1_1.setTextureSize(32, 32); Sword_tip_1_1.mirror = true; setRotation(Sword_tip_1_1, 0F, -0.1745329F, -0.1745329F); Sword_tip_2_2 = new ModelRenderer(this, 6, 10); Sword_tip_2_2.addBox(-1F, -3F, 0F, 2, 3, 1); Sword_tip_2_2.setRotationPoint(-0.5F, -5F, -0.8F); Sword_tip_2_2.setTextureSize(32, 32); Sword_tip_2_2.mirror = true; setRotation(Sword_tip_2_2, 0.0523599F, -0.1396263F, 0.2617994F); Sword_tip_1 = new ModelRenderer(this, 0, 10); Sword_tip_1.addBox(-1F, -3F, -1F, 2, 3, 1); Sword_tip_1.setRotationPoint(0F, -2.6F, -0.3F); Sword_tip_1.setTextureSize(32, 32); Sword_tip_1.mirror = true; setRotation(Sword_tip_1, 0F, 0.1745329F, -0.1745329F); Sword_tip_2 = new ModelRenderer(this, 6, 10); Sword_tip_2.addBox(-1F, -3F, -1F, 2, 3, 1); Sword_tip_2.setRotationPoint(-0.5F, -5F, -0.2F); Sword_tip_2.setTextureSize(32, 32); Sword_tip_2.mirror = true; setRotation(Sword_tip_2, -0.0523599F, 0.1396263F, 0.2617994F); Sword_tip_3 = new ModelRenderer(this, 5, 4); Sword_tip_3.addBox(-1F, -4F, -0.5F, 2, 4, 1); Sword_tip_3.setRotationPoint(0F, -7.2F, -0.5F); Sword_tip_3.setTextureSize(32, 32); Sword_tip_3.mirror = true; setRotation(Sword_tip_3, 0F, 0F, 0.6108652F); Shape2w = new ModelRenderer(this, 12, 23); Shape2w.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2w.setRotationPoint(-1.3F, 2.5F, -0.5F); Shape2w.setTextureSize(32, 32); Shape2w.mirror = true; setRotation(Shape2w, 0F, 0F, 0.0872665F); Shape2x = new ModelRenderer(this, 12, 23); Shape2x.addBox(-1.5F, -0.5F, -0.5F, 2, 1, 1); Shape2x.setRotationPoint(-1F, 0.5F, -0.5F); Shape2x.setTextureSize(32, 32); Shape2x.mirror = true; setRotation(Shape2x, 0F, 0F, 0.2617994F); Sword_b = new ModelRenderer(this, 12, 9); Sword_b.addBox(-1F, -4F, -0.3F, 2, 4, 1); Sword_b.setRotationPoint(1F, -3.8F, -0.5F); Sword_b.setTextureSize(32, 32); Sword_b.mirror = true; setRotation(Sword_b, 0F, -0.1745329F, -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); Sword_a.renderWithRotation(f5); Shape2h.renderWithRotation(f5); Shape2j.renderWithRotation(f5); Shape2k.renderWithRotation(f5); Shape2l.renderWithRotation(f5); Shape2m.renderWithRotation(f5); Swordm.renderWithRotation(f5); Sword_d.renderWithRotation(f5); Shape2q.renderWithRotation(f5); Sword_tip_1_1.renderWithRotation(f5); Sword_tip_2_2.renderWithRotation(f5); Sword_tip_1.renderWithRotation(f5); Sword_tip_2.renderWithRotation(f5); Sword_tip_3.renderWithRotation(f5); Shape2w.renderWithRotation(f5); Shape2x.renderWithRotation(f5); Sword_b.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); } }