All versions
1.0
Release
Dev's Directional Movement Based Textures Templatelast year 32
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
Sprinting + Forward
Triggers when both sprint and forward keys are held (default: Ctrl + W)
Only activates if Sneak is not pressed
Sprinting + Other Directions
Sprint + Left / Back / Right
Detected after sprinting forward fails
Directional Movement
Forward
Left
Backward
Right
These are checked only when sprinting is not active
Still
When none of the above keys are held
๐ง Behavior Notes
Conditions are checked in order, meaning higher inputs override lower ones
This supports only one direction at a time, based on the order of evaluation (no diagonal detection)
Only key inputs are tracked โ no use of mouse movement, velocity, or other gameplay states
๐งญ Priority Summary (Highest to Lowest):
-
key.sneak -
key.sprint + key.forward (Sprint Forward) -
key.sprint + movement keys (Left โ Back โ Right) -
key.forward -
key.left -
key.back -
key.right -
No movement keys โ still
Root: Check if Sneak is pressed
โโโ Sneak (key.sneak) โ custom_item_models/bucket/sneaking
โโโ Else โ Check Sprint
โโโ Sprint (key.sprint) โ Check Forward
โ โโโ Forward (key.forward) โ custom_item_models/bucket/sprinting
โ โโโ Else โ Check Left
โ โโโ Left (key.left) โ custom_item_models/bucket/left
โ โโโ Else โ Check Back
โ โโโ Back (key.back) โ custom_item_models/bucket/backwards
โ โโโ Else โ Check Right
โ โโโ Right (key.right) โ custom_item_models/bucket/right
โ โโโ Else โ custom_item_models/bucket/still
โโโ Else โ Check Forward
โโโ Forward (key.forward) โ custom_item_models/bucket/forwards
โโโ Else โ Check Left
โโโ Left (key.left) โ custom_item_models/bucket/left
โโโ Else โ Check Back
โโโ Back (key.back) โ custom_item_models/bucket/backwards
โโโ Else โ Check Right
โโโ Right (key.right) โ custom_item_models/bucket/right
โโโ Else โ custom_item_models/bucket/still


