ServerBossEventMixin#bridge$setAdventure(): Removed oldAdventure because there should not be two BossBars linked to one BossEvent (we must have one-to-one BossEvent<->BossBar link for natural bossbars (e.g. wither one) to be modified from api)
VanillaBossBarListener: Removed because it's unnecessary (it worked with ServerBossEvent while ServerBossEventMixin is BossBar.Listener itself, listener is added in bridge#setAdventure())
BossEventMixin#bridge$copyAndAssign() -> #bridge$copy(): impl$adventure and progress are set in bridge#setAdventure()
SpongeAPI | Sponge
Changes that may cause questions:
ServerBossEventMixin#bridge$setAdventure()
: RemovedoldAdventure
because there should not be twoBossBar
s linked to oneBossEvent
(we must have one-to-oneBossEvent
<->BossBar
link for natural bossbars (e.g. wither one) to be modified from api)VanillaBossBarListener
: Removed because it's unnecessary (it worked withServerBossEvent
whileServerBossEventMixin
isBossBar.Listener
itself, listener is added inbridge#setAdventure()
)BossEventMixin
#bridge$copyAndAssign()
->#bridge$copy()
:impl$adventure
andprogress
are set inbridge#setAdventure()
Everything else is pretty straightforward I think