mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
SPIGOT-5255: Raid / patrol spawn reasons
By: md_5 <git@md-5.net>
This commit is contained in:
parent
97c0e0bda2
commit
46e42dd362
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue