-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# `in_slot` | ||
|
||
Requires the item (e.g. the EcoItem, enchanted item, reforged item) to be in a certain slot. | ||
|
||
This is useful if you want one holder to have different effects depending on the slot it is in. | ||
|
||
The options for slot are mainhand, offhand, hands, helmet, chestplate, | ||
leggings, boots, armor, any, or a number from 0-40 (to specify an exact slot). | ||
|
||
# Example Configs | ||
```yaml | ||
- id: in_slot | ||
args: | ||
slot: mainhand # The slot | ||
``` | ||
```yaml | ||
- id: in_slot | ||
args: | ||
slots: # You can also provide a list of slots | ||
- mainhand | ||
- 6 | ||
- helmet | ||
``` |