Class IntegerConfigOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.IntegerConfigOption
- Direct Known Subclasses:
DebugChunkState.IntegerDebugOption
,EnumConfigOption
,SandboxOptions.IntegerSandboxOption
,ServerOptions.IntegerServerOption
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected int
protected int
protected int
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class zombie.config.ConfigOption
getName, getValueAsLuaString
-
Field Details
-
value
protected int value -
defaultValue
protected int defaultValue -
min
protected int min -
max
protected int max
-
-
Constructor Details
-
IntegerConfigOption
-
-
Method Details
-
getType
- Specified by:
getType
in classConfigOption
-
resetToDefault
public void resetToDefault()- Specified by:
resetToDefault
in classConfigOption
-
getMin
public double getMin() -
getMax
public double getMax() -
setDefaultToCurrentValue
public void setDefaultToCurrentValue()- Specified by:
setDefaultToCurrentValue
in classConfigOption
-
parse
- Specified by:
parse
in classConfigOption
-
getValueAsString
- Specified by:
getValueAsString
in classConfigOption
-
setValueFromObject
- Specified by:
setValueFromObject
in classConfigOption
-
getValueAsObject
- Specified by:
getValueAsObject
in classConfigOption
-
isValidString
- Specified by:
isValidString
in classConfigOption
-
setValue
public void setValue(int _value) -
getValue
public int getValue() -
getDefaultValue
public int getDefaultValue() -
getTooltip
- Specified by:
getTooltip
in classConfigOption
-
makeCopy
- Specified by:
makeCopy
in classConfigOption
-