public class SpawnLocationEvent
extends net.minecraftforge.eventbus.api.Event
SpawnLocation
has been selected in the viable location construction algorithm.
Cancelling this event will remove this location from the list of locations a Pokémon may spawn.Constructor and Description |
---|
SpawnLocationEvent(SpawnLocation spawnLocation) |
Modifier and Type | Method and Description |
---|---|
SpawnLocation |
getSpawnLocation() |
void |
setSpawnLocation(SpawnLocation spawnLocation) |
public SpawnLocationEvent(SpawnLocation spawnLocation)
public void setSpawnLocation(SpawnLocation spawnLocation)
public SpawnLocation getSpawnLocation()