Class DynamaxReviveRaidStrategy
java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.dynamax.strategy.DynamaxReviveRaidStrategy
- All Implemented Interfaces:
RaidStrategy,ReviveRaidStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<DynamaxReviveRaidStrategy> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPokemonFainted(BattleParticipant boss, PixelmonWrapper fainted) Called when a Pokemon on the opposing side faints during the raid.voidrevive(BattleParticipant opponent) booleanshouldRevive(BattleParticipant opponent) type()Gets the registered type used to serialize and deserialize this strategy.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.battles.raids.strategy.RaidStrategy
onAddStatus, onBattleAction, onBossAttack, onBossDamaged, onPokemonSwitchIn, onRaidEnd, onRaidStart, onTakeTurn, onTargeted, onUseAttackOther, onUseAttackPost, shouldKeepFaintedPokemon, shouldSkipTurnAgainstOpponentMethods inherited from interface com.pixelmonmod.pixelmon.battles.raids.strategy.ReviveRaidStrategy
onTurnEnd, update
-
Field Details
-
CODEC
-
-
Constructor Details
-
DynamaxReviveRaidStrategy
public DynamaxReviveRaidStrategy()
-
-
Method Details
-
type
Description copied from interface:RaidStrategyGets the registered type used to serialize and deserialize this strategy.- Specified by:
typein interfaceRaidStrategy- Returns:
- The strategy type.
-
onPokemonFainted
Description copied from interface:RaidStrategyCalled when a Pokemon on the opposing side faints during the raid.- Specified by:
onPokemonFaintedin interfaceRaidStrategy- Parameters:
boss- The raid boss participant.fainted- The Pokemon that fainted.
-
shouldRevive
- Specified by:
shouldRevivein interfaceReviveRaidStrategy
-
revive
- Specified by:
revivein interfaceReviveRaidStrategy
-