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

Absorption hearts can no longer be given unique poisoned/withered textures via resource packs

XMLWordPrintable

    • Confirmed
    • Textures and models
    • Normal
    • Platform

      note: as icons.png has finally been split as of 23w31a, this ticket will need redone.

      The bug

      In 20w48a and prior, by modifying icons.png, it was possible for absorption hearts to be given unique textures for when under the poison or wither status effects. The regions corresponding to these hearts was left blank in vanilla (hence MC-18880), however they could be filled in with a custom icons.png (see attached) and would work as expected. However, as of 20w49a, these custom hearts will no longer be displayed, which breaks any resource packs which used this feature previously.

      To reproduce, use the attached resource pack, which changes the heart texture spaces accordingly, and have absorption in combination with either wither or poison. Note how the extra hearts gain a unique texture in 20w48a, but not in 20w49a.

      To fix, the poisoned and withered absorption hearts could be reassigned to a new spot in icons.png (as to avoid conflict with frozen hearts and such) and given textures either duplicating normal absorption hearts (as to keep the current visuals while still allowing resource packs to change these) or new unique ones, although a better option would be to just split each heart into its own file as icons.png is already enough of a mess and was likely the reason this functionality went unheard of to the developers.

        1. 2020-12-02_17.42.10.png
          2020-12-02_17.42.10.png
          202 kB
        2. 2020-12-02_17.42.20.png
          2020-12-02_17.42.20.png
          279 kB
        3. 2020-12-02_17.42.51.png
          2020-12-02_17.42.51.png
          254 kB
        4. 2020-12-02_17.43.02.png
          2020-12-02_17.43.02.png
          261 kB
        5. 2020-12-02_17.45.44.png
          2020-12-02_17.45.44.png
          239 kB
        6. 2020-12-02_17.45.59.png
          2020-12-02_17.45.59.png
          236 kB
        7. 2020-12-02_17.46.21.png
          2020-12-02_17.46.21.png
          301 kB
        8. 2020-12-02_17.46.32.png
          2020-12-02_17.46.32.png
          257 kB
        9. heartfixtest.zip
          9 kB
        10. icons.png
          icons.png
          9 kB

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

              Created:
              Updated:
              CHK: