Class AbsenceOfHealthCondition

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

public class AbsenceOfHealthCondition extends EvoCondition
Created by Jay113355 on 6/12/2020.
  • Constructor Details

    • AbsenceOfHealthCondition

      public AbsenceOfHealthCondition()
  • 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.
    • getHealth

      public int getHealth()