Class SpawnLocationEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.spawning.SpawnLocationEvent
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
public class SpawnLocationEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.bus.api.ICancellableEvent
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.-
Constructor Details
-
SpawnLocationEvent
-
-
Method Details
-
setSpawnLocation
-
getSpawnLocation
-