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