Class Evolution
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.evolution.Evolution
- Direct Known Subclasses:
- InteractEvolution,- LevelingEvolution,- TickingEvolution,- TradeEvolution
- 
Field SummaryFieldsModifier and TypeFieldDescriptionA mapping from an evolution type ID string to the class representing that type.
- 
Constructor SummaryConstructorsConstructorDescriptionEvolution(String evoType, PokemonSpecification to, EvoCondition... conditions) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanprotected booleancanEvolve(PixelmonEntity pixelmonEntity) Deprecated, for removal: This API element is subject to removal in a future version.booleanbooleandoEvolution(Pokemon pokemon, String cause) Starts the evolution for a PixelmonEntity.booleandoEvolution(PixelmonEntity pixelmon, String cause) Deprecated, for removal: This API element is subject to removal in a future version.UsedoEvolution(Pokemon, String)insteadevoType()voidfinishedEvolving(Pokemon pokemon) Starts the evolution for a PixelmonEntity.voidfinishedEvolving(PixelmonEntity pixelmonEntity) Deprecated.UsefinishedEvolving(Pokemon)instead<T extends EvoCondition>
 List<T>getConditionsOfType(Class<T> clazz) moves()to()
- 
Field Details- 
evolutionTypesA mapping from an evolution type ID string to the class representing that type.
- 
cachedTo
- 
to
- 
conditions
- 
moves
- 
evoType
 
- 
- 
Constructor Details- 
Evolution
- 
Evolution
 
- 
- 
Method Details- 
conditions
- 
to
- 
evoType
- 
moves
- 
canEvolve@Deprecated(forRemoval=true, since="9.2.7") protected boolean canEvolve(PixelmonEntity pixelmonEntity) Deprecated, for removal: This API element is subject to removal in a future version.UsecanEvolve(Pokemon)insteadPrevents the Pokémon from evolving if it fails certain criteria.- Parameters:
- pixelmonEntity- The Pokémon that wants to evolve
 
- 
canEvolve
- 
doEvolution@Deprecated(forRemoval=true, since="9.2.7") public boolean doEvolution(PixelmonEntity pixelmon, String cause) Deprecated, for removal: This API element is subject to removal in a future version.UsedoEvolution(Pokemon, String)insteadStarts the evolution for a PixelmonEntity.- Parameters:
- pixelmon- The Pokémon evolving
- cause- The reason the Pokémon is evolving.
- Returns:
- Whether the evolution started
 
- 
doEvolutionStarts the evolution for a PixelmonEntity.- Parameters:
- pokemon- The Pokémon evolving
- cause- The reason the Pokémon is evolving.
- Returns:
- Whether the evolution started
 
- 
finishedEvolvingStarts the evolution for a PixelmonEntity.- Parameters:
- pokemon- The Pokémon that was evolving
 
- 
finishedEvolvingDeprecated.UsefinishedEvolving(Pokemon)insteadStarts the evolution for a PixelmonEntity.- Parameters:
- pixelmonEntity- The Pokémon that was evolving
 
- 
consumesHeldItempublic boolean consumesHeldItem()
- 
getConditionsOfType
 
- 
canEvolve(Pokemon)instead