Class SpawnPixelmonEntityForBattleEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
Direct Known Subclasses:
SpawnPixelmonEntityForBattleEvent.Post, SpawnPixelmonEntityForBattleEvent.Pre

public abstract class SpawnPixelmonEntityForBattleEvent extends net.minecraftforge.eventbus.api.Event
Fires around the Pokémon spawning for fighting a battle.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Event fired after the Pokémon entity has spawned for battle.
    static class 
    Event fired before the Pokémon entity is spawned for battle.

    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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the Pokémon being sent out

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

    • SpawnPixelmonEntityForBattleEvent

      protected SpawnPixelmonEntityForBattleEvent(Pokemon pokemon)
  • Method Details

    • getPokemon

      public Pokemon getPokemon()
      Gets the Pokémon being sent out
      Returns:
      Sent out Pokémon