2

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!

  • 4
    Have you made any attempt to solve this yourself? Arqade works better when askers show effort to solve their own problems; we see that you have a problem you've worked on, and answerers respond to that. You also get a more specific answer that's tailored exactly to the part you're stuck, and Arqade gets a very specific question. Everybody wins! – Frank Jan 24 '16 at 0:46
  • @happyMelonday_ There appears to be a good answer that reasonably answers your question. Ignoring Frank, it's considered good etiquette to accept an answer that works. – Ryan The Leach Jan 14 '18 at 10:16
13

Create an objective for players' health values:

/scoreboard objectives add health health

Set the objective to display in the TAB list:

/scoreboard objectives setdisplay list health
| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.