Class SpawnPixelmonEntityForBattleEvent.Pre

java.lang.Object
net.neoforged.bus.api.Event
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
SpawnPixelmonEntityForBattleEvent

public static class SpawnPixelmonEntityForBattleEvent.Pre extends SpawnPixelmonEntityForBattleEvent implements net.neoforged.bus.api.ICancellableEvent
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(BattleController controller, Pokemon pokemon)
      Basic constructor
      Parameters:
      pokemon - The Pokémon