Class SpawnLocationEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.spawning.SpawnLocationEvent
public class SpawnLocationEvent
extends net.minecraftforge.eventbus.api.Event
Event for when a
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.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
SpawnLocationEvent
-
-
Method Details
-
setSpawnLocation
-
getSpawnLocation
-