java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.evolution.conditions.EvoCondition
Direct Known Subclasses:
AbsenceOfHealthCondition, BattleCriticalCondition, BiomeCondition, BlocksWalkedOutsideBallCondition, ChanceCondition, EvoRockCondition, EvoScrollCondition, FriendshipCondition, GenderCondition, GimmighoulCoinCondition, HasPaletteCondition, HeldItemCondition, HighAltitudeCondition, InBattleLevelCondition, InvertCondition, IsBurningCondition, LevelCondition, MoonPhaseCondition, MoveCondition, MoveTypeCondition, MoveUsesCondition, NatureCondition, NuggetCondition, PartyCondition, PotionEffectCondition, RecoilCondition, ShinyCondition, StatRatioCondition, StatusPersistCondition, TimeCondition, WeatherCondition, WithinStructureCondition

public abstract class EvoCondition extends Object
  • Field Details

    • evoConditionTypes

      public static final HashMap<String,Class<? extends EvoCondition>> evoConditionTypes
      A mapping from an evolution condition type ID string to the class representing that type.
    • evoConditionType

      public String evoConditionType
  • Constructor Details

    • EvoCondition

      public EvoCondition(String evoConditionType)
  • Method Details

    • passes

      @Deprecated(forRemoval=true, since="9.2.7") public abstract boolean passes(PixelmonEntity pixelmon)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use passes(Pokemon) instead
    • passes

      public abstract boolean passes(Pokemon pokemon)
    • getDescription

      public net.minecraft.network.chat.MutableComponent getDescription()
      Provides the description for when a player needs info on how a Pokémon with this evolution method evolves. Primarily used with the wiki command.
      Returns:
      A description of the evolution method.