BossBar:
+ Updated the wiki entry:
https://herbystar.eu/wiki/bossbar/
+ Does now also work for all 1.8 versions!
+ TTA_Methods.setBossBar(Player p, String text, float health, boolean fixViewDirectionUpdater) - create a bossbar for the specified player
- p = player
- text = message shown above bossbar
- health = 0-100 bossbar indication
- fixViewDirectionUpdater = if true, the bossbar will be updated every 2 seconds to fix not showing at some view directions (set this to false if you use this method multiple times in 2 seconds else to true)
- 1.8 only method! Use TTA_Methods.createBossBar(..) for a 1.9+ bossbar
+ TTA_Methods.hasBossBar(Player player) = check if the player has a bossbar
(works for both the 1.8 & 1.9+ bossbar)
+ TTA_Methods.removeBossBar(Player player) = remove the player's bossbar
(works for both the 1.8 & 1.9+ bossbar)
Utils:
- Two new classes are now static accessible (de.Herbystar.TTA.Utils package)
+ Position class = two functions for player compass position & coordinates equivalent
+ Reflection class = several utilities for easier use of NMS / reflections to bypass MC version imports