mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Added CreatureSpawnEvent.SpawnReason.TRAP
This commit is contained in:
parent
a63b264027
commit
37a1591a7b
1 changed files with 4 additions and 0 deletions
|
@ -164,6 +164,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
||||||
* jockeys)
|
* jockeys)
|
||||||
*/
|
*/
|
||||||
MOUNT,
|
MOUNT,
|
||||||
|
/**
|
||||||
|
* When an entity spawns as a trap for players approaching
|
||||||
|
*/
|
||||||
|
TRAP,
|
||||||
/**
|
/**
|
||||||
* When a creature is spawned by plugins
|
* When a creature is spawned by plugins
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue