mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Add API to manipulate "glowing" state of an Entity.
When an Entity is "glowing" they will have an outline around them as if they have been hit by a Spectral Arrow.
This commit is contained in:
parent
2023127d55
commit
d2656274bf
1 changed files with 14 additions and 0 deletions
|
@ -342,4 +342,18 @@ public interface Entity extends Metadatable, CommandSender {
|
|||
* @return if the custom name is displayed
|
||||
*/
|
||||
public boolean isCustomNameVisible();
|
||||
|
||||
/**
|
||||
* Sets whether the entity has a team colored (default: white) glow.
|
||||
*
|
||||
* @param flag if the entity is glowing
|
||||
*/
|
||||
void setGlowing(boolean flag);
|
||||
|
||||
/**
|
||||
* Gets whether the entity is glowing or not.
|
||||
*
|
||||
* @return whether the entity is glowing
|
||||
*/
|
||||
boolean isGlowing();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue