Class MoonPhaseCondition
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.evolution.conditions.EvoCondition
com.pixelmonmod.pixelmon.api.pokemon.stats.evolution.conditions.MoonPhaseCondition
Allows Pokémon to evolve based on the phase the moon is in.
https://minecraft.fandom.com/wiki/Moon#Phases
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.pokemon.stats.evolution.conditions.EvoCondition
evoConditionType, evoConditionTypes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.MutableComponentProvides the description for when a player needs info on how a Pokémon with this evolution method evolves.intbooleanbooleanpasses(PixelmonEntity pixelmon)
-
Constructor Details
-
MoonPhaseCondition
public MoonPhaseCondition() -
MoonPhaseCondition
public MoonPhaseCondition(int moonPhase)
-
-
Method Details
-
passes
- Specified by:
passesin classEvoCondition
-
passes
- Specified by:
passesin classEvoCondition
-
getMoonPhaseRequired
public int getMoonPhaseRequired() -
getDescription
public net.minecraft.network.chat.MutableComponent getDescription()Description copied from class:EvoConditionProvides the description for when a player needs info on how a Pokémon with this evolution method evolves. Primarily used with the wiki command.- Overrides:
getDescriptionin classEvoCondition- Returns:
- A description of the evolution method.
-