From b0bbe96b13f89c92ddce9cda774346b2fb587fa4 Mon Sep 17 00:00:00 2001 From: Jedediah Smith Date: Fri, 8 Aug 2014 22:51:26 -0500 Subject: [PATCH] Player affects spawning API diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index e3dd596..9d23835 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -1140,6 +1140,28 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline public void sendMessage(net.md_5.bungee.api.chat.BaseComponent... components) { throw new UnsupportedOperationException("Not supported yet."); } + + /** + * Get whether the player affects mob spawning + * + * @return whether or not the player affects + * mob spawning. + */ + public boolean getAffectsSpawning() + { + throw new UnsupportedOperationException( "Not supported yet." ); + } + + /** + * Set whether or not the player affects mob spawning + * + * @param affects whether or not the player should affect + * spawning or not. + */ + public void setAffectsSpawning(boolean affects) + { + throw new UnsupportedOperationException( "Not supported yet" ); + } } Spigot spigot(); -- 2.4.3.windows.1