Bossbar names that have scores don't update as intended after exiting and re-entering the world
The Bug
Bossbar names that have scores won't update properly after exiting and re-entering the world.
How to Reproduce:
1. Input these 5 commands:
/scoreboard objectives add score dummy
/scoreboard players set player score 5
/scoreboard objectives setdisplay sidebar score
/bossbar add minecraft:boss ["",{"text":"Boss: "},{"score":{"name":"player","objective":"score"}}]
/bossbar set minecraft:boss players @a
You should see Boss: 5 at the top of your screen, and a score of 5 in the sidebar.
2. Input these 2 commands:
/scoreboard players add player score 5
/bossbar set minecraft:boss name ["",{"text":"Boss: "},{"score":{"name":"player","objective":"score"}}]
As intended, you should see Boss: 10 at the top of your screen, and a score of 10 in the sidebar.
3. Exit and re-open your world.
4. Repeat step 2. This time, you'll see Boss: 10 at the top of your screen, and a score of 15 in the sidebar.
No matter how much you try to update the name of the bossbar, you'll get the error feedback:
Nothing changed. That's already the name of this bossbar
That's a different result from what we got before.
You can give the bossbar different JSON and it'll update, but as long as the same JSON is being used, we can no longer update the score that appears in the bossbar name.
Linked Issues
is duplicated by1
- Fixed
Paint- 6
- 4
- Confirmed
- Commands
- JSON bossbar score
18w31a - 20w16a
18w31a 18w32a 18w33a 1.13.1-pre1 1.13.1-pre2 1.13.1 1.13.2 18w43b 18w43c 18w44a 18w45a 18w46a 1.14.4 19w34a 19w36a 19w37a 19w38b 19w39a 19w40a 19w42a 19w44a 19w45a 19w45b 1.15-pre1 1.15-pre2 1.15-pre3 1.15-pre4 1.15 1.15.1 1.15.1-pre1 1.15.2-pre2 1.15.2 20w06a 20w07a 20w09a 20w10a 20w11a 20w13a 20w14a 20w15a 20w16a- 20w17a
Created Issue:
Bossbar names that have scores don't update as intended after exiting and re-entering the world
The Bug
Bossbar names that have scores won't update properly after exiting and re-entering the world.
How to Reproduce:
1. Input these 5 commands:
/scoreboard objectives add score dummy /scoreboard players set player score 5 /scoreboard objectives setdisplay sidebar score /bossbar add minecraft:boss ["",{"text":"Boss: "},{"score":{"name":"player","objective":"score"}}] /bossbar set minecraft:boss players @aYou should see Boss: 5 at the top of your screen, and a score of 5 in the sidebar.
2. Input these 2 commands:
/scoreboard players add player score 5 /bossbar set minecraft:boss name ["",{"text":"Boss: "},{"score":{"name":"player","objective":"score"}}]As intended, you should see Boss: 10 at the top of your screen, and a score of 10 in the sidebar.
3. Exit the game and re-open your world.
4. Repeat step 2. This time, you'll see Boss: 10 at the top of your screen, and a score of 15 in the sidebar.
No matter how much you try to update the name of the bossbar, you'll get the error feedback:
Nothing changed. That's already the name of this bossbarThat's a different result from what we got before.
You can give the bossbar different JSON and it'll update, but as long as the same JSON is being used, we can no longer update the score that appears in the bossbar name.
The Bug
Bossbar names that have scores won't update properly after exiting and re-entering the world.
How to Reproduce:
1. Input these 5 commands:
/scoreboard objectives add score dummy /scoreboard players set player score 5 /scoreboard objectives setdisplay sidebar score /bossbar add minecraft:boss ["",{"text":"Boss: "},{"score":{"name":"player","objective":"score"}}] /bossbar set minecraft:boss players @aYou should see Boss: 5 at the top of your screen, and a score of 5 in the sidebar.
2. Input these 2 commands:
/scoreboard players add player score 5 /bossbar set minecraft:boss name ["",{"text":"Boss: "},{"score":{"name":"player","objective":"score"}}]As intended, you should see Boss: 10 at the top of your screen, and a score of 10 in the sidebar.
3. Exit
the gameand re-open your world.4. Repeat step 2. This time, you'll see Boss: 10 at the top of your screen, and a score of 15 in the sidebar.
No matter how much you try to update the name of the bossbar, you'll get the error feedback:
Nothing changed. That's already the name of this bossbarThat's a different result from what we got before.
You can give the bossbar different JSON and it'll update, but as long as the same JSON is being used, we can no longer update the score that appears in the bossbar name.
is duplicated by
The actual progress bar can become stuck on a value too.
Cannot reproduce in 20w19a. Looks like it's fixed.
It was most likely fixed in 20w17a. I'll check to be sure