ItemConsumable v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki
Item consumables consume items.
They look like:
{
...common fields...
"stack": {},
"amount": 0,
"tags": [],
"tagOption": ""
}
(common fields are specified in Consumables v3)
This is the item stack that player items are checked against. This is an item stack matcher. See Common Types v3.
This is the amount of items to take.
These are the tags to check an item stack for. This is an array of identifiers. See Common Types v3.
This specifies how the tags are checked. This is a string.
Options
-
"ANY"
true if any tags match -
"NONE"
true if none of the tags match -
"ALL"
true if all of the tags match -
"EXACT"
true if all of the tags match and there are no others
Items must match both the stack and the tags.