mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Added CreatureSpawnEvent.SpawnReason.TRAP
By: BlackHole <black-hole@live.com>
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user