Class EvolutionQuery
java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.helpers.EvolutionQuery
Keeps track of a Pokémon who is evolving.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanWhether the evolution is from a temporary battle evolution with the battle ended.The UUID of the evolving Pokémon. -
Constructor Summary
ConstructorsConstructorDescriptionEvolutionQuery(Pokemon pokemon, Stats form) Initializes a Mega Evolution query.EvolutionQuery(Pokemon pokemon, Evolution evolution, String cause) Initializes an evolution query.EvolutionQuery(PixelmonEntity pixelmon, Stats form) Deprecated, for removal: This API element is subject to removal in a future version.EvolutionQuery(PixelmonEntity pixelmon, Evolution evolution, String cause) Deprecated, for removal: This API element is subject to removal in a future version.UseEvolutionQuery(Pokemon, Evolution, String)instead -
Method Summary
-
Field Details
-
pokemonUUID
The UUID of the evolving Pokémon. -
battleEvolutionConcluded
public boolean battleEvolutionConcludedWhether the evolution is from a temporary battle evolution with the battle ended.
-
-
Constructor Details
-
EvolutionQuery
Initializes an evolution query.- Parameters:
pokemon- The Pokémon who is evolving.evolution- TheEvolutionit is undergoing.
-
EvolutionQuery
@Deprecated(forRemoval=true, since="9.2.7") public EvolutionQuery(PixelmonEntity pixelmon, Evolution evolution, String cause) Deprecated, for removal: This API element is subject to removal in a future version.UseEvolutionQuery(Pokemon, Evolution, String)insteadInitializes an evolution query.- Parameters:
pixelmon- The Pokémon who is evolving.evolution- TheEvolutionit is undergoing.
-
EvolutionQuery
Initializes a Mega Evolution query.- Parameters:
pokemon- The Pokémon who is evolving.form- The form of mega evolution it's evolving into
-
EvolutionQuery
@Deprecated(forRemoval=true, since="9.2.7") public EvolutionQuery(PixelmonEntity pixelmon, Stats form) Deprecated, for removal: This API element is subject to removal in a future version.UseEvolutionQuery(Pokemon, Stats)insteadInitializes a Mega Evolution query.- Parameters:
pixelmon- The Pokémon who is evolving.form- The form of mega evolution it's evolving into
-
-
Method Details
-
isBattleEvolution
public boolean isBattleEvolution() -
abort
public void abort()Aborts this evolution, preventing it from occurring. -
checkForEvolutionMoves
public void checkForEvolutionMoves() -
isEnded
public boolean isEnded()
-
EvolutionQuery(Pokemon, Stats)instead