mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-12 10:31:37 +01: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. By: md_5 <git@md-5.net>
This commit is contained in:
parent
b54073a1e1
commit
08d16b85fb
@ -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…
Reference in New Issue
Block a user