public abstract class StringConfigPropertyBase extends ForgeConfigProperty implements IStringProperty
IStringProperty.WithStatepropertydescription, name| Constructor and Description |
|---|
StringConfigPropertyBase(net.minecraftforge.common.config.Property property) |
| Modifier and Type | Method and Description |
|---|---|
static StringConfigPropertyBase |
factory(net.minecraftforge.common.config.Property property) |
java.lang.String |
getString()
Get the string value.
|
void |
setString(java.lang.String value)
Set the string value, regardless of it being a valid value or not.
|
provideElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidString, trySetStringpublic StringConfigPropertyBase(net.minecraftforge.common.config.Property property)
public java.lang.String getString()
IStringPropertygetString in interface IStringPropertypublic void setString(java.lang.String value)
IStringPropertysetString in interface IStringPropertyvalue - the string valuepublic static StringConfigPropertyBase factory(net.minecraftforge.common.config.Property property)