Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-237427

Horse flashing heart background texture is unused

XMLWordPrintable

    • Confirmed
    • (Unassigned)

      The bug

      Unlike with the player's health bar, the horse's health bar's background does not flash white either when taking damage or being healed. While this is closely related to MC-237326, it is not identical; it concerns the center of the hearts flashing rather than the outline, and only deals with taking damage rather than both damage and healing.

      This is despite the fact that horse/animal hearts do in fact have a dedicated texture in icons.png for flashing in situations like this, rendering it unused.

      How to reproduce

      1. Cause yourself to take damage, and then heal it
        1. Note that the outlines of the hearts flash white in the process
      2. Now cause a horse, pig or other rideable mob with a health bar to take damage, and heal it as well
        1. Note how the background hearts do not, in fact, flash white, even though they did for the player

      Other thoughts

      icons.png being a predefined texture atlas is problematic for many reasons. I would strongly recommend splitting it into its constituent sprites, as was done with terrain.png, items.png, particles.png and paintings_kristoffer_zetterstrand.png, to alleviate many problems, such as acknowledging the presence of unused icons like these and resolving their unusedness (either through their removal or by giving them use), alongside other problems such as allowing forwards compatibility.

        1. 2021-09-23_11.23.03.png
          2021-09-23_11.23.03.png
          209 kB
        2. 2021-09-23_11.23.32.png
          2021-09-23_11.23.32.png
          240 kB
        3. 2021-09-23_11.23.46.png
          2021-09-23_11.23.46.png
          139 kB
        4. 2021-09-23_11.28.06.png
          2021-09-23_11.28.06.png
          45 kB
        5. 2021-09-23_11.28.18.png
          2021-09-23_11.28.18.png
          415 kB
        6. 2021-09-23_11.28.31.png
          2021-09-23_11.28.31.png
          415 kB
        7. 2021-09-23_11.28.41.png
          2021-09-23_11.28.41.png
          416 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            10 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: