Closed Elikill58 closed 2 months ago
Using adventure's bossbar classes would be a lot nicer to work with
Using adventure's bossbar classes would be a lot nicer to work with
That's can be difficult as only one action has informations about the full bossbar, else it's only a part of it. Should I add something that is a partial bossbar, return null when not full or do nothing?
I meant using Bossbar.Color, etc. Not constructing adventure bossbar objects
Oh yes, it's good idea. I just made changes about this :)
could you also parse the flags sent in the packet?
I'll check. It will require more testing as it's more versions depending
That's it! :) (Note: please don't forget to squash, it's better)
Thanks for your PR.
This PR add a wrapper for
BOSS_BAR
packet.I pre-answer few questions:
Color
enum to prevent switch/case to read color. It also help to other developer to only use right colorsI suggest you to Squash and merge. That's would be perfect.