2014-12-14 23:25:11 +01:00
|
|
|
From 0bd64a7783ea2396b482b392e95751e4b13cd3a3 Mon Sep 17 00:00:00 2001
|
2014-08-09 06:18:38 +02:00
|
|
|
From: Jedediah Smith <jedediah@silencegreys.com>
|
|
|
|
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
|
2014-12-14 23:25:11 +01:00
|
|
|
index 8eb781e..a6d4020 100644
|
2014-08-09 06:18:38 +02:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2014-12-14 23:25:11 +01:00
|
|
|
@@ -1122,6 +1122,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.");
|
2014-08-09 06:18:38 +02:00
|
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 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();
|
|
|
|
--
|
|
|
|
1.9.1
|
2014-08-10 00:27:35 +02:00
|
|
|
|