Skip to content

Condition Inventory Lookup

Resolves an inventory holder and checks whether an inventory can be accessed.

Inputs: 1 · Outputs: Match, No Match

Description

Use this node when your flow needs to target inventories beyond the triggering player's own inventory.

Supported lookup scopes:

  • Players (triggering player or a looked-up player entity)
  • Mobs that implement InventoryHolder
  • Block entities such as chests, barrels, hoppers, and furnaces

If the selected inventory cannot be found or cannot be opened, the node follows the No Match output.

Settings

SettingTypeRequiredDefaultDescription
Lookup BySelectYesTriggering PlayerHow to find the inventory holder.
Entity UUIDStringYes (Entity UUID)UUID of the player or mob inventory holder.
WorldStringYes (Block Location)%world%World containing the block entity inventory holder.
XStringYes (Block Location)%x%Block X coordinate.
YStringYes (Block Location)%y%Block Y coordinate.
ZStringYes (Block Location)%z%Block Z coordinate.
Open Inventory ForSelectYesDo Not OpenOptionally open the resolved inventory for a player.
Viewer UsernameStringYes (Specific Player)Username to open the inventory for when Open Inventory For = Specific Player.

Example

Inspect and open a chest inventory for the triggering player:

  1. Set Lookup By to Block Location
  2. Set World to %world%
  3. Set X / Y / Z to your target coordinates
  4. Set Open Inventory For to Triggering Player
  5. Connect Match to follow-up actions and No Match to a fallback message

Oasis Admin Editor Documentation