mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
Added CreatureSpawnEvent.SpawnReason.TRAP
By: BlackHole <black-hole@live.com>
This commit is contained in:
parent
8369b9113b
commit
dd6eafac95
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue