public class AbilityRequirement extends AbstractPokemonRequirement<AbilityBase>
keys
Constructor and Description |
---|
AbilityRequirement() |
AbilityRequirement(AbilityBase ability) |
Modifier and Type | Method and Description |
---|---|
void |
applyData(Pokemon pokemon) |
Requirement<Pokemon,EntityPixelmon,AbilityBase> |
createInstance(AbilityBase value)
Creates a new instance of the requirement with the given value
|
java.util.List<Requirement<Pokemon,EntityPixelmon,?>> |
createSimple(java.lang.String key,
java.lang.String spec) |
AbilityBase |
getValue()
Gets the internal value of the requirement
|
boolean |
isDataMatch(Pokemon pokemon) |
applyMinecraft, isMinecraftMatch
create, fits, getAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority, shouldContinue
public AbilityRequirement()
public AbilityRequirement(AbilityBase ability)
public java.util.List<Requirement<Pokemon,EntityPixelmon,?>> createSimple(java.lang.String key, java.lang.String spec)
createSimple
in class AbstractPokemonRequirement<AbilityBase>
public Requirement<Pokemon,EntityPixelmon,AbilityBase> createInstance(AbilityBase value)
Requirement
value
- The valuepublic boolean isDataMatch(Pokemon pokemon)
public void applyData(Pokemon pokemon)
public AbilityBase getValue()
Requirement