summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorklugemonkey <klugemonkey@spawnchunk.com>2018-07-26 04:34:43 -0700
committermd_5 <git@md-5.net>2018-07-27 14:18:08 +1000
commit47e3d2954d0dd279c93524baec241b76acaef7c7 (patch)
tree9894226f53eb3f3f3695a301e0873cd9bad18288
parentc520a96024beeb557ebccbc0f18a938a232635a1 (diff)
downloadbukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.tar
bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.tar.gz
bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.tar.lz
bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.tar.xz
bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.zip
Add SpawnReason.DROWNED
-rw-r--r--src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java b/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java
index 4a8f2e18..73a26ba8 100644
--- a/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java
+++ b/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java
@@ -171,6 +171,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
*/
SHOULDER_ENTITY,
/**
+ * When a creature is spawned by another entity drowning
+ */
+ DROWNED,
+ /**
* When a creature is spawned by plugins
*/
CUSTOM,