/** * Sets the held item, or an armor slot. Slot 0 is held item. Slot 1-4 is armor. Params: Item, * slot */ public void setCurrentItemOrArmor(int par1, ItemStack par2ItemStack) { super.setCurrentItemOrArmor(par1, par2ItemStack); if (!this.worldObj.isRemote && par1 == 0) { this.func_85036_m(); } }