Class SpawnPixelmonEntityForBattleEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
Direct Known Subclasses:
SpawnPixelmonEntityForBattleEvent.Post, SpawnPixelmonEntityForBattleEvent.Pre

public abstract class SpawnPixelmonEntityForBattleEvent extends BattleEvent
Fires around the Pokémon spawning for fighting a battle.
  • Constructor Details

    • SpawnPixelmonEntityForBattleEvent

      protected SpawnPixelmonEntityForBattleEvent(BattleController bc, Pokemon pokemon)
  • Method Details

    • getPokemon

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