There's a bug when you walk in those versions, so you take in your hand a sword, you hit the ground with the sword.
As you can see there's some rollback only in creative mode.
And for me it's a bug.
Linked issues
Comments


Duplicate of MC-157436
Duplicate of MC-157436
Can reproduce on Vanilla 1.15.2. And if you click fast enough (like with a 100 CPS mouse), you won't move at all.
Also can reproduce on 20w15a (haven't tried 20w17a).