|
/** |
|
* Appears not to be implemented. Currently bar percentage only appears to change in response to the target entity's health. |
|
*/ |
|
UPDATE_PERCENTAGE, |
|
/** |
|
* Also appears to not be implemented. Title clientside sticks as the target entity's nametag, or their entity transactionType name if not set. |
|
*/ |
|
UPDATE_NAME, |
|
/** |
|
* Darken the sky when the boss bar is shown. |
|
*/ |
|
UPDATE_PROPERTIES, |
|
/** |
|
* Not implemented :( Intended to alter bar appearance, but these currently produce no effect on clientside whatsoever. |
|
*/ |
Over the time (especially with 1.18) some of those fields have been implemented.
The gophertunnel docs are partially updated:
https://github.com/Sandertv/gophertunnel/blob/0de533a5e490f127330818ffba2c96b93b813e69/minecraft/protocol/packet/boss_event.go#L42-L59
I can confirm that the
title and
health percentage properties are working if the
BossEntityUniqueID equals the player's UUID, i have not been able to test if they work with an actual entity yet though.
Protocol/bedrock/bedrock-common/src/main/java/com/nukkitx/protocol/bedrock/packet/BossEventPacket.java
Lines 47 to 61 in 0358afc
Over the time (especially with 1.18) some of those fields have been implemented.
The gophertunnel docs are partially updated:
https://github.com/Sandertv/gophertunnel/blob/0de533a5e490f127330818ffba2c96b93b813e69/minecraft/protocol/packet/boss_event.go#L42-L59
I can confirm that the
titleandhealth percentageproperties are working if theBossEntityUniqueIDequals the player's UUID, i have not been able to test if they work with an actual entity yet though.