-
Bug
-
Resolution: Fixed
-
1.21
-
None
-
Confirmed
-
Data Packs
-
Normal
-
Platform
The bug
After a player stops moving, the new "movement" predicate continues to detect motion for precisely one more second. Moving the mouse during this time corrects this error.
How to reproduce
- Use the data pack Motion Detector.zip
- Start walking
→The predicate detects you are moving
- Stop walking
→The predicate still detects you are moving
- Move your mouse OR wait one second
→The predicate detects you are stationary
Expected behaviour
The "movement" predicate should detect your speed as 0 as soon as you stop moving, without you having to move your mouse or wait.