From 2b3f74b32abb9016bc307c424e5b56c6e412cc32 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 8 Mar 2012 21:45:53 -0500 Subject: [PATCH] Made iron golems fire CreatureSpawn event. Fixes BUKKIT-1089 By: EvilSeph --- .../java/org/bukkit/event/entity/CreatureSpawnEvent.java | 8 ++++++++ 1 file changed, 8 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 1761e24b41..5bd3a0ad96 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 @@ -120,6 +120,14 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable { * When a snowman is spawned by being built */ BUILD_SNOWMAN, + /** + * When an iron golem is spawned by being built + */ + BUILD_IRONGOLEM, + /** + * When an iron golem is spawned to defend a village + */ + VILLAGE_DEFENSE, /** * When a creature is manually spawned */