Template:Nbt inherit/conditions/item/template
Jump to navigation
Jump to search
- [NBT List / JSON Array][String] items: (Optional) Any number of item(s) (an [String] ID, or a [String] tag with
#, or an [NBT List / JSON Array] array containing [String] IDs). Tests if the type of item in the item stack matches any of the listed values. - [Int] count: (Optional) Tests the number of items in this item stack. Use an integer to test for a single value.
- [NBT Compound / JSON Object] count: (Optional) Another format.
- [Int] max: (Optional) The maximum value.
- [Int] min: (Optional) The minimum value.
- [NBT Compound / JSON Object] components: (Optional) Matches exact item component values. Each key in this object corresponds to a component to test, with its value as the desired data to compare.
- [NBT Compound / JSON Object] predicates: (Optional) Matches data component predicates.
- [NBT List / JSON Array][String] items: (Optional) Any number of item(s) (an [String] ID, or a [String] tag with