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.
  • Constructor Details

    • SpawnLocationEvent

      public SpawnLocationEvent(SpawnLocation spawnLocation)
  • Method Details

    • setSpawnLocation

      public void setSpawnLocation(SpawnLocation spawnLocation)
    • getSpawnLocation

      public SpawnLocation getSpawnLocation()