mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Added Spawner Egg support to CreatureSpawnEvent.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
f7f18879e3
commit
552bb7f085
1 changed files with 4 additions and 0 deletions
|
@ -88,6 +88,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
|||
* When a creature spawns from an egg
|
||||
*/
|
||||
EGG,
|
||||
/**
|
||||
* When a creature spawns from a Spawner Egg
|
||||
*/
|
||||
SPAWNER_EGG,
|
||||
/**
|
||||
* When a creature spawns because of a lightning strike
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue