-
Notifications
You must be signed in to change notification settings - Fork 0
Movement Predicates
theblackswitch edited this page Jan 1, 2026
·
2 revisions
Available since version 2.0
Movement checks are useful to check which movement buttons the player is pressing. Currently available movement_types are:
- backward_left
- backward_right
- backward
- forward_left
- forward_right
- forward
- jump
- left
- none
- right
- sneak
- sprint
execute if predicate #theblackswitch:<version>/<patch>/movement_check/<movement_type># check if the player is pressing sprint
execute if predicate #theblackswitch:v2.0/patch-0/movement/sprint
# check if the player isn't pressing any move buttons
execute if predicate #theblackswitch:v2.0/patch-0/movement/none
# please note that your versions may be differentThis feature is enabled by default and always accessable