Movement predicate is incorrect for stationary players until either mouse is moved or one second elapses
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.
2024-06-24, 06:32 PM
2024-08-06, 10:08 AM
2024-08-06, 10:08 AM
4
2