mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Add SpawnReason for Entity Reinforcements. Fixes BUKKIT-4744
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user