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!

2
  • 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, 2016 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 Leach
    Jan 14, 2018 at 10:16

1 Answer 1

15

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .