Interface ConfigValue<TYPE>
- All Known Implementing Classes:
KeyBackedConfigValue
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidbooleanreset()Returnstrueif the value was changed to the default value,falseif it was already at the default value.default booleanupdate(UnaryOperator<TYPE> transformer) boolean
-
Field Details
-
TOGGLE
-
-
Method Details
-
validator
ConfigValidator<TYPE> validator() -
reset
boolean reset()Returnstrueif the value was changed to the default value,falseif it was already at the default value.- Returns:
trueif the value was changed to the default value,falseif it was already at the default value
-
update
-
update
-
accept
-