From 202521ce5487f580112e65c3baf825f6ec12fee1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 8 Feb 2012 18:27:49 -0500 Subject: [PATCH] Added SpawnReason.BUILD_SNOWMAN. By: EvilSeph --- .../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 51e4036060..6463e21e1b 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 @@ -100,6 +100,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable { * When a creature is spawned by a player that is sleeping */ BED, + /** + * When a snowman is spawned by being built + */ + BUILD_SNOWMAN, /** * When a creature is manually spawned */