Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments regarding BossEventPacket are outdated #173

Open
inxomnyaa opened this issue Oct 26, 2022 · 1 comment
Open

Comments regarding BossEventPacket are outdated #173

inxomnyaa opened this issue Oct 26, 2022 · 1 comment
Milestone

Comments

@inxomnyaa
Copy link

inxomnyaa commented Oct 26, 2022

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

@SupremeMortal SupremeMortal added this to the 3.0.0.Alpha1 milestone Oct 26, 2022
@SupremeMortal
Copy link
Member

Will look into updating the docs for 3.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants