mojira.dev
MC-237428

Flashing hunger icon texture is unused

The bug

The icons.png file contains the following four unused textures for the hunger bar: a lighter version of the full and half icon, as well as Hunger effect variants on both. These presumably are intended to be used when the hunger bar decrements, in an analogous way to taking damage causing hearts to flash. However, this does not happen, and the hunger bar just decrements quietly instead.

This ticket concerns the center region of the hunger icon - the outline flashing is reported separately under MC-237429 as it appears in slightly different circumstances.

How to reproduce

  1. Cause the player's health to decrement by taking damage

    1. Note that the center of the heart flashes brighter to highlight the lost amount of hearts

  2. Now cause the player's hunger to decrement through applicable activities

    1. Note how there is no flashing center region for the hunger bar in this case

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.

Attachments

Comments 5

I am able to confirm this in 1.17.1 and 21w38a. The expected behavior would be that the flashing hunger icon texture would be displayed when losing hunger.

Can confirm in 1.18.1.

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

(Unassigned)

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

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

23w31a

Retrieved