mojira.dev
MC-165802

Oxygen bar can fill up while still underwater after briefly exiting swimming pose

The bug

After briefly exiting the swimming pose, a server-client desync can happen whether the player is in the swimming pose. This makes you able to refill your oxygen meter close to, but not above, the water surface.

This can be reproduced by e.g. killing a fish while swimming in full speed.

How to reproduce

  1. Find some water

  2. /summon cod

  3. start swimming

  4. Try to hit the cod without slowing down

  5. If you did not leave the swimming pose briefly, try again

  6. Otherwise swim close to the surface
    β†’ ❌ Your air bar refills

Linked issues

MC-277354 Swimming bug Resolved MC-264859 Regaining air when underwater without surfacing. Resolved MC-239422 Regain air bubbles before reaching water surface Resolved MC-241459 Underwater breathing Resolved MC-231084 Breathing Bar reset underwater Resolved

Attachments

Comments 27

Are there any bubble columns nearby? If not, can you please attach a short video of the issue occurring if possible?

This issue has been temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
πŸ““ Issue Guidelines – πŸ’¬ Community Support – πŸ“§ Customer Support – πŸ“– Game Wiki

No bubble columns nearby. Attached video file as well.

Does this happen in every world or just in that spot? If it is the latter, can you post the world file to the ticket? If the file size is too large, you may provide a link to it from another site.

This has happened on two different computers on two different worlds.

I also noticed that if I bob above water and go back down and repeat this a few times, the bar will sporadically fill and deplete even when completely submerged*

17 more comments

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! Please report any issues in Discord or Reddit

I have this issue on a 1.8 to 1.17 server

Can confirm in 1.19.3

Can confirm in 24w40a

Can confirm in 24w46a

Sachari

(Unassigned)

Confirmed

Gameplay

Low

Networking, UI

oxygen, swimming, water

19w46b, 1.15 Pre-Release 2, 1.15, 1.15.1, 1.15.1 Pre-release 1, ..., 1.20.1, 1.21.1, 24w46a, 1.21.5, 1.21.8

20w22a

Retrieved