SPIGOT-5255: Raid / patrol spawn reasons

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-09-07 16:34:21 +10:00
parent 97c0e0bda2
commit 46e42dd362

View file

@ -161,6 +161,14 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
* When eg an effect cloud is spawned as a result of a creeper exploding
*/
EXPLOSION,
/**
* When an entity is spawned as part of a raid
*/
RAID,
/**
* When an entity is spawned as part of a patrol
*/
PATROL,
/**
* When a creature is spawned by plugins
*/