Class WithinStructureCondition

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

public class WithinStructureCondition extends EvoCondition
Created by Jay113355 on 6/10/2020.
  • Constructor Details

    • WithinStructureCondition

      public WithinStructureCondition()
  • 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
    • getStructure

      public String getStructure()
    • 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.