EquipmentDslProperty

sealed interface EquipmentDslProperty

DSL property for configuring equipment slots.

Equipment slots can be selected dynamically:

equipment[EquipmentSlot.HEAD] by helmet

Functions

Link copied to clipboard
abstract operator fun get(slot: EquipmentSlot): DslProperty<ItemStack?>

Gets the DSL property for slot.