public static class LegendarySpawnEvent.DoSpawn extends LegendarySpawnEvent
Cancelling this event will prevent the legendary from spawning, and prevent the legendary spawning interval from being consumed.
LegendarySpawnEvent.ChoosePlayer, LegendarySpawnEvent.DoSpawn
Modifier and Type | Field and Description |
---|---|
SpawnAction<? extends PixelmonEntity> |
action
The
SpawnAction about to occur. |
spawner
Constructor and Description |
---|
DoSpawn(AbstractSpawner spawner,
SpawnAction<? extends PixelmonEntity> action) |
Modifier and Type | Method and Description |
---|---|
Species |
getLegendary()
Gets the pokemon of the legendary about to spawn.
|
public final SpawnAction<? extends PixelmonEntity> action
SpawnAction
about to occur.public DoSpawn(AbstractSpawner spawner, SpawnAction<? extends PixelmonEntity> action)
public Species getLegendary()