public ItemArmor(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) { super(par1); this.material = par2EnumArmorMaterial; this.armorType = par4; this.renderIndex = par3; this.damageReduceAmount = par2EnumArmorMaterial.getDamageReductionAmount(par4); this.setMaxDamage(par2EnumArmorMaterial.getDurability(par4)); this.maxStackSize = 1; this.setCreativeTab(CreativeTabs.tabCombat); }
public ItemArmor(EnumArmorMaterial enumarmormaterial, int i, int j) { this.p = enumarmormaterial; this.b = j; this.d = i; this.c = enumarmormaterial.b(j); this.setMaxDurability(enumarmormaterial.a(j)); this.maxStackSize = 1; this.a(CreativeModeTab.j); BlockDispenser.a.a(this, o); }
public ItemArmor(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) { super(par1); this.material = par2EnumArmorMaterial; this.armorType = par4; this.renderIndex = par3; this.damageReduceAmount = par2EnumArmorMaterial.getDamageReductionAmount(par4); this.setMaxDamage(par2EnumArmorMaterial.getDurability(par4)); this.maxStackSize = 1; this.setCreativeTab(CreativeTabs.tabCombat); BlockDispenser.dispenseBehaviorRegistry.putObject(this, field_96605_cw); }