The Bug:
The below_name score is displayed above entities whose name tag is hidden.
Since 26.4 Snapshot 4, the score line of a below_name scoreboard objective is drawn on its own whenever the entity is within 10 blocks, even when its name tag is hidden. It now floats above your own head in third person, above invisible mobs and players, and while the HUD is hidden.
Steps to Reproduce:
Create a test scoreboard objective, set it to display below names, and give yourself a score of 5 by using the commands provided below.
/scoreboard objectives add test dummy/scoreboard objectives setdisplay below_name test/scoreboard players set @s test 5Switch to third-person and observe if "5 test" is displayed above your own head.
Now summon a pig and give it some score using the commands provided below.
/summon minecraft:pig ~2 ~ ~ {NoAI:1b}/scoreboard players set @n[type=minecraft:pig,limit=1,sort=nearest] test 3Observe if "3 test" is displayed above the pig.
Observed Behavior:
The score line shows above your own head in third person, above invisible entities, and while the HUD is hidden.
Expected Behavior:
The score line would be hidden whenever the name tag is hidden, just like in prior versions.