mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Made iron golems fire CreatureSpawn event. Fixes BUKKIT-1089
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
b9310ad9c5
commit
2b3f74b32a
1 changed files with 8 additions and 0 deletions
|
@ -120,6 +120,14 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
||||||
* When a snowman is spawned by being built
|
* When a snowman is spawned by being built
|
||||||
*/
|
*/
|
||||||
BUILD_SNOWMAN,
|
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
|
* When a creature is manually spawned
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue