public class HasSpecFlagRequirement extends AbstractStringPokemonRequirement
defaultValue, value
keys
Constructor and Description |
---|
HasSpecFlagRequirement() |
HasSpecFlagRequirement(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
void |
applyData(Pokemon pokemon) |
Requirement<Pokemon,EntityPixelmon,java.lang.String> |
createInstance(java.lang.String 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) |
boolean |
isDataMatch(Pokemon pokemon) |
getValue
applyMinecraft, isMinecraftMatch
create, fits, getAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority, shouldContinue
public HasSpecFlagRequirement()
public HasSpecFlagRequirement(java.lang.String value)
public java.util.List<Requirement<Pokemon,EntityPixelmon,?>> createSimple(java.lang.String key, java.lang.String spec)
createSimple
in class AbstractStringPokemonRequirement
public Requirement<Pokemon,EntityPixelmon,java.lang.String> createInstance(java.lang.String value)
Requirement
value
- The valuepublic boolean isDataMatch(Pokemon pokemon)
public void applyData(Pokemon pokemon)