Class SpawnPixelmonEntityForBattleEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent.Pre
Enclosing class:
SpawnPixelmonEntityForBattleEvent

public static class SpawnPixelmonEntityForBattleEvent.Pre extends SpawnPixelmonEntityForBattleEvent
Event fired before the Pokémon entity is spawned for battle. Cancelling this will prevent the Pokémon entity from appearing in the world.
  • Constructor Details

    • Pre

      public Pre(Pokemon pokemon)
      Basic constructor
      Parameters:
      pokemon - The Pokémon