mojira.dev
MC-1093

Air depleting in shallow water but gauge not shown

I have created a situation where breath is depleting but the gauge is not shown in shallow water.

Expected:
Either gauge is shown or breath does not deplete.

Actual:
The gauge is hidden but still depletes, resulting in unexpected damage.

Reproducing:
Unknown. A world is attached with a block that exhibits the bug.
To show the bug, step in the still water that Steve faces when the world loads. Even though the breath meter is not shown, it is depleting behind the scenes. To show it, press the crouch key and it will appear until Steve stops crouching, but will not refill when he does.

Linked issues

Attachments

Comments 2

I recreated the bug here: http://www.youtube.com/watch?v=JeZcGdI9ueY

Two blocks away the water source block, the breath is depleting, but the player can not see it depleting unless he or she dives under water again. It looks like you're going to survive, but instead you're drowning.

Thomas

(Unassigned)

Unconfirmed

water

Minecraft 1.4.2

Retrieved