13
0
geforkt von Mirrors/Paper

Player affects spawning API

Dieser Commit ist enthalten in:
Jedediah Smith 2016-02-29 17:22:34 -06:00
Ursprung e183355647
Commit 978feffa80

Datei anzeigen

@ -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>