mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
SPIGOT-1468: ENDER_PEARL SpawnReason
By: md_5 <git@md-5.net>
This commit is contained in:
parent
219cc0b3f4
commit
7a14c68810
1 changed files with 4 additions and 0 deletions
|
@ -168,6 +168,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
|||
* When an entity spawns as a trap for players approaching
|
||||
*/
|
||||
TRAP,
|
||||
/**
|
||||
* When an entity is spawned as a result of ender pearl usage
|
||||
*/
|
||||
ENDER_PEARL,
|
||||
/**
|
||||
* When a creature is spawned by plugins
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue