Add removed bossbar methods
This commit is contained in:
parent
c600ab6dd1
commit
c24b673550
|
@ -13,6 +13,13 @@ public interface BossBar {
|
||||||
*/
|
*/
|
||||||
void setTitle(String title);
|
void setTitle(String title);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the current title
|
||||||
|
*
|
||||||
|
* @return the title
|
||||||
|
*/
|
||||||
|
String getTitle();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Change the health
|
* Change the health
|
||||||
*
|
*
|
||||||
|
@ -21,11 +28,11 @@ public interface BossBar {
|
||||||
void setHealth(float health);
|
void setHealth(float health);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the bossbar color
|
* Get the health
|
||||||
*
|
*
|
||||||
* @return
|
* @return float between 0F - 1F
|
||||||
*/
|
*/
|
||||||
BossColor getColor();
|
float getHealth();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Yay colors!
|
* Yay colors!
|
||||||
|
@ -34,6 +41,13 @@ public interface BossBar {
|
||||||
*/
|
*/
|
||||||
void setColor(BossColor color);
|
void setColor(BossColor color);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the bossbar color
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
BossColor getColor();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Change the bosbar style
|
* Change the bosbar style
|
||||||
*
|
*
|
||||||
|
@ -41,6 +55,13 @@ public interface BossBar {
|
||||||
*/
|
*/
|
||||||
void setStyle(BossStyle style);
|
void setStyle(BossStyle style);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the bosbar style
|
||||||
|
*
|
||||||
|
* @return BossStyle
|
||||||
|
*/
|
||||||
|
BossStyle getStyle();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show the bossbar to a player.
|
* Show the bossbar to a player.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue