Mojira Archive
MC-273828

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

  1. Use the data pack Motion Detector.zip
  2. Start walking
    The predicate detects you are moving
  3. Stop walking
    The predicate still detects you are moving
  4. 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.

Fixed

[Mod] j_p_smith

[Mojang] Gegy

2024-06-24, 06:32 PM

2024-08-06, 10:08 AM

2024-08-06, 10:08 AM

4

2

Confirmed

Normal

Platform

Data Packs

1.21

24w33a