-
Bug
-
Resolution: Unresolved
-
None
-
1.20.1, 1.20.2 Pre-release 2, 1.20.2 Pre-Release 4, 1.20.2, 1.21.3, 24w45a
-
Confirmed
-
Textures and models, UI
Relates to MC-224159, MC-226845 and MC-226846 as these also concern the absorption bar not having dedicated textures for certain situations.
The bug
The background "container" textures placed behind absorption hearts point to the same texture files that are used for the backgrounds of normal non-absorption hearts. This forbids resource pack creators from customizing the absorption heart container independently of the normal heart background, which is not ideal if a different shape is given to absorption hearts for example.
It's established that the absorption bar differs in function to other health bars due to factors such as the resolution of MC-206792, the usage of separate textures for hearts, fully empty hearts outright disappearing from the bar and so on, so it'd be expected that a separate (if visually identical) background texture would be used like is the case for horse hearts and hardcore hearts, but this does not happen.
How to reproduce
A resource pack is attached to this issue that only changes the textures "container.png" and "container_blinking.png" in the texture directory gui/sprites/hud/heart.
- Download and apply the attached resource pack
- Eat a golden apple in a non-Hardcore survival world
- Observe
Expected results
As container.png and container_blinking.png have been modified, the hearts on the normal health bar would have a different looking background, but the absorption hearts would not.
Actual results
The normal health bar heart background textures are changed as expected, but so are the absorption heart background textures, which should not happen.
How to fix
Two textures would be introduced to gui/sprites/hud/heart: one called "absorbing_container.png" and another called "absorbing_container_blinking.png", which would be duplicates of the existing "container.png" and "container_blinking.png" textures respectively but used for absorption hearts instead of normal hearts.
As a proof of concept, I've attached four concept sprites for this purpose instead of two: "absorbing_container_half.png" and "absorbing_container_half_blinking.png" would be used for half-hearts due to the fact that full hearts are deducated from the absorption bar when lost - these containers would reflect that fact rather than leaving an empty half behind as it does currently.
- relates to
-
MC-271330 All three rods of a breeze cannot be independently retextured
- Open
-
MC-271355 The right/left ears, and four legs of a panda cannot be independently retextured
- Open
-
MC-271368 The right and left wings of a vex cannot be independently retextured
- Open
-
MC-271383 The right and left arms of a snow golem cannot be independently retextured
- Open
-
MC-271384 The right/left wings and feet of a chicken cannot be independently retextured
- Open
-
MC-271515 The mushrooms on the red and brown mooshroom cows cannot be independently retextured from their block textures
- Open
-
MC-271773 The right/left arms and legs of all skeleton variants cannot be independently retextured
- Open
-
MC-271983 The right/left ears, front legs, and back legs of a polar bear cannot be independently retextured
- Open
-
MC-274246 The legs of a pig cannot be independently retextured
- Resolved
-
MC-274247 The right/left top, middle, and bottom hair planes of a strider cannot be independently retextured
- Resolved
-
MC-270530 Horses, donkeys, mules, llamas and camels all use the same inventory texture file
- Open
-
MC-271232 The warden's right and left ribcages cannot be independently retextured
- Open
-
MC-271354 The right/left horns and ears of a goat cannot be independently retextured
- Open
-
MC-271357 The front and back legs of a fox cannot be independently retextured
- Open
-
MC-271363 The right and left wings of a phantom cannot be independently retextured
- Open
-
MC-271767 The four legs and right/left ears of a wolf cannot both be independently retextured
- Open
-
MC-271769 The two ears and four legs on the wolf collar model cannot both be independently retextured
- Open
-
MC-273061 Inner and outer textures for beacon beam cannot be textured independently
- Open
-
MC-273062 Inner and outer textures for end gateway beam cannot be textured independently
- Open
-
MC-271334 The twelve rods of a blaze cannot be independently retextured
- Resolved