mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Added Spawner Egg support to CreatureSpawnEvent.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user