slot

fun slot(slot: EquipmentSlotGroup): ArmorItem

Sets the equipment slot of the armor item (HEAD, CHEST, LEGS, FEET).

Return

The ArmorItem instance for method chaining.

Parameters

slot

The EquipmentSlotGroup representing the armor's equipment slot.