-
Bug
-
Resolution: Works As Intended
-
None
-
1.20.1, 23w32a, 23w33a
-
Confirmed
-
UI
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.