SPIGOT-1468: ENDER_PEARL SpawnReason

This commit is contained in:
md_5 2016-07-01 12:30:14 +10:00
parent 5dd0935460
commit db2ee1f977

View file

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