mojira.dev
MC-128846

Players can get stuck in their position and constantly jitter when attempting to swim through small spaces after having previously attacked an entity while swimming

The Bug:

Players can get stuck in their position and constantly jitter when attempting to swim through small spaces after having previously attacked an entity while swimming.

This is a direct product of MC-69459. Because the server thinks that the player is no longer sprinting after hitting an entity, the player cannot swim through small spaces causing them to constantly jitter.

Steps to Reproduce:

  1. Assemble the appropriate setup by using the commands provided below.

    /fill ~1 ~ ~1 ~17 ~4 ~17 minecraft:glass
    /fill ~2 ~ ~2 ~16 ~4 ~16 minecraft:water
    /fill ~2 ~2 ~9 ~16 ~2 ~9 minecraft:stone
    /summon minecraft:armor_stand ~9 ~2 ~5 {NoGravity:1b}
  2. Enter the water and begin swimming while continuously holding down the sprint key.

  3. Attack the armor stand and then attempt to swim under the line of stone blocks.

  4. Take note as to whether or not players can get stuck in their position and constantly jitter when attempting to swim through small spaces after having previously attacked an entity while swimming.

Observed Behavior:

Players can get stuck in their position and constantly jitter.

Expected Behavior:

Players would not get stuck in their position and constantly jitter.

Linked issues

Attachments

Comments 3

wobst.michael

Please check if that's still an issue for you in the latest 1.13 pre-release.

syarumi

This is probably caused by MC-220390.

Avoma

This is a direct product of MC-69459. I've updated this ticket accordingly to accurately reflect the problem here. Basically, because the server thinks that the player is no longer sprinting after hitting an entity, the player cannot swim through small spaces causing them to constantly jitter. Fixing MC-69459 would fix this issue (MC-128846).

This ticket also relates to MC-129568.

EDIT: Nevermind. This is a duplicate of MC-220390.

Aiden Insall

(Unassigned)

Community Consensus

Minecraft 18w16a, 1.16.1, 1.19.4

Retrieved