Skip to content

Action Open Inventory

Opens the inventory of a specified entity or block container and optionally shows it to a player.

Inputs: 1 · Outputs: Then

Settings

SettingTypeRequiredDefaultDescription
Lookup BySelectYesTriggering PlayerHow to locate the inventory holder.
Entity UUIDStringYes (if Entity UUID)UUID of the entity. Works for any entity that holds an inventory (players, horses, minecart chests, etc.). Placeholders allowed.
WorldStringYes (if Block Location)%world%World containing the block. Placeholders allowed.
X / Y / ZStringYes (if Block Location)%x% / %y% / %z%Coordinates of the block. Placeholders allowed.
Open Inventory ForSelectYesDo Not OpenWhether to open the found inventory for a player.
Viewer UsernameStringYes (if Specific Player)Username of the player to show the inventory to. Placeholders allowed.

Lookup By options

ValueLabelDescription
triggering_playerTriggering PlayerOpens the inventory of the player who triggered the flow.
entity_uuidEntity UUIDLooks up any entity by UUID (Bukkit.getEntity(UUID)). Supports players and mobs.
block_locationBlock LocationOpens the inventory of a container block (chest, barrel, shulker box, etc.) at the given coordinates.

Open Inventory For options

ValueLabelDescription
noneDo Not OpenLocates the inventory without showing it to anyone.
triggering_playerTriggering PlayerShows the inventory to the triggering player.
specificSpecific PlayerShows the inventory to a named player.

Examples

Open the triggering player's own inventory:

  • Lookup By: Triggering Player
  • Open Inventory For: Triggering Player

Open a chest at a fixed location for the triggering player:

  • Lookup By: Block Location, World: world, X: 100, Y: 64, Z: -200
  • Open Inventory For: Triggering Player

Open another player's inventory to inspect it:

  • Lookup By: Entity UUID, Entity UUID: %target_uuid%
  • Open Inventory For: Triggering Player

Oasis Admin Editor Documentation