mojira.dev
MC-265220

Air bubble popping icon will appear for longer when wearing a helmet with the Respiration enchantment

Relates to MC-261324 and MC-265218.

The bug

When a helmet with Respiration is equipped, the "popping" icon for the air bar will remain on screen for a longer period of time than if no Respiration armor is equipped.

Expected results

The "pop" icon would remain on screen for the same amount of time, regardless of equipped enchantments.

Actual results

Respiration extends the length of time this sprite can be seen.

Comments 1

The rendering of gui/sprites/hud/air_bursting.png is contingent upon the Air NBT tag (<Air>). Specifically, it appears when "<Air> mod 30" equals a value from 1 to 3. This tag decreases while underwater without the water breathing or conduit power effect, as long as it remains greater than -20. Upon reaching -20, drowning damage is incurred, and the tag resets to 0. When not submerged, the value increases until it reaches 300. While equipped with armor featuring the Respiration enchantment, the rate at which the Air NBT tag decreases diminishes. Consequently, the depletion of air bubbles occurs more gradually, and the pace of drowning damage accumulation slows down. Consequently, the gui/sprites/hud/air_bursting.png remains visible for an extended duration as a result of this effect. Rectifying this seemingly unintended behavior, as indicated by the bug report's priority from Mojang, necessitates a redesign of the underlying system.

muzikbike

(Unassigned)

Confirmed

Platform

Low

UI

hud-status-icons

1.20.1, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2, 24w45a

Retrieved