mojira.dev
MC-164847

Riptide spinning animation not showing when using riptide after just coming out of water

The bug

The riptide spinning animation not showing when using riptide after just coming out of water. You will just get launched and the animation isn't showing and the sound isn't playing.

Example

Here is an example in video:

[media]

Linked issues

Attachments

Comments

bugsbugsbugs

Affects 1.16-rc1

bugsbugsbugs

May be easier to reproduce when having slow falling.

Hunter M

This bug seems to occur because the client and server disagree on the client's position, because of this line in ClientPlayerEntity:

boolean flag1 = d4 * d4 + d0 * d0 + d1 * d1 > 9.0E-4D || this.positionReminder >= 20;

This stops the client sending small movements under 0.03 blocks to the server.  The easiest fix would be changing that line to this line:

boolean flag1 = d4 * d4 + d0 * d0 + d1 * d1 > 0 || this.positionReminder >= 20;

This would send all movements to the server and would prevent this desync.

 

Affects 1.17.1

[Mod] Jingy

Can confirm in the latest version. 1.20.2 and 23w45a:

[media]

JaloSenpai

(Unassigned)

Confirmed

Networking, Player Animation

animation, riptide, spinning

Minecraft 18w15a, Minecraft 18w19b, 19w44a, 1.15 Pre-release 3, 1.15 Pre-release 6, ..., 1.18 Pre-release 1, 1.18.1, 1.19, 1.20.4, 24w09a

Retrieved