All versions
1.0
Release
D D M B T T (Diagonal Support)last year 134
Compatibility
Minecraft: Java Edition
1.21โ1.21.5
1.20.6
Platform
Resource Pack
Changes
โ Supported Inputs
Sneaking
Triggers when the player is holding the sneak key (default: Shift)
Overrides all other inputs
Supports 8-direction movement:
Forward, Backward, Left, Right
Diagonals: Forward-Left, Forward-Right, Backward-Left, Backward-Right
Sprinting + Movement
Triggers when sprint key is held (default: Ctrl)
Directional combinations include:
Sprint + Forward
Sprint + Forward-Left / Forward-Right
Sprint + Backward / Backward-Left / Backward-Right
Sprint + Left / Right
Only activates if Sneak is not pressed
Directional Movement (Walking)
Triggered when neither Sprint nor Sneak is held
Supports:
Forward, Backward, Left, Right
Diagonals: Forward-Left, Forward-Right, Backward-Left, Backward-Right
Still
When no directional keys are pressed
๐ง Behavior Notes
Conditions are checked in priority order; higher inputs override lower ones
Diagonal detection is now supported for Sneaking, Sprinting, and Walking
Only key inputs are evaluated โ no tracking of mouse, velocity, or physics-based movement
๐งญ Priority Summary (Highest to Lowest):
key.sneak + directional keys (including diagonals)
key.sprint + key.forward (and diagonals)
key.sprint + other directions (Left โ Backward โ Right)
Directional movement (Forward โ Left โ Backward โ Right โ diagonals)
No movement keys โ still
Root: Check if Sneak is pressed
โโโ Sneak (key.sneak) โ Directional checks:
โ โโโ Forward + Left โ sneaking_forward_left
โ โโโ Forward + Right โ sneaking_forward_right
โ โโโ Back + Left โ sneaking_backward_left
โ โโโ Back + Right โ sneaking_backward_right
โ โโโ Forward โ sneaking_forward
โ โโโ Backward โ sneaking_backward
โ โโโ Left โ sneaking_left
โ โโโ Right โ sneaking_right
โ โโโ None โ sneaking_still
โโโ Else โ Check Sprint
โโโ Sprint (key.sprint) โ Directional checks:
โ โโโ Forward + Left โ sprinting_forward_left
โ โโโ Forward + Right โ sprinting_forward_right
โ โโโ Back + Left โ sprinting_backward_left
โ โโโ Back + Right โ sprinting_backward_right
โ โโโ Forward โ sprinting_forward
โ โโโ Backward โ sprinting_backward
โ โโโ Left โ sprinting_left
โ โโโ Right โ sprinting_right
โ โโโ None โ sprinting_still
โโโ Else โ Walking Directional checks:
โโโ Forward + Left โ forward_left
โโโ Forward + Right โ forward_right
โโโ Back + Left โ backward_left
โโโ Back + Right โ backward_right
โโโ Forward โ forward
โโโ Backward โ backward
โโโ Left โ left
โโโ Right โ right
โโโ None โ still


