Appearance
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
| Setting | Type | Required | Default | Description |
|---|---|---|---|---|
| Lookup By | Select | Yes | Triggering Player | How to locate the inventory holder. |
| Entity UUID | String | Yes (if Entity UUID) | — | UUID of the entity. Works for any entity that holds an inventory (players, horses, minecart chests, etc.). Placeholders allowed. |
| World | String | Yes (if Block Location) | %world% | World containing the block. Placeholders allowed. |
| X / Y / Z | String | Yes (if Block Location) | %x% / %y% / %z% | Coordinates of the block. Placeholders allowed. |
| Open Inventory For | Select | Yes | Do Not Open | Whether to open the found inventory for a player. |
| Viewer Username | String | Yes (if Specific Player) | — | Username of the player to show the inventory to. Placeholders allowed. |
Lookup By options
| Value | Label | Description |
|---|---|---|
triggering_player | Triggering Player | Opens the inventory of the player who triggered the flow. |
entity_uuid | Entity UUID | Looks up any entity by UUID (Bukkit.getEntity(UUID)). Supports players and mobs. |
block_location | Block Location | Opens the inventory of a container block (chest, barrel, shulker box, etc.) at the given coordinates. |
Open Inventory For options
| Value | Label | Description |
|---|---|---|
none | Do Not Open | Locates the inventory without showing it to anyone. |
triggering_player | Triggering Player | Shows the inventory to the triggering player. |
specific | Specific Player | Shows 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
