Class ConfigProperty<T>
java.lang.Object
net.lynxclient.api.config.ConfigProperty<T>
One setting value. Declared as a field of a
ModuleConfig together with a setting annotation
(Switch, Slider, …); LynxClient saves it and shows it in the mod menu automatically.-
Method Summary
Modifier and TypeMethodDescriptionget()static <T> ConfigProperty<T> of(T defaultValue) Called after every change (from the menu, a server rule or code).voidreset()void
-
Method Details
-
of
-
get
-
set
-
defaultValue
-
reset
public void reset() -
onChange
Called after every change (from the menu, a server rule or code).
-