public abstract class AbstractIntegerPokemonRequirement extends AbstractPokemonRequirement<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
protected int |
defaultValue |
protected int |
value |
keys
Constructor and Description |
---|
AbstractIntegerPokemonRequirement(java.util.Set<java.lang.String> keys,
int defaultValue) |
AbstractIntegerPokemonRequirement(java.util.Set<java.lang.String> keys,
int defaultValue,
int value) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Requirement<Pokemon,PixelmonEntity,?>> |
createSimple(java.lang.String key,
java.lang.String spec) |
java.lang.Integer |
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
public AbstractIntegerPokemonRequirement(java.util.Set<java.lang.String> keys, int defaultValue)
public AbstractIntegerPokemonRequirement(java.util.Set<java.lang.String> keys, int defaultValue, int value)
public java.util.List<Requirement<Pokemon,PixelmonEntity,?>> createSimple(java.lang.String key, java.lang.String spec)
createSimple
in class AbstractPokemonRequirement<java.lang.Integer>
public java.lang.Integer getValue()
Requirement