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 EntityPixelmon> |
action
The
SpawnAction about to occur. |
spawner
Constructor and Description |
---|
DoSpawn(AbstractSpawner spawner,
SpawnAction<? extends EntityPixelmon> action) |
Modifier and Type | Method and Description |
---|---|
EnumSpecies |
getLegendary()
Gets the pokemon of the legendary about to spawn.
|
public final SpawnAction<? extends EntityPixelmon> action
SpawnAction
about to occur.public DoSpawn(AbstractSpawner spawner, SpawnAction<? extends EntityPixelmon> action)
public EnumSpecies getLegendary()