Class LegendarySpawnEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.spawning.LegendarySpawnEvent
Direct Known Subclasses:
LegendarySpawnEvent.ChoosePlayer, LegendarySpawnEvent.DoSpawn

public abstract class LegendarySpawnEvent extends net.minecraftforge.eventbus.api.Event
Superclass event for legendary spawning under the Better Spawner.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Event fired when a LegendarySpawner has selected which player to spawn a legendary near.
    static class 
    Event fired when a legendary Pokémon is spawned through any implementation of the Better Spawner.

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The spawner responsible for the action.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • spawner

      public final AbstractSpawner spawner
      The spawner responsible for the action.
  • Constructor Details

    • LegendarySpawnEvent

      public LegendarySpawnEvent(AbstractSpawner spawner)