1、只需要用到非常簡單的計分板指令:
/scoreboard objectives add health
創建一個名字為“”的計分板,計分類型為血量。
2、輸入/scoreboard objectives setdisplay belowName
在玩家頭頂顯示分數就完成了,血量將在頭頂顯示。