Class RevivedPokemonEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.RevivedPokemonEvent
Event fired when a Pokemon is revived during an active battle.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
battleController -
Constructor Summary
ConstructorsConstructorDescriptionRevivedPokemonEvent(BattleController controller, BattleParticipant participant, PixelmonWrapper revived) -
Method Summary
Modifier and TypeMethodDescriptionReturns the battle participant whose Pokemon was revived.Returns the revived battle Pokemon.Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
getBattleController
-
Constructor Details
-
RevivedPokemonEvent
public RevivedPokemonEvent(BattleController controller, BattleParticipant participant, PixelmonWrapper revived)
-
-
Method Details
-
getParticipant
Returns the battle participant whose Pokemon was revived.- Returns:
- the owning battle participant
-
getRevived
Returns the revived battle Pokemon.- Returns:
- the revived Pokemon wrapper
-