setArmor

abstract fun setArmor(slot: ArmorSlot, item: ItemStack)

Sets the armour item that this mob has equipped in the given slot to the given item.

Parameters

slot

the slot

item

the item