ItemOpener v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki
Item openers open based on the item a player has used.
They look like:
{
...common fields...
"stack": {},
"tags": [],
"tagOption": ""
}
(common fields are specified in Openers v3)
This is the item stack that the player's item is checked against. This is an item stack matcher. See Common Types v3.
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 the item has any of the tags -
"NONE"
true if the item has none of the tags -
"ALL"
true if the item has all of the tags -
"EXACT"
true if the item has all of the tags and no others
Items must match both the stack and the tags.