public static class LegendarySpawnEvent.ChoosePlayer extends LegendarySpawnEvent
LegendarySpawnerhas selected which player to spawn a legendary near. Which Pokémon will spawn has not been chosen at this point, and whether or not a legendary will spawn is not guaranteed. This is only for deciding where to look for a legendary spawn location.
The spawner included in this event is guaranteed to be a
Cancelling this event or making the player null will prevent a legendary spawn calculation from occurring.
|Modifier and Type||Field and Description|
The player to potentially spawn a legendary near.
|Constructor and Description|
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public net.minecraft.entity.player.EntityPlayerMP player
public ChoosePlayer(LegendarySpawner spawner, net.minecraft.entity.player.EntityPlayerMP player)