mojira.dev
MC-72736

Scoreboard Health Tab List Incorrectly Handles Absorption

The tab list has the VERY cool feature of showing everyone's hearts and whenever they take damage and regen.
However, it wrongly assumes that any health above 20 is absorption / gold and any health below 20 is not absorption.

Reproduction:
0. (Turn natural regen off to see results better)
0.5. /scoreboard objectives add health health
0.75. /scoreboard objectives setdisplay list health
1. Injure yourself (/tp @p ~ ~7 ~). You should be around 8 hearts. The tab display shows 8 red hearts.
2. Eat a regular golden apple.
3. As you regen, compare health hud and tab list. The hud immediately shows 2 gold hearts and then refills the red hearts from 8 to 10.
The list incorrectly jumps directly to 10 RED hearts and then shows 2 gold hearts filling.
It would be great (and advantageous in pvp games) if it was distinguished which hearts were absorption and which were not (especially since it can be confusing because absorption hearts cannot be regenned)

Attachments

Comments 3

This is a design decision and is working as intended. The first 10 hearts will always show up as red, the next ones golden.

Not trying to argue, just curious where this design decision came from. Got a dev tweet I could see so I could attempt to contact that dev?
A "design decision" that bases itself on complete error (the scoreboard does NOT do it's intended purpose correctly - display the hearts and absorption hearts of other players correctly) is a strange one indeed.

Two solutions - make all the hearts red (don't distinguish absorption or regular), or correct it to work the right way.

Dinnerbone from MC-68469:

It's a design choice that absorption hearts aren't properly displayed on the tab list; it's information about other players that I don't think you should know about. However, anything more than 10 hearts are shown as special because otherwise it's very hard to see at a glance that there are a high amount of hearts.

williewillus

(Unassigned)

Unconfirmed

Minecraft 1.8

Retrieved