Class RevivedPokemonEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.RevivedPokemonEvent

public class RevivedPokemonEvent extends BattleEvent
Event fired when a Pokemon is revived during an active battle.
  • Constructor Details

  • Method Details

    • getParticipant

      public BattleParticipant getParticipant()
      Returns the battle participant whose Pokemon was revived.
      Returns:
      the owning battle participant
    • getRevived

      public PixelmonWrapper getRevived()
      Returns the revived battle Pokemon.
      Returns:
      the revived Pokemon wrapper