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

The hearts for rideable mobs (horses, pigs, etc.) do not flash like player hearts do when healing or receiving damage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.1, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2, 1.20.2, 23w40a, 24w33a
    • Confirmed
    • UI

      The bug

      When the player is damaged or heals, the hearts displayed above the hotbar will blink accordingly. The same does not happen for horses and other rideable mobs, 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-237326, MC-237427).

      How to reproduce

      1. Take damage yourself
      2. Have a mob you're riding take damage
      3. Compare visuals

      Expected results

      Flashing in both cases.

      Actual results

      It only happens for the player - the rideable mob's decrease with no extra visual indication.

      How to fix

      I've attached the three 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/heart. Code changes will be required for the game to actually use these textures.

        1. 2023-08-17_00.43.42.png
          220 kB
          Connor Steppie
        2. 2023-08-17_00.44.04.png
          211 kB
          Connor Steppie
        3. vehicle_container_blinking.png
          0.1 kB
          Connor Steppie
        4. vehicle_full_blinking.png
          0.1 kB
          Connor Steppie
        5. vehicle_half_blinking.png
          0.1 kB
          Connor Steppie

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

              Created:
              Updated:
              CHK: