Add API to manipulate boss bar of entities and those created by commands

By: Yannick Lamprecht <yannicklamprecht@live.de>
This commit is contained in:
Bukkit/Spigot
2018-11-10 20:22:05 +11:00
parent 905e0f7cac
commit 4782571b82
6 changed files with 169 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
package org.bukkit.entity;
import org.bukkit.boss.BossBar;
/**
* Represents the Boss Entity.
*/
public interface Boss extends Entity {
/**
* Returns the {@link BossBar} of the {@link Boss}
*
* @return the {@link BossBar} of the entity
*/
BossBar getBossBar();
}