package mhfc.net.client.model.weapon.huntinghorn; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelHHTigrex extends ModelBase { ModelRenderer Shape1; ModelRenderer Shape2; ModelRenderer Shape3; ModelRenderer Shape4; ModelRenderer Shape6; ModelRenderer Shape7; ModelRenderer Shape8; ModelRenderer Shape9; ModelRenderer Shape11; ModelRenderer Shape81; ModelRenderer Shape92; ModelRenderer Shape91; ModelRenderer Shape93; ModelRenderer Shape94; ModelRenderer Shape95; ModelRenderer Shape96; ModelRenderer Shape97; ModelRenderer Shape98; ModelRenderer Shape99; ModelRenderer Shape9a; ModelRenderer Shape9b; ModelRenderer Shape9c; ModelRenderer Shape9d; ModelRenderer Shape9e; ModelRenderer Shape9f; ModelRenderer Shape9g; ModelRenderer Shape9h; ModelRenderer Shape8i; ModelRenderer Shape8k; ModelRenderer Shape9z; public ModelHHTigrex() { textureWidth = 64; textureHeight = 128; Shape1 = new ModelRenderer(this, 0, 14); Shape1.addBox(-1F, 0F, -1F, 2, 2, 2); Shape1.setRotationPoint(0F, 14.5F, 0F); Shape1.setTextureSize(64, 128); Shape1.mirror = true; setRotation(Shape1, 0F, 0.7853982F, 0F); Shape2 = new ModelRenderer(this, 34, 12); Shape2.addBox(-0.5F, -1F, -0.5F, 1, 10, 1); Shape2.setRotationPoint(0F, 7F, 0F); Shape2.setTextureSize(64, 128); Shape2.mirror = true; setRotation(Shape2, 0F, 0F, 0F); Shape3 = new ModelRenderer(this, 0, 14); Shape3.addBox(-1F, -1F, -1F, 2, 1, 2); Shape3.setRotationPoint(0F, 13F, 0F); Shape3.setTextureSize(64, 128); Shape3.mirror = true; setRotation(Shape3, 0F, 0.7853982F, 0F); Shape4 = new ModelRenderer(this, 27, 15); Shape4.addBox(-0.5F, 0F, -1F, 1, 1, 1); Shape4.setRotationPoint(0F, 7F, 0F); Shape4.setTextureSize(64, 128); Shape4.mirror = true; setRotation(Shape4, 0F, -0.5235988F, 0F); Shape6 = new ModelRenderer(this, 35, 50); Shape6.addBox(-1F, 0F, -1F, 2, 4, 2); Shape6.setRotationPoint(0F, 2.5F, 0F); Shape6.setTextureSize(64, 128); Shape6.mirror = true; setRotation(Shape6, 0F, -0.7853982F, 0F); Shape7 = new ModelRenderer(this, 37, 40); Shape7.addBox(-1.5F, 0F, -1.5F, 3, 5, 3); Shape7.setRotationPoint(0F, -1.5F, -0.5F); Shape7.setTextureSize(64, 128); Shape7.mirror = true; setRotation(Shape7, 0.0523599F, -0.7853982F, -0.0523599F); Shape8 = new ModelRenderer(this, 10, 14); Shape8.addBox(-1F, -1F, -1F, 2, 2, 2); Shape8.setRotationPoint(0F, -5.5F, 3F); Shape8.setTextureSize(64, 128); Shape8.mirror = true; setRotation(Shape8, 0.3490659F, 0F, 0F); Shape9 = new ModelRenderer(this, 0, 50); Shape9.addBox(-6F, -6F, -2.5F, 12, 12, 5); Shape9.setRotationPoint(0F, -11F, -1.6F); Shape9.setTextureSize(64, 128); Shape9.mirror = true; setRotation(Shape9, 0.0872665F, 0F, 0F); Shape11 = new ModelRenderer(this, 27, 15); Shape11.addBox(-0.5F, 0F, -1F, 1, 1, 1); Shape11.setRotationPoint(0F, 8.5F, 0F); Shape11.setTextureSize(64, 128); Shape11.mirror = true; setRotation(Shape11, 0F, -0.5235988F, 0F); Shape81 = new ModelRenderer(this, 37, 30); Shape81.addBox(-2F, 0F, -2F, 4, 5, 4); Shape81.setRotationPoint(0F, -5.5F, -1.3F); Shape81.setTextureSize(64, 128); Shape81.mirror = true; setRotation(Shape81, 0.122173F, -0.7853982F, -0.122173F); Shape92 = new ModelRenderer(this, 21, 25); Shape92.addBox(-1F, -1F, 0F, 2, 2, 2); Shape92.setRotationPoint(6F, -17F, -1F); Shape92.setTextureSize(64, 128); Shape92.mirror = true; setRotation(Shape92, 0F, 0F, 0.7853982F); Shape91 = new ModelRenderer(this, 0, 30); Shape91.addBox(-6F, -6F, -3F, 12, 12, 6); Shape91.setRotationPoint(0F, -11F, -1.6F); Shape91.setTextureSize(64, 128); Shape91.mirror = true; setRotation(Shape91, 0.0872665F, -0.0872665F, 0.7853982F); Shape93 = new ModelRenderer(this, 0, 0); Shape93.addBox(-4F, -4F, -7F, 8, 8, 3); Shape93.setRotationPoint(0F, -11F, 1.4F); Shape93.setTextureSize(64, 128); Shape93.mirror = true; setRotation(Shape93, 0.0872665F, -0.0872665F, 0.7853982F); Shape94 = new ModelRenderer(this, 21, 21); Shape94.addBox(-0.5F, -0.5F, 2F, 1, 1, 2); Shape94.setRotationPoint(6F, -17F, -1F); Shape94.setTextureSize(64, 128); Shape94.mirror = true; setRotation(Shape94, 0F, 0F, 0.7853982F); Shape95 = new ModelRenderer(this, 21, 21); Shape95.addBox(-0.5F, -0.5F, 2F, 1, 1, 2); Shape95.setRotationPoint(-8F, -11.3F, 0F); Shape95.setTextureSize(64, 128); Shape95.mirror = true; setRotation(Shape95, 0F, 0F, 0F); Shape96 = new ModelRenderer(this, 21, 25); Shape96.addBox(-1F, -1F, 0F, 2, 2, 2); Shape96.setRotationPoint(6F, -5.5F, -0.5F); Shape96.setTextureSize(64, 128); Shape96.mirror = true; setRotation(Shape96, 0F, 0F, 0.7853982F); Shape97 = new ModelRenderer(this, 21, 21); Shape97.addBox(-0.5F, -0.5F, 2F, 1, 1, 2); Shape97.setRotationPoint(6F, -5.5F, -0.5F); Shape97.setTextureSize(64, 128); Shape97.mirror = true; setRotation(Shape97, 0F, 0F, 0.7853982F); Shape98 = new ModelRenderer(this, 21, 21); Shape98.addBox(-0.5F, -0.5F, 2F, 1, 1, 2); Shape98.setRotationPoint(-6F, -17F, -1F); Shape98.setTextureSize(64, 128); Shape98.mirror = true; setRotation(Shape98, 0F, 0F, 0.7853982F); Shape99 = new ModelRenderer(this, 21, 25); Shape99.addBox(-1F, -1F, 0F, 2, 2, 2); Shape99.setRotationPoint(-6F, -5.5F, -0.5F); Shape99.setTextureSize(64, 128); Shape99.mirror = true; setRotation(Shape99, 0F, 0F, 0.7853982F); Shape9a = new ModelRenderer(this, 21, 21); Shape9a.addBox(-0.5F, -0.5F, 2F, 1, 1, 2); Shape9a.setRotationPoint(-6F, -5.5F, -0.5F); Shape9a.setTextureSize(64, 128); Shape9a.mirror = true; setRotation(Shape9a, 0F, 0F, 0.7853982F); Shape9b = new ModelRenderer(this, 21, 25); Shape9b.addBox(-1F, -1F, 0F, 2, 2, 2); Shape9b.setRotationPoint(-6F, -17F, -1F); Shape9b.setTextureSize(64, 128); Shape9b.mirror = true; setRotation(Shape9b, 0F, 0F, 0.7853982F); Shape9c = new ModelRenderer(this, 21, 25); Shape9c.addBox(-1F, -1F, 0F, 2, 2, 2); Shape9c.setRotationPoint(-8F, -11.3F, 0F); Shape9c.setTextureSize(64, 128); Shape9c.mirror = true; setRotation(Shape9c, 0F, 0F, 0F); Shape9d = new ModelRenderer(this, 21, 21); Shape9d.addBox(-0.5F, -0.5F, 2F, 1, 1, 2); Shape9d.setRotationPoint(0F, -19.3F, -0.5F); Shape9d.setTextureSize(64, 128); Shape9d.mirror = true; setRotation(Shape9d, 0F, 0F, 0F); Shape9e = new ModelRenderer(this, 21, 25); Shape9e.addBox(-1F, -1F, 0F, 2, 2, 2); Shape9e.setRotationPoint(8F, -11.3F, 0F); Shape9e.setTextureSize(64, 128); Shape9e.mirror = true; setRotation(Shape9e, 0F, 0F, 0F); Shape9f = new ModelRenderer(this, 21, 21); Shape9f.addBox(-0.5F, -0.5F, 2F, 1, 1, 2); Shape9f.setRotationPoint(8F, -11.3F, 0F); Shape9f.setTextureSize(64, 128); Shape9f.mirror = true; setRotation(Shape9f, 0F, 0F, 0F); Shape9g = new ModelRenderer(this, 21, 25); Shape9g.addBox(-1F, -1F, 0F, 2, 2, 2); Shape9g.setRotationPoint(0F, -19.3F, -0.5F); Shape9g.setTextureSize(64, 128); Shape9g.mirror = true; setRotation(Shape9g, 0F, 0F, 0F); Shape9h = new ModelRenderer(this, 0, 68); Shape9h.addBox(-4.5F, -4.5F, -2.5F, 9, 9, 3); Shape9h.setRotationPoint(0F, -11F, 1.4F); Shape9h.setTextureSize(64, 128); Shape9h.mirror = true; setRotation(Shape9h, 0.0872665F, 0F, 0F); Shape8i = new ModelRenderer(this, 33, 24); Shape8i.addBox(-1F, 0F, -1F, 2, 3, 2); Shape8i.setRotationPoint(0F, -4.5F, 0.7F); Shape8i.setTextureSize(64, 128); Shape8i.mirror = true; setRotation(Shape8i, 0.122173F, -0.7853982F, -0.122173F); Shape8k = new ModelRenderer(this, 21, 14); Shape8k.addBox(-0.5F, -4F, -0.5F, 1, 4, 1); Shape8k.setRotationPoint(0F, -2.5F, 1.5F); Shape8k.setTextureSize(64, 128); Shape8k.mirror = true; setRotation(Shape8k, -0.5235988F, 0F, 0F); Shape9z = new ModelRenderer(this, 0, 19); Shape9z.addBox(-3.5F, -3.5F, -2F, 7, 7, 3); Shape9z.setRotationPoint(0F, -11F, 1.4F); Shape9z.setTextureSize(64, 128); Shape9z.mirror = true; setRotation(Shape9z, 0.0872665F, 0F, 0F); } 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); Shape3.renderWithRotation(f5); Shape4.renderWithRotation(f5); Shape6.renderWithRotation(f5); Shape7.renderWithRotation(f5); Shape8.renderWithRotation(f5); Shape9.renderWithRotation(f5); Shape11.renderWithRotation(f5); Shape81.renderWithRotation(f5); Shape92.renderWithRotation(f5); Shape91.renderWithRotation(f5); Shape93.renderWithRotation(f5); Shape94.renderWithRotation(f5); Shape95.renderWithRotation(f5); Shape96.renderWithRotation(f5); Shape97.renderWithRotation(f5); Shape98.renderWithRotation(f5); Shape99.renderWithRotation(f5); Shape9a.renderWithRotation(f5); Shape9b.renderWithRotation(f5); Shape9c.renderWithRotation(f5); Shape9d.renderWithRotation(f5); Shape9e.renderWithRotation(f5); Shape9f.renderWithRotation(f5); Shape9g.renderWithRotation(f5); Shape9h.renderWithRotation(f5); Shape8i.renderWithRotation(f5); Shape8k.renderWithRotation(f5); Shape9z.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); } }