Package com.stereowalker.unionlib.config
Class ConfigHolder<T>
java.lang.Object
com.stereowalker.unionlib.config.ConfigHolder<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<net.minecraft.network.chat.Component>protected final Tprotected final Tprotected final Tprotected final Stringprotected final Stringprotected booleanprotected final Stringprotected final String[]protected final booleanprotected final TomlWriter -
Constructor Summary
ConstructorsConstructorDescriptionConfigHolder(String name, TomlWriter configvalue, T defaultValue, String parentFile, List<net.minecraft.network.chat.Component> comments, boolean usesSlider, T min, T max, String translatable, String[] translatableComment) -
Method Summary
-
Field Details
-
name
-
value
-
defaultValue
-
parentFile
-
comments
-
usesSlider
protected final boolean usesSlider -
min
-
max
-
translatable
-
translatableComment
-
recievedChanges
protected boolean recievedChanges
-
-
Constructor Details
-
ConfigHolder
-
-
Method Details
-
get
-
set
-
update
-
setValue
-
getDefaultValue
-
getParentFile
-
getComments
-
nameInQuotes
-
getTranslatableComments
-
isUsingSlider
public boolean isUsingSlider() -
getMin
-
getMax
-
getTranslatable
-