geforkt von Mirrors/Paper
#548: LivingEntity - add methods for getting/setting invisibility
By: Shane Bee <shanebolenback@me.com>
Dieser Commit ist enthalten in:
Ursprung
9ff0ebcc6a
Commit
fbccd65ba8
@ -591,4 +591,18 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
|||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
public EntityCategory getCategory();
|
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();
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren