mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +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
|
* When an entity spawns as a trap for players approaching
|
||||||
*/
|
*/
|
||||||
TRAP,
|
TRAP,
|
||||||
|
/**
|
||||||
|
* When an entity is spawned as a result of ender pearl usage
|
||||||
|
*/
|
||||||
|
ENDER_PEARL,
|
||||||
/**
|
/**
|
||||||
* When a creature is spawned by plugins
|
* When a creature is spawned by plugins
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue