mojira.dev
MC-234534

Boss bar health bug

The bug: I'm gonna making the game as any kind in minecraft by modifying the boss bar value and max values is set to zero then boss bar value and max values is set to 20. Problem is /execute store result bossbar <ID> max run ... are affected.

Steps to reproduce:

Run the following commands:

Setup

/bossbar add a "@unknown"
/bossbar set a players @a

Set boss bar "value" and "max" to 0

/execute store result bossbar a value run data get entity b c
/execute store result bossbar a max run data get entity b c

Getting boss bar values

/bossbar get a value
/bossbar get a max

✔ Boss bar value shows 0
❌ Boss bar max shows 0
THEN

Set boss bar "value" and "max" to 100

/bossbar set a value 100
/bossbar set a max 100

Look up the boss bar
❌ It shows health is 0%
THEN

Set boss bar "value" to 25

/bossbar set a value 25

Look up the boss bar
❌ It shows health is 0%

Comments 0

No comments.

bughunter22

(Unassigned)

Unconfirmed

(Unassigned)

1.17.1

Retrieved