Display Hearts DH is built with clean code to run smoothly on multiplayer servers without causing lag. If you have the data pack running on your server or LAN world but cannot see the hearts under other players' names, check these common vanilla mechanics.
Check Vanilla Nametag Visibility Rules
Because the health icons are attached directly below the player's nametag, anything in vanilla Minecraft that hides a nametag will also hide the heart display:
- Sneaking and Crouching: When another player holds their sneak key and is behind blocks, or even while out in the open, their nametag dims and becomes invisible through walls. Have the player stand up normally in your direct line of sight to see their hearts.
- Invisibility Status Effect: Players under the effect of an Invisibility potion have their nametags completely hidden, which also conceals their red and yellow heart icons.
- HUD Hidden (F1 Mode): Make sure you have not accidentally pressed
F1, which hides all in-game overlays and player nametags on your screen.
Triggering a Health Update
If a player just joined the server for the first time after the data pack was enabled and their health row looks blank, have them update their health state:
1. Ask the player to take a tiny amount of damage (such as a short fall) or eat a Golden Apple to gain yellow absorption hearts.
2. Look below their nametag again to verify that the red, darker half-heart, or yellow absorption icons appear.