Class AbstractConfigObject<T>
java.lang.Object
net.rodofire.easierworldcreator.config.objects.AbstractConfigObject<T>
- Direct Known Subclasses:
BooleanConfigObject,EnumConfigObject,IntegerConfigObject
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractConfigObject(String description, String name, T defaultValue) AbstractConfigObject(String name, T defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(AbstractConfigObject<T> other) getDefaultDescription(String modId) getDescriptionKey(String modId) getKey()getName()abstract StringvoidvoidsetActualValue(T actualValue) voidsetDescription(String description) voidvoidvoidsetPreviousValue(T previousValue) boolean
-
Field Details
-
requireRestart
public boolean requireRestart
-
-
Constructor Details
-
AbstractConfigObject
-
AbstractConfigObject
-
-
Method Details
-
getObjectCategory
-
resetToDefaultValue
public void resetToDefaultValue() -
getActualValue
-
setActualValue
-
shouldRestart
public boolean shouldRestart() -
getKey
-
getName
-
getDefaultDescription
-
getPreviousValue
-
setPreviousValue
-
setKey
-
setName
-
getDescription
-
setDescription
-
getDescriptionKey
-
getDefaultValue
-
equals
-