-
Notifications
You must be signed in to change notification settings - Fork 109
_Condition Offhand
Steven edited this page Nov 12, 2016
·
1 revision
Child components are applied to each player target who is wielding an item in their offhand that meets the requirements.
| Name | YAML Key | Type | Description |
|---|---|---|---|
| Check Material | check-mat | Boolean | Whether or not a specific material is needed |
| Material | material | Dropdown | The material to check for if the above option is set to true |
| Check Data | check-data | Boolean | Whether or not a specific item data value is needed |
| Data | data | Integer | The data value that is required if the above option is set to true |
| Check Lore | check-lore | Boolean | Whether or not to search for a specific line of lore |
| Lore | lore | String | The lore line that must be present if the above option is set to true |
| Check Name | check-name | Boolean | Whether or not to look for a certain item name |
| Name | name | String | The name of the item needed if the above option is set to true |
| Regex | regex | Boolean | Whether or not the name and lore options are used as regex strings. |
- All enabled checks must pass
- This is only for servers on v1.9+
- Item materials are based off of the Bukkit Material List
-- To be added --