Added CreatureSpawnEvent.SpawnReason.TRAP

By: BlackHole <black-hole@live.com>
This commit is contained in:
Bukkit/Spigot 2016-03-13 15:46:49 +01:00
parent 8369b9113b
commit dd6eafac95

View File

@ -164,6 +164,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
* jockeys)
*/
MOUNT,
/**
* When an entity spawns as a trap for players approaching
*/
TRAP,
/**
* When a creature is spawned by plugins
*/