provider_in_slot

Passes when the item providing the effect is currently in one of the specified slots.

Categories: inventory

Required arguments

Key(s)DescriptionType
slot \| slotsThe slot(s) to check, e.g. hands, armor, mainhand, or a numeric slot index.STRING_LIST

Example

conditions:
  - id: provider_in_slot
    args:
      slot:
        - "hands"
        - "armor"