mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-31 20:51:47 +01:00
SPIGOT-5255: Raid / patrol spawn reasons
By: md_5 <git@md-5.net>
This commit is contained in:
parent
97c0e0bda2
commit
46e42dd362
@ -161,6 +161,14 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
|
|||||||
* When eg an effect cloud is spawned as a result of a creeper exploding
|
* When eg an effect cloud is spawned as a result of a creeper exploding
|
||||||
*/
|
*/
|
||||||
EXPLOSION,
|
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
|
* When a creature is spawned by plugins
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user