package blusunrize.immersiveengineering.client.models;
import net.minecraft.client.model.ModelRenderer;
public class ModelEarmuffs extends ModelIEArmorBase
{
public ModelRenderer[] modelParts;
public ModelRenderer[] colouredParts;
public ModelEarmuffs(float modelSize, float p_i1149_2_, int textureWidthIn, int textureHeightIn)
{
super(modelSize,p_i1149_2_,textureWidthIn,textureHeightIn);
modelParts = new ModelRenderer[8];
colouredParts = new ModelRenderer[4];
this.modelParts[0] = new ModelRenderer(this, 0, 16);
this.modelParts[0].addBox(-4.5f,-8.5f,0f, 9, 1, 1, modelSize);
this.bipedHead.addChild(modelParts[0]);
this.modelParts[1] = new ModelRenderer(this, 0, 18);
this.modelParts[1].addBox(-4.5f,-7.5f,0f, 1, 4, 1, modelSize);
this.modelParts[0].addChild(modelParts[1]);
this.modelParts[2] = new ModelRenderer(this, 0, 18);
this.modelParts[2].addBox(3.5f,-7.5f,0f, 1, 4, 1, modelSize);
this.modelParts[0].addChild(modelParts[2]);
this.modelParts[3] = new ModelRenderer(this, 0, 16);
this.modelParts[3].addBox(-4.5f,-8.5f,-1.5f, 9, 1, 1, modelSize);
this.bipedHead.addChild(modelParts[3]);
this.modelParts[4] = new ModelRenderer(this, 0, 18);
this.modelParts[4].addBox(-4.5f,-7.5f,-1.5f, 1, 4, 1, modelSize);
this.modelParts[3].addChild(modelParts[4]);
this.modelParts[5] = new ModelRenderer(this, 0, 18);
this.modelParts[5].addBox(3.5f,-7.5f,-1.5f, 1, 4, 1, modelSize);
this.modelParts[3].addChild(modelParts[5]);
this.modelParts[6] = new ModelRenderer(this, 20, 24);
this.modelParts[6].addBox(-4.375f,-5.5f,-1.75f, 1, 4, 3, modelSize+.125f);
this.bipedHead.addChild(modelParts[6]);
this.colouredParts[0] = new ModelRenderer(this, 20, 16);
this.colouredParts[0].addBox(-4.875f,-6.5f,-1.75f, 1, 5, 3, modelSize);
this.bipedHead.addChild(colouredParts[0]);
this.colouredParts[1] = new ModelRenderer(this, 28, 16);
this.colouredParts[1].addBox(-5.25f,-5f,-1.25f, 1, 3, 2, modelSize+.125f);
this.colouredParts[0].addChild(colouredParts[1]);
this.modelParts[7] = new ModelRenderer(this, 20, 24);
this.modelParts[7].addBox(3.375f,-5.5f,-1.75f, 1, 4, 3, modelSize+.125f);
this.bipedHead.addChild(modelParts[7]);
this.colouredParts[2] = new ModelRenderer(this, 20, 16);
this.colouredParts[2].addBox(3.875f,-6.5f,-1.75f, 1, 5, 3, modelSize);
this.bipedHead.addChild(colouredParts[2]);
this.colouredParts[3] = new ModelRenderer(this, 28, 16);
this.colouredParts[3].addBox(4.25f,-5f,-1.25f, 1, 3, 2, modelSize+.125f);
this.colouredParts[2].addChild(colouredParts[3]);
this.bipedHeadwear.isHidden=true;
this.bipedBody.isHidden = true;
this.bipedLeftLeg.isHidden = true;
this.bipedRightLeg.isHidden = true;
}
static ModelEarmuffs modelInstance;
public static ModelEarmuffs getModel()
{
if(modelInstance==null)
modelInstance = new ModelEarmuffs(.0625f,0,64,32);
return modelInstance;
}
}