mojira.dev
MC-129568

Sprint swimming underwater and hitting a mob will stop the player from sprinting under certain conditions

This will only happen when you are sprint swimming underwater when you use a fully charged attack. If you are sprint swimming without going underwater (in "diving" mode) or spam-clicking while attacking a mob underwater, this will not work. It is really annoying and probably a bug because you can sprint attack without sprint mode stopping on land.

Linked issues

Attachments

Comments

migrated

When swimming, hitting something with a non-critical attack will make you stop swimming,

violine1101

According to MC-168204, this is caused by a client-server desync.

ItsTinay

Confirmed for 1.16 pre-release 3

gaspoweredpick

This is also happening on land. Should I make a new report, or add the information I found to this report?

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 1.17.1. I've attached a video demonstrating this behavior.

[media]
Avoma

Can confirm in 1.19.2. This behavior is the result of desynchronization between the client and the server. This ticket closely relates to MC-69459.

migrated

Video from my report that duplicated this one. This is a very annoying issue as the server thinks your hitbox is standing upright, causing you to get stuck on ceilings and can't swim through one-tall gaps.

https://www.youtube.com/watch?v=V42Vezw24Sw

SeaOfPixels

Works as intended, sprinting/swimming are stopped when an entity is hit, and a sprint-knockback attack is done.

gaspoweredpick

(Unassigned)

Confirmed

Platform

Normal

Player

Minecraft 18w19b, Minecraft 18w20c, Minecraft 18w21b, Minecraft 1.13-pre1, Minecraft 1.13-pre2, ..., 1.21.1, 24w36a, 1.21.2 Pre-Release 3, 1.21.3, 1.21.5

Retrieved