item_data_equals
Passes when the held item's custom data value for a given key equals the specified value.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|---|---|
key | The custom item data key to read from the item. | STRING |
value | The value that the data key must equal. | STRING |
Example
conditions:
- id: item_data_equals
args:
key: <value>
value: <value>