mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07: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:
@@ -342,4 +342,18 @@ public interface Entity extends Metadatable, CommandSender {
|
|||||||
* @return if the custom name is displayed
|
* @return if the custom name is displayed
|
||||||
*/
|
*/
|
||||||
public boolean isCustomNameVisible();
|
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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user