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

public class EvoRockCondition extends EvoCondition
  • Field Details

    • evolutionRock

      public EvolutionRockType evolutionRock
    • maxRangeSquared

      public int maxRangeSquared
  • Constructor Details

    • EvoRockCondition

      public EvoRockCondition(EvolutionRockType evoRock, int maxRangeSquared)
  • Method Details

    • passes

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

      public boolean passes(Pokemon pokemon)
      Specified by:
      passes in class EvoCondition
    • 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.