mojira.dev
MCPE-143064

Some BossEvent packet data is being ignored

The BossEvent packet doesn't appear to be fully implemented.

The color and overlay of the boss bar appears to be ignored and instead only uses the default color (purple). I'm not aware of there being an alternative to set the color of the boss bar.

 

The bossbar also requires an entity to be in the world, which I think is part of the reason why this info is ignored. For the sake of parity I think that it'd be a good idea to not require an entity for spawning a bossbar, but that's most likely better suited in a different issue.

 

Steps to Reproduce:

  1. Send an AddEntity packet

  2. Send a BossEvent packet (with the entity id of the AddEntity packet) and set one or more of the ignored info I described (color, overlay)

Observed Results:

The BossBar ignored the info I described.

Expected Results:

The BossBar uses the info in the BossEvent packet.

 

Edit for 1.18:

1.18 has finally implemented color support (see MCPE-46047 ). However, the overlay is still ignored.

Linked issues

Comments 8

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Could you please provide more details or/and media files. As such we have no repro of this issue.
Is this still an issue in the latest version (1.17.40)? If so, can you please add it to the affected versions (or mention it if you are not the reporter).

Please clarify using this format:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Health info and title are not ignored anymore, see https://github.com/thebigsmileXD/apibossbar/blob/master/src/xenialdan/apibossbar/BossBar.php#L353-L360 as an example. As of 1.18, only the overlays are not working.

Excuse me for that. I was already using the health info and title of the bossevent packet, but I solely relied on (apparently) outdated documentation (in my defence, I wrote that code in late 2019 hehe).

I'll update my description

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

This issue can be closed in favor of the issues MCPE-149499 which talks specifically about overlays and MCPE-46047 which talks about colors. This issue was meant for all missing fields (which were both colors and overlays at the time).

Tim203

(Unassigned)

Confirmed

Multiple

1.18.10.24 Beta, 1.17.30, 1.18.0.25 Beta, 1.17.41 Hotfix, 1.18.2 Hotfix, 1.18.12 Hotfix

Retrieved