geforkt von Mirrors/Paper
Player affects spawning API
Dieser Commit ist enthalten in:
Ursprung
e183355647
Commit
978feffa80
@ -2623,6 +2623,22 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
@Deprecated // Paper
|
||||
public String getLocale();
|
||||
|
||||
// Paper start
|
||||
/**
|
||||
* Get whether the player can affect mob spawning
|
||||
*
|
||||
* @return if the player can affect mob spawning
|
||||
*/
|
||||
public boolean getAffectsSpawning();
|
||||
|
||||
/**
|
||||
* Set whether the player can affect mob spawning
|
||||
*
|
||||
* @param affects Whether the player can affect mob spawning
|
||||
*/
|
||||
public void setAffectsSpawning(boolean affects);
|
||||
// Paper end
|
||||
|
||||
/**
|
||||
* Update the list of commands sent to the client.
|
||||
* <br>
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren