mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
Added JOCKEY and CHUNK_GEN SpawnReasons.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@@ -80,6 +80,14 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
|||||||
* When something spawns from natural means
|
* When something spawns from natural means
|
||||||
*/
|
*/
|
||||||
NATURAL,
|
NATURAL,
|
||||||
|
/**
|
||||||
|
* When an entity spawns as a jockey of another entity (mostly spider jockeys)
|
||||||
|
*/
|
||||||
|
JOCKEY,
|
||||||
|
/**
|
||||||
|
* When a creature spawns due to chunk generation
|
||||||
|
*/
|
||||||
|
CHUNK_GEN,
|
||||||
/**
|
/**
|
||||||
* When a creature spawns from a spawner
|
* When a creature spawns from a spawner
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user