mojira.dev
MC-237429

Flashing hunger background texture is unused

The bug

The icons.png file contains an unused background slot texture for hunger icons which is white, which appears to be an analogue of the respective heart background texture, which appears when either taking damage or healing. However, this texture seems to be unused from hunger, and does not appear either when the bar empties or after eating.

How to reproduce

  1. Cause the player to take damage

    1. Notice how the health bar's whole background flashes white

  2. Heal said damage through any desired means

    1. Notice how the background again flashes white

  3. Cause the player's hunger bar to empty

    1. Notice no flashing

  4. Now refill the bar through eating

    1. Again, notice no flashing

Other thoughts

As stated before, splitting icons.png into multiple sprites is something I'd recommend and would probably help stop unused icons from accumulating in future.

Linked issues

Attachments

Comments 9

This behavior is present in 1.17.1 as well and isn't exclusive to the 1.18 snapshots.

Can confirm in 1.18.1.

Can confirm in 1.19.

This issue also has a BE counterpart: MCPE-156137

Can confirm in 1.19.2.

Can confirm in 1.19.3 and 23w03a

This texture appears to have been removed in 23w31a and therefore this ticket might qualify as fixed. Can anyone confirm?

muzikbike

(Unassigned)

Confirmed

Low

Textures and models

hud-status-icons, icons.png, unused-texture

1.17.1, 21w37a, 21w38a, 21w44a, 1.18.1, ..., 1.19.2, 1.19.3, 23w03a, 1.19.4, 23w14a

23w31a

Retrieved