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
- Cause the player to take damage
- Notice how the health bar's whole background flashes white
- Heal said damage through any desired means
- Notice how the background again flashes white
- Cause the player's hunger bar to empty
- Notice no flashing
- Now refill the bar through eating
- 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
Created Issue:
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
- Cause the player to take damage
- Notice how the health bar's whole background flashes white
- Heal said damage through any desired means
- Notice how the background again flashes white
- Cause the player's hunger bar to empty
- Notice no flashing
- Now refill the bar through eating
- 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.
relates to
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
- Cause the player's health to decrement by taking damage
- Note that the center of the heart flashes brighter to highlight the lost amount of hearts
- Now cause the player's hunger to decrement through applicable activities
- 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.
Note: This is also reported on Java Edition at MC-237429.
There is a texture in the game's files called hunger_blink. The texture should be used to indicate either when the hunger bar empties or gets restored, similar to the heart one when the player takes damage, which makes the heart turn white, however, the hunger counterpart seems to be unused and never appears in-game. the texture can be located at the vanilla resource pack/textures/ui and at gui/icons.png as well.
Stepts to replicate
- Restore any hunger or make the bar go down
- Notice no flashing
- Make the healt bar go down
- Notice flashing.
Observed
When the player loses/gets hunger, the hunger bar does not flash, unlike the health bar. When the player takes damage or regenerate, the health bar does flash with the use of a similar texture from the hunger_blink one; however, the heart variant almost does not appear because of MCPE-33658.
Expected
The hunger bar should flash with a white overlay every time the player loses or gets hunger, like the healt bar does.
The bug
When the player is damaged or recovers health, the heart symbols above the hotbar will flash. However, when the player's hunger bar depletes or is refilled, the icons displayed above the hotbar will not blink in the same way, despite the existence of dedicated textures for this purpose. These textures are present in icons.png as of 1.20.1, but remain unused (MC-237428, MC-237429).
How to reproduce
- Take damage or recover health
- Get hungrier or eat something
- Compare visuals
Expected results
Flashing in both cases.
Actual results
It only happens for health - hunger does not perform the same animation.
How to fix
I've attached the six textures needed for this to work, extracted from a 1.20.1 icons.png file. These textures are to be placed in assets/minecraft/textures/gui/sprites/hud. Code changes will be required for the game to actually use these textures.




Can confirm
Affects 21w44a
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?