Skip to content

Condition Wearing In Slot

JasperLorelai edited this page Feb 21, 2025 · 1 revision

Source Code

Modifier condition: wearinginslot

Properties:

Property Value
Has Entity Target true
Has Location Target false

Description:

Passes if the player has the item specified in the specific wearable slot.

String Format Options:

Before 4.0 Beta 16:

Arguments:

  • slot:
    • helm (hat, head)
    • chest (tunic)
    • leg (pant)
    • boot (shoe, feet)
  • material - Material
- wearinginslot slot=material [modifier action]

Since 4.0 Beta 16:

  • groups - Slot groups (old ones are still supported) separated by , and optionally negated by the ! prefix
  • items - Magic Items separated by |
- wearinginslot slotGroups=items [modifier action]

Section Format Options:

(Unsupported for now.)

Clone this wiki locally