Currently, you can use scoreboards to detect jumping:
/scoreboard objectives add jump minecraft.custom:minecraft.jump
But you cannot detect crouching at all! You can detect the time crouched, and the amount walked while crouching, but data packs don't like that! It would be nice to have something like this work:
/scoreboard objectives add crouch minecraft.custom:minecraft.crouch
Please sign in to leave a comment.
1 Comments