has_item_data

Passes when the held item has the specified custom item data key set.

Categories: inventory

Required arguments

Key(s)DescriptionType
keyThe item data key to check for.STRING

Example

conditions:
  - id: has_item_data
    args:
      key: <value>