mojira.dev
MC-234665

Player takes damage when exiting the water if they collide with a ceiling and an adjacent block

Moved from MC-220390 to here.

The bug

If you get out of the water while sprint-swimming and collide with a ceiling and another adjacent block, you will take suffocation damage.

How to reproduce

  1. Go to an ocean.

  2. Create this L-shaped structure above water with solid blocks:

    A : air
    S : solid block
    W : water
    
    A S S A
    A S A A
    W W W W
  1. In survival mode, start swimming (W + Ctrl).

  2. Exit the water (holding W + Ctrl + Space) and collide with the inside corner of the structure.
      ❌  You will take unexpected damage.

Examples

[media]
[media]

 

Linked issues

Attachments

Comments 4

Duplicate of MC-233582.

This report was originally on MC-220390 (before MC-233582), I decided to split it up as they seem a bit different to me now.

But I can still upload my videos to MC-233582 if this is marked as a duplicate.
 

Since MC-233582 was created before MC-234665, I think this should be marked as duplicate.

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

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

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

SoloAlguien

(Unassigned)

Unconfirmed

(Unassigned)

hitbox, player, suffocate, swim

1.17.1, 21w37a

Retrieved