Inventory API
This page is generated from a recorded Java binding inventory. Supported means an official script uses the member; it does not mean the member has passed focused and live acceptance testing.
| Member | Stability | Verification | AI-runnable | Official use | Purpose |
|---|---|---|---|---|---|
close | Experimental | bound | No | No | close current GUI (delegates to gui_close command) |
contains | Supported | bound | No | Yes | check if hotbar contains item |
count_items | Supported | bound | No | Yes | count total items matching pattern across entire inventory |
find_slot | Supported | bound | No | Yes | find hotbar slot matching pattern |
get_hotbar_items | Supported | bound | No | Yes | get all hotbar item names |
held_item | Experimental | bound | No | No | Held Item |
held_slot | Experimental | bound | No | No | Held Slot |
is_full | Supported | bound | No | Yes | check if inventory is full (moved from conditions) |
open | Experimental | bound | No | No | open player inventory |
select_slot | Supported | bound | No | Yes | select hotbar slot (moved from world.select_hotbar_slot) |