mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-12 10:31:37 +01:00
[Bleeding] Added SpawnReason.BREEDING. Addresses BUKKIT-1356
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
dc590d2c1e
commit
4e54839dda
@ -114,7 +114,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
||||
LIGHTNING,
|
||||
/**
|
||||
* When a creature is spawned by a player that is sleeping
|
||||
*
|
||||
* @deprecated No longer used
|
||||
*/
|
||||
@Deprecated
|
||||
BED,
|
||||
/**
|
||||
* When a snowman is spawned by being built
|
||||
@ -132,6 +135,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
||||
* When a zombie is spawned to invade a village
|
||||
*/
|
||||
VILLAGE_INVASION,
|
||||
/**
|
||||
* When an animal breeds to create a child
|
||||
*/
|
||||
BREEDING,
|
||||
/**
|
||||
* When a creature is manually spawned
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user