mojira.dev
MC-207252

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

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.

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media][media]
anthony cicinelli

Updated the report to only mention poison due to MC-224159

migrated

I don't think MC-224159 is the same issue. MC-224159 is about absorption hearts not using wither texture while this is about the inability to give absorption hearts unique poisoned and withered textures.

muzikbike

This report is about it no longer being possible, rather than it not being possible in the first place. As the ticket has also been triaged changing the scope is also not advisable.

anthony cicinelli

Ah misunderstood the report thanks

migrated

This should probably also include freezing.

migrated

The unique frozen, withered and poison absorption hearts should be included in the default resource pack (I think)

muzikbike

(Unassigned)

Confirmed

Platform

Normal

Textures and models

hud-status-icons, icons.png

20w49a

Retrieved