Skip to main content

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.

MemberStabilityVerificationAI-runnableOfficial usePurpose
alwaysAdvancedboundNoNoAlways true (useful for testing)
distance_from_markedAdvancedboundNoNoDistance from marked pos
entity_withinAdvancedboundNoNoEntity within range for duration seconds
gui_closedAdvancedboundNoNoGUI is closed
gui_openAdvancedboundNoNoGUI with title is open
inventory_fullAdvancedboundNoNoInventory is full
mob_withinSupportedboundNoYesMob within range for duration seconds
no_players_nearbyAdvancedboundNoNoNo players within distance
player_healthAdvancedboundNoNoHealth check operator: "lt", "gt", "eq", "le", "ge"
player_nearbySupportedboundNoYesAny player within distance
player_sneakingSupportedboundNoYesPlayer is sneaking nearby
player_visibleSupportedboundNoYesPlayer visible for duration seconds
player_withinSupportedboundNoYesPlayer lingering for duration seconds
player_yAdvancedboundNoNoY coordinate check
randomSupportedboundNoYesRandom chance (0.0 to 1.0)
tablist_containsAdvancedboundNoNoTablist has matching entry