java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.evolution.conditions.EvoCondition
com.pixelmonmod.pixelmon.api.pokemon.stats.evolution.conditions.BattleCriticalCondition

public class BattleCriticalCondition extends EvoCondition
  • Field Details

    • critical

      public int critical
  • Constructor Details

    • BattleCriticalCondition

      public BattleCriticalCondition()
    • BattleCriticalCondition

      public BattleCriticalCondition(int critical)
  • Method Details

    • getDescription

      public net.minecraft.network.chat.MutableComponent getDescription()
      Description copied from class: EvoCondition
      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.
      Overrides:
      getDescription in class EvoCondition
      Returns:
      A description of the evolution method.
    • passes

      public boolean passes(PixelmonEntity pixelmon)
      Specified by:
      passes in class EvoCondition
    • passes

      public boolean passes(Pokemon pokemon)
      Specified by:
      passes in class EvoCondition