Package com.binaris.wizardry.core.config
Class ConfigOption<T>
java.lang.Object
com.binaris.wizardry.core.config.ConfigOption<T>
- Type Parameters:
T- The type of the configuration option.
A class representing a single configuration option. It holds the key, default value, current value, and a codec for serialization.
-
Constructor Summary
ConstructorsConstructorDescriptionConfigOption(String key, T defaultValue, com.mojang.serialization.Codec<T> codec) -
Method Summary
-
Constructor Details
-
ConfigOption
-
-
Method Details
-
get
-
set
-
getKey
-
getCodec
-
getDefault
-