Player affects spawning API

This commit is contained in:
Jedediah Smith 2016-02-29 17:22:34 -06:00
parent e183355647
commit 978feffa80

View file

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