I really need to know how to set a command where the health of a player can be seen when you press TAB in-game. It must show the players amount of hearts as displayed on the top of their hotbar in-game. I hope you get the point of what I'm trying to say and I hope you can help me!
Minecraft – How to add a scoreboard listing the health of other players when I press TAB
minecraft-commandsminecraft-java-edition
Best Answer
Create an objective for players' health values:
Set the objective to display in the TAB list: