Sandertv / gophertunnel

General purpose library for Minecraft Bedrock Edition software written in Go
MIT License
419 stars 95 forks source link

Comments regarding BossEvent packet are outdated #157

Closed inxomnyaa closed 1 year ago

inxomnyaa commented 1 year ago

https://github.com/Sandertv/gophertunnel/blob/0de533a5e490f127330818ffba2c96b93b813e69/minecraft/protocol/packet/boss_event.go#L42-L49 Those fields seem to be functional nowadays. I haven't gotten around to test them on actual entities, but if the BossEntityUniqueID matches the player's UUID, these fields can be used to update the health and title of the boss bar