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 ModelHHDarkThornTrumpet extends ModelBase
{
//fields
ModelRenderer Shape1;
ModelRenderer Shape2;
ModelRenderer Shape4;
ModelRenderer Shape5;
ModelRenderer Shape6;
ModelRenderer Shape7;
ModelRenderer Shape8;
ModelRenderer Shape7a;
ModelRenderer Shape7b;
ModelRenderer Shape7c;
ModelRenderer Shape7d;
ModelRenderer Shape3a;
ModelRenderer Shape9a;
ModelRenderer Shape9b;
ModelRenderer Shape9c;
ModelRenderer Shape9d;
ModelRenderer Shape9e;
ModelRenderer Shape9f;
ModelRenderer Shape9g;
public ModelHHDarkThornTrumpet()
{
textureWidth = 64;
textureHeight = 64;
Shape1 = new ModelRenderer(this, 9, 13);
Shape1.addBox(-0.5F, 0F, -0.5F, 1, 10, 1);
Shape1.setRotationPoint(0F, 2F, 0F);
Shape1.setTextureSize(64, 64);
Shape1.mirror = true;
setRotation(Shape1, 0F, 0F, 0F);
Shape2 = new ModelRenderer(this, 47, 29);
Shape2.addBox(-2F, 0F, -2F, 4, 30, 4);
Shape2.setRotationPoint(0F, -20F, 0F);
Shape2.setTextureSize(64, 64);
Shape2.mirror = true;
setRotation(Shape2, 0F, 0F, 0F);
Shape4 = new ModelRenderer(this, 0, 36);
Shape4.addBox(-4.5F, -21F, -4.5F, 9, 3, 9);
Shape4.setRotationPoint(0F, 0F, 0F);
Shape4.setTextureSize(64, 64);
Shape4.mirror = true;
setRotation(Shape4, 0F, 0F, 0F);
Shape5 = new ModelRenderer(this, 0, 50);
Shape5.addBox(-1.5F, -3F, -1.5F, 11, 3, 3);
Shape5.setRotationPoint(-4F, -18F, 6F);
Shape5.setTextureSize(64, 64);
Shape5.mirror = true;
setRotation(Shape5, 0F, 0F, 0F);
Shape6 = new ModelRenderer(this, 0, 58);
Shape6.addBox(-1F, 0F, -1F, 2, 3, 2);
Shape6.setRotationPoint(0F, 12F, 0F);
Shape6.setTextureSize(64, 64);
Shape6.mirror = true;
setRotation(Shape6, 0F, 0F, 0F);
Shape7 = new ModelRenderer(this, 0, 20);
Shape7.addBox(1F, -24F, -1.5F, 1, 7, 1);
Shape7.setRotationPoint(-5F, 2F, 1F);
Shape7.setTextureSize(64, 64);
Shape7.mirror = true;
setRotation(Shape7, 0F, 0F, 0F);
Shape8 = new ModelRenderer(this, 0, 20);
Shape8.addBox(1F, -24F, -1.5F, 1, 7, 1);
Shape8.setRotationPoint(-5F, 2F, 3F);
Shape8.setTextureSize(64, 64);
Shape8.mirror = true;
setRotation(Shape8, 0F, 0F, 0F);
Shape7a = new ModelRenderer(this, 0, 20);
Shape7a.addBox(1F, -24F, -1.5F, 1, 7, 1);
Shape7a.setRotationPoint(-5F, 2F, -1F);
Shape7a.setTextureSize(64, 64);
Shape7a.mirror = true;
setRotation(Shape7a, 0F, 0F, 0F);
Shape7b = new ModelRenderer(this, 0, 20);
Shape7b.addBox(0F, -24F, -1.5F, 1, 7, 1);
Shape7b.setRotationPoint(3F, 2F, -1F);
Shape7b.setTextureSize(64, 64);
Shape7b.mirror = true;
setRotation(Shape7b, 0F, 0F, 0F);
Shape7c = new ModelRenderer(this, 0, 20);
Shape7c.addBox(0F, -24F, -1.5F, 1, 7, 1);
Shape7c.setRotationPoint(3F, 2F, 1F);
Shape7c.setTextureSize(64, 64);
Shape7c.mirror = true;
setRotation(Shape7c, 0F, 0F, 0F);
Shape7d = new ModelRenderer(this, 0, 20);
Shape7d.addBox(0F, -24F, -1.5F, 1, 7, 1);
Shape7d.setRotationPoint(3F, 2F, 3F);
Shape7d.setTextureSize(64, 64);
Shape7d.mirror = true;
setRotation(Shape7d, 0F, 0F, 0F);
Shape3a = new ModelRenderer(this, 0, 50);
Shape3a.addBox(-1.5F, -3F, -1.5F, 11, 3, 3);
Shape3a.setRotationPoint(-4F, -18F, -6F);
Shape3a.setTextureSize(64, 64);
Shape3a.mirror = true;
setRotation(Shape3a, 0F, 0F, 0F);
Shape9a = new ModelRenderer(this, 30, 0);
Shape9a.addBox(-2.5F, -2.5F, -2.5F, 5, 2, 5);
Shape9a.setRotationPoint(0F, 9F, 0F);
Shape9a.setTextureSize(64, 64);
Shape9a.mirror = true;
setRotation(Shape9a, 0F, 0F, 0F);
Shape9b = new ModelRenderer(this, 30, 0);
Shape9b.addBox(-2.5F, -2.5F, -2.5F, 5, 2, 5);
Shape9b.setRotationPoint(0F, 5F, 0F);
Shape9b.setTextureSize(64, 64);
Shape9b.mirror = true;
setRotation(Shape9b, 0F, 0F, 0F);
Shape9c = new ModelRenderer(this, 30, 0);
Shape9c.addBox(-2.5F, -2.5F, -2.5F, 5, 2, 5);
Shape9c.setRotationPoint(0F, 1F, 0F);
Shape9c.setTextureSize(64, 64);
Shape9c.mirror = true;
setRotation(Shape9c, 0F, 0F, 0F);
Shape9d = new ModelRenderer(this, 30, 0);
Shape9d.addBox(-2.5F, -2.5F, -2.5F, 5, 2, 5);
Shape9d.setRotationPoint(0F, -3F, 0F);
Shape9d.setTextureSize(64, 64);
Shape9d.mirror = true;
setRotation(Shape9d, 0F, 0F, 0F);
Shape9e = new ModelRenderer(this, 30, 0);
Shape9e.addBox(-2.5F, -2.5F, -2.5F, 5, 2, 5);
Shape9e.setRotationPoint(0F, -7F, 0F);
Shape9e.setTextureSize(64, 64);
Shape9e.mirror = true;
setRotation(Shape9e, 0F, 0F, 0F);
Shape9f = new ModelRenderer(this, 30, 0);
Shape9f.addBox(-2.5F, -2.5F, -2.5F, 5, 2, 5);
Shape9f.setRotationPoint(0F, -11F, 0F);
Shape9f.setTextureSize(64, 64);
Shape9f.mirror = true;
setRotation(Shape9f, 0F, 0F, 0F);
Shape9g = new ModelRenderer(this, 30, 0);
Shape9g.addBox(-2.5F, -2.5F, -2.5F, 5, 2, 5);
Shape9g.setRotationPoint(0F, -15F, 0F);
Shape9g.setTextureSize(64, 64);
Shape9g.mirror = true;
setRotation(Shape9g, 0F, 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);
Shape4.renderWithRotation(f5);
Shape5.renderWithRotation(f5);
Shape6.renderWithRotation(f5);
Shape7.renderWithRotation(f5);
Shape8.renderWithRotation(f5);
Shape7a.renderWithRotation(f5);
Shape7b.renderWithRotation(f5);
Shape7c.renderWithRotation(f5);
Shape7d.renderWithRotation(f5);
Shape3a.renderWithRotation(f5);
Shape9a.renderWithRotation(f5);
Shape9b.renderWithRotation(f5);
Shape9c.renderWithRotation(f5);
Shape9d.renderWithRotation(f5);
Shape9e.renderWithRotation(f5);
Shape9f.renderWithRotation(f5);
Shape9g.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);
}
}