mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-11 14:21:40 +01:00
Add SpawnReason for Entity Reinforcements. Fixes BUKKIT-4744
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
67439804f4
commit
6e0bd25f52
@ -147,6 +147,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
|||||||
* When a slime splits
|
* When a slime splits
|
||||||
*/
|
*/
|
||||||
SLIME_SPLIT,
|
SLIME_SPLIT,
|
||||||
|
/**
|
||||||
|
* When an entity calls for reinforcements
|
||||||
|
*/
|
||||||
|
REINFORCEMENTS,
|
||||||
/**
|
/**
|
||||||
* When a creature is spawned by plugins
|
* When a creature is spawned by plugins
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user