1

Command problem Minecraft 1.15.2

MainsaRZ 4/13/20 11:50 pm history
188
4/14/2020 12:54 am


I'm not a command expert, but I can follow certain tutorials
Use the command
/ scoreboard objectives add a health Life
/ scoreboard objectives setdisplay list a
And by using the commands
/ team add example
/ team modify example prefix {"text": "[​example]", "color": "dark_aqua", "bold": "true"}
Hearts of that color appear
I use minecraft 1.15.2 without mods or optifine
If someone knows what I am doing wrong and how to solve the error I would appreciate it
Sorry for my English
Posted by
MainsaRZ
Level 1 : New Miner
1

  Have something to say?

JoinSign in

4

garlicbreathinator
04/14/2020 12:00 am
Level 33 : Artisan Loremaster owo
Let me make sure you are not misunderstanding anything.



The hearts do not appear until the value has been updated. This happens when you take damage or heal.

You do not expect the hearts to be the same color as the prefix, do you? The hearts are always the same color as the normal health bar.
2
MainsaRZ
04/14/2020 12:05 am
Level 1 : New Miner
some way that the prefix does not affect hearts?
1
garlicbreathinator
04/14/2020 12:26 am
Level 33 : Artisan Loremaster owo
The prefix does not affect the hearts.



I also need to tell you that the command

/scoreboard objectives add a health Life
is wrong and should not work. The fixed version is
/scoreboard objectives add a health {"text":"Life"}
1
MainsaRZ
04/14/2020 12:54 am
Level 1 : New Miner

delete the previous scoreboard
and use
/scoreboard objectives add a health {"text": "Life"}
then
/scoreboard objectives setdisplay list a
and hearts follow from that color
I also deleted and returned to make the team


I have noticed that if the first digit is white the hearts fix
/team modify example prefix [{"text":"º","color":"white","bold":"true"},{"text":"[example]","color":"dark_aqua","bold":"true"}]


although this solution is not to my liking
1

Welcome