setEquipment

abstract fun setEquipment(slot: EquipmentSlot, item: ItemStack)

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

Parameters

slot

the slot

item

the item