Class ConfigPreset.Builder
java.lang.Object
net.ixdarklord.coolcatcore.api.config.ConfigPreset.Builder
- Enclosing class:
- ConfigPreset
Collects a preset's values.
-
Method Summary
Modifier and TypeMethodDescriptionset(ConfigValue<T> value, T presetValue) setDefault(ConfigValue<T> value) Sets the value back to its default in this preset.
-
Method Details
-
set
- Throws:
IllegalArgumentException- when the value isn't valid for the entry
-
setDefault
Sets the value back to its default in this preset.
-