mojira.dev
MC-237326

Horse flashing heart texture is unused

The bug

icons.png appears to have two more textures dedicated to the horse's health bar, which are lighter versions of the horse heart, probably intended for displaying when the horse takes damage analogously to players. However, they never seem to display in game, and the health bar just abruptly decrements instead.

How to reproduce

  1. Get on a horse or other rideable animal which has its own visible health bar

  2. Cause the horse or other mount to get damaged

    1. Note that the bar just goes down with no effects

  3. Now take damage yourself

    1. Note how there is a flashing effect in the actual heart portion to indicate damage taken

Other thoughts

The screenshots attached to this ticket were taken using the poison effect to inflict damage on the horse. Unlike with player hearts, poison seems to have no visual effect on the health bar at all, and the wither effect as well as being frozen similarly have no effect. I'd definitely recommend adding these for consistency's sake since not having them isn't optimal.

I'd also strongly recommend splitting icons.png into its constituent sprites (or at least some of them), as having them in an atlas like this is problematic for many reasons.

Attachments

Comments 8

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.

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, 21w44a, 1.18.1, 1.19, 1.19.2, 1.19.3, 23w03a, 1.19.4, 23w14a

23w31a

Retrieved