Conditions 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 |
|---|---|---|---|---|---|
always | Advanced | bound | No | No | Always true (useful for testing) |
distance_from_marked | Advanced | bound | No | No | Distance from marked pos |
entity_within | Advanced | bound | No | No | Entity within range for duration seconds |
gui_closed | Advanced | bound | No | No | GUI is closed |
gui_open | Advanced | bound | No | No | GUI with title is open |
inventory_full | Advanced | bound | No | No | Inventory is full |
mob_within | Supported | bound | No | Yes | Mob within range for duration seconds |
no_players_nearby | Advanced | bound | No | No | No players within distance |
player_health | Advanced | bound | No | No | Health check operator: "lt", "gt", "eq", "le", "ge" |
player_nearby | Supported | bound | No | Yes | Any player within distance |
player_sneaking | Supported | bound | No | Yes | Player is sneaking nearby |
player_visible | Supported | bound | No | Yes | Player visible for duration seconds |
player_within | Supported | bound | No | Yes | Player lingering for duration seconds |
player_y | Advanced | bound | No | No | Y coordinate check |
random | Supported | bound | No | Yes | Random chance (0.0 to 1.0) |
tablist_contains | Advanced | bound | No | No | Tablist has matching entry |