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