How to reproduce:
1. /scoreboard objectives add healthbar dummy (the objective is a dummy cititeria, name just healthbar''
2. /scoreboard objectives setdisplay sidebar healthbar
3. /summon Skeleton ~ ~1 ~ {SkeletonType:1,UUID:11111111-1111-1111-1111-111111111111}
4. /scoreboard players set @e healthbar 40
5. /scoreboard players set @e healthbar 9 {Health_min:6s}
What should happen, is that the objective for that entity get updated to 9, but it will not do that.
Comments 11
you put it completely wrong, use:
/scoreboard players set @e healthbar 9 {Health:6}
/scoreboard players set @e healthbar 9 {Health:5}
/scoreboard players set @e healthbar 9 {Health:4}
/scoreboard players set @e healthbar 9 {Health:3}
/scoreboard players set @e healthbar 9 {Health:2}
/scoreboard players set @e healthbar 9 {Health:1}
or use these:/scoreboard objectives add Health health/scoreboard players set @e[score_Health_min=6] healthbar 9
because what you tryed is putting a scoreboard selector argument in a data tag
just damage it, or heal it
forgot, Health scoreboard only works on players, you got to use the top one
Invalid
It's "score_Health_mind"