SPIGOT-1468: ENDER_PEARL SpawnReason

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-07-01 12:30:14 +10:00
parent 219cc0b3f4
commit 7a14c68810

View file

@ -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
*/