Skip to content

Comments regarding BossEventPacket are outdated #173

@inxomnyaa

Description

@inxomnyaa

/**
* 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions