mojira.dev
MC-170605

Overflowed health in tab list uses number of hearts but is labelled as "hp"

The bug

When a player's health goes over 42HP (21 hearts), the tab list displays the player's health in fractional hearts but says it is "hp"; e.g., 22 hearts of health (44HP) is displayed in the tab list as "22hp". This is confusing as "HP" refers to half-hearts of damage/health, not hearts.

[media]

[media]

How to reproduce

  1. Open to LAN

  2. Type /scoreboard objectives add health health

  3. Type /scoreboard objectives setdisplay list health

  4. Go into Survival

  5. Type /effect give @s minecraft:absorption 30 5

  6. Press tab

  7. Type /effect give @s poison

  8. Hold Tab and watch as your health goes down.

 

Attachments

Comments 7

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 1.17.1.

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 22w19a.

Can confirm in 1.19.

Can confirm in 1.19.2.

Nixinova

(Unassigned)

Confirmed

Platform

Low

UI

1.15.2, 20w06a, 20w07a, 20w16a, 20w17a, ..., 24w20a, 1.21 Pre-Release 1, 1.21.1, 1.21.4, 1.21.10

Retrieved