public abstract class AbstractStringPokemonRequirement extends AbstractPokemonRequirement<java.lang.String>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
defaultValue |
protected java.lang.String |
value |
keys
Constructor and Description |
---|
AbstractStringPokemonRequirement(java.util.Set<java.lang.String> keys,
java.lang.String defaultValue) |
AbstractStringPokemonRequirement(java.util.Set<java.lang.String> keys,
java.lang.String defaultValue,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Requirement<Pokemon,PixelmonEntity,?>> |
createSimple(java.lang.String key,
java.lang.String spec) |
java.lang.String |
getValue()
Gets the internal value of the requirement
|
applyMinecraft, isMinecraftMatch
create, fits, getAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyData, createInstance, getPriority, isDataMatch, shouldContinue
protected java.lang.String value
protected java.lang.String defaultValue
public AbstractStringPokemonRequirement(java.util.Set<java.lang.String> keys, java.lang.String defaultValue)
public AbstractStringPokemonRequirement(java.util.Set<java.lang.String> keys, java.lang.String defaultValue, java.lang.String value)
public java.util.List<Requirement<Pokemon,PixelmonEntity,?>> createSimple(java.lang.String key, java.lang.String spec)
createSimple
in class AbstractPokemonRequirement<java.lang.String>
public java.lang.String getValue()
Requirement