Class AttackAction
java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.log.action.BattleAction
com.pixelmonmod.pixelmon.battles.controller.log.action.PokemonRelatedBattleAction
com.pixelmonmod.pixelmon.battles.controller.log.action.type.AttackAction
A logged move in battle.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Attackprotected final MoveResults[]protected final net.minecraft.network.chat.Componentprotected final Stringprotected final String[]protected final booleanFields inherited from class com.pixelmonmod.pixelmon.battles.controller.log.action.PokemonRelatedBattleAction
pokemonFields inherited from class com.pixelmonmod.pixelmon.battles.controller.log.action.BattleAction
turn -
Constructor Summary
ConstructorsConstructorDescriptionAttackAction(int turn, PixelmonWrapper pokemon, Attack attack, PixelmonWrapper[] targets, MoveResults[] moveResults) Logs a move in battle. -
Method Summary
Modifier and TypeMethodDescriptionbooleanappendLog(StringBuilder builder) protected booleanisWildPokemon(BattleParticipant participant) Methods inherited from class com.pixelmonmod.pixelmon.battles.controller.log.action.PokemonRelatedBattleAction
getParticipant, getPokemon
-
Field Details
-
pokemonName
-
participantName
protected final net.minecraft.network.chat.Component participantName -
wildPokemon
protected final boolean wildPokemon -
attack
-
targets
-
moveResults
-
-
Constructor Details
-
AttackAction
public AttackAction(int turn, PixelmonWrapper pokemon, Attack attack, PixelmonWrapper[] targets, MoveResults[] moveResults) Logs a move in battle.- Parameters:
turn- The turn the move was used on.pokemon- The Pokémon who used the move.attack- The move used, or null.targets-moveResults- The results of the move.
-
-
Method Details
-
appendLog
- Specified by:
appendLogin classBattleAction
-
getMoveResults
-
isWildPokemon
-