mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-20 05:14:15 +00:00
#548: LivingEntity - add methods for getting/setting invisibility
This commit is contained in:
parent
d75d8a38c4
commit
ccb9614e95
1 changed files with 14 additions and 0 deletions
|
@ -591,4 +591,18 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
|||
*/
|
||||
@NotNull
|
||||
public EntityCategory getCategory();
|
||||
|
||||
/**
|
||||
* Sets whether the entity is invisible or not.
|
||||
*
|
||||
* @param invisible If the entity is invisible
|
||||
*/
|
||||
public void setInvisible(boolean invisible);
|
||||
|
||||
/**
|
||||
* Gets whether the entity is invisible or not.
|
||||
*
|
||||
* @return Whether the entity is invisible
|
||||
*/
|
||||
public boolean isInvisible();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue