provider_in_slot
Passes when the item providing the effect is currently in one of the specified slots.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|---|---|
slot \| slots | The 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"