geforkt von Mirrors/Paper
SPIGOT-713: APIs to manipulate Entity's silent status.
By: Sansko1337 <sanderknauff@hotmail.com>
Dieser Commit ist enthalten in:
Ursprung
45f0e39e4d
Commit
b29158219c
@ -373,4 +373,20 @@ public interface Entity extends Metadatable, CommandSender {
|
||||
* @return whether the entity is
|
||||
*/
|
||||
public boolean isInvulnerable();
|
||||
|
||||
/**
|
||||
* Gets whether the entity is silent or not.
|
||||
*
|
||||
* @return whether the entity is silent.
|
||||
*/
|
||||
public boolean isSilent();
|
||||
|
||||
/**
|
||||
* Sets whether the entity is silent or not.
|
||||
* <p>
|
||||
* When an entity is silent it will not produce any sound.
|
||||
*
|
||||
* @param flag if the entity is silent
|
||||
*/
|
||||
public void setSilent(boolean flag);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren