mojira.dev
MC-187069

Visible Boss Bars appear empty upon restarting the game.

A visible boss bar with any max and value appears in the same state as a value of zero, regardless of the value and max upon exiting the game. Changing the value does not fix the issue, but setting visible to false and then back to true does.

What I expected to happen was...:
Boss bar would stay consistent upon reopening

What actually happened was...:
Just needed to make it invisible and then visible again

Steps to Reproduce:
1. Create a boss bar, set any max, and set any value.
2.  Restart the game.
3.  Boss bar should appear empty regardless of value. Changing the value does not fix, but making the boss bar invisible and visible again fixes the issue.

Linked issues

Comments 3

[MOD] Greymagic27

I'm unable to reproduce this in 1.16.1, are you able to reproduce this in the latest release or snapshot?

Master L

I was able to reproduce this, it may be from having the data stored and switching game version?

I had a minigame set up via datapack in 1.20 and upon updating it to 1.21 the bossbar was not showing any value despite /bossbar get value returning a value. Didn't change visibility but deleted the bossbar and let the datapack recreate it and it worked, just like with these steps

Arisa Bot

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Liam McEttrick

(Unassigned)

Unconfirmed

UI

20w22a

Retrieved