ItemOpener v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki

Item Opener

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)

Stack (default accepts any item)

This is the item stack that the player's item is checked against. This is an item stack matcher. See Common Types v3.

Tags (defaults to none)

These are the tags to check an item stack for. This is an array of identifiers. See Common Types v3.

Tag Option (defaults to "ANY")

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

Note

Items must match both the stack and the tags.

⚠️ **GitHub.com Fallback** ⚠️