getArmor

abstract fun getArmor(slot: ArmorSlot): ItemStack

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

This may return ItemStack.empty if this mob does not have any armour equipped in the given slot.

Parameters

slot

the slot