mojira.dev
MC-264859

Regaining air when underwater without surfacing.

When swimming underwater in an uncovered body of water, if a player punches a mob and keeps swimming, they do not need to fully surface.

What I expected to happen was...:

That the air meter would keep going down, despite having punched a mob.

What actually happened was...:

The air meter increases when underwater by one block. Air also increases momentarily when going from one block underwater to increased depths.

Steps to Reproduce:
1. Get an uncovered body of water and swim in it.
2. Punch a mob and keep swimming.
3. Swim to one block depth in water, and then also deeper.

Linked issues

Attachments

Comments 2

Thank you for your report!
We're actually already tracking this issue in MC-129568, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote or any additional information to the main ticket it would be appreciated.

Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.

Quick Links:
📓 Bug Tracker Guidelines – 🛠 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 💬 Mojira Discord

Actually this seems more like MC-165802, so I will resolve as a duplicate of both.

Sabre

(Unassigned)

Unconfirmed

1.20.1

Retrieved