public class DoubleRangeConfigProperty extends ForgeConfigProperty implements IDoubleRangeProperty
IDoubleRangeProperty.WithStatepropertydescription, name| Constructor and Description |
|---|
DoubleRangeConfigProperty(net.minecraftforge.common.config.Property property) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDouble()
Get the double value.
|
double |
getMaxDoubleValue()
Get the inclusive max double value.
|
double |
getMinDoubleValue()
Get the inclusive min double value.
|
Element<ConfigGUI> |
provideElement(ConfigGUI gui,
float x,
float y) |
void |
setDouble(double value)
Set the double value, regardless of it being a valid value or not.
|
factoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDoubleValueRange, isValidDoubletrySetDoublepublic DoubleRangeConfigProperty(net.minecraftforge.common.config.Property property)
public Element<ConfigGUI> provideElement(ConfigGUI gui, float x, float y)
provideElement in class ConfigPropertypublic double getDouble()
IDoublePropertygetDouble in interface IDoublePropertypublic void setDouble(double value)
IDoublePropertysetDouble in interface IDoublePropertyvalue - the double valuepublic double getMinDoubleValue()
IDoubleRangePropertygetMinDoubleValue in interface IDoubleRangePropertypublic double getMaxDoubleValue()
IDoubleRangePropertygetMaxDoubleValue in interface IDoubleRangeProperty