From 6da91b6b3ce1afb1a0fffda0ddf3dc17157d70f8 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 26 Jul 2018 04:34:43 -0700 Subject: [PATCH] Add SpawnReason.DROWNED By: klugemonkey --- .../main/java/org/bukkit/event/entity/CreatureSpawnEvent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java index 4a8f2e182d..73a26ba835 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java @@ -170,6 +170,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable { * perched on jumping or being damaged */ SHOULDER_ENTITY, + /** + * When a creature is spawned by another entity drowning + */ + DROWNED, /** * When a creature is spawned by plugins */