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