mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
Added Spawner Egg support to CreatureSpawnEvent.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
1 parent
f7f18879e3
commit
552bb7f085
1 file changed
+4
@@ -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