The boss bar was already pretty good, but now is even better.
I implemented a BossMessage#progress, with 3 types of progress:
- UP ( from 0 health, to max health )
- DOWN ( from max health, to 0 )
- NONE ( default: do nothing with the health )
I also added a BossMessage#cancel method, which will cancel the boss bar. With this addition, I implemented a BossMessage#isCancelled, which will set to false automatically ( if true ), when calling the method BossMessage#scheduleBar
I modified BossMessage#update(String) to BossMessage#update(String, boolean). If true, the boss removal timer will restart, otherwise, it will just change the boss message.
For detailed info, read the new
javadocs