From e6915a8c4eebb8ac786a11326128b2a744ba21d1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 3 Jul 2019 11:10:24 +1000 Subject: [PATCH] SPIGOT-3102: Add EXPLOSION SpawnReason By: md_5 --- .../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 161ea7f5dd..17aa6722b6 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 @@ -157,6 +157,10 @@ public class CreatureSpawnEvent extends EntitySpawnEvent { * When an cow is spawned by shearing a mushroom cow */ SHEARED, + /** + * When eg an effect cloud is spawned as a result of a creeper exploding + */ + EXPLOSION, /** * When a creature is spawned by plugins */