Package baritone.api
Class Settings.Setting<T>
java.lang.Object
baritone.api.Settings.Setting<T>
- Enclosing class:
Settings
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal Tget()Deprecated.final StringgetName()final TypegetType()booleanThis should always be the same as whether the setting can be parsed from or serialized to a string; in other words, the only way to modify it is by writing tovalueprogramatically.voidreset()Reset this setting to its default valuetoString()
-
Field Details
-
value
-
defaultValue
-
-
Method Details
-
get
Deprecated.Deprecated! Please use .value directly instead- Returns:
- the current setting value
-
getName
-
getValueClass
-
toString
-
reset
Reset this setting to its default value -
getType
-
isJavaOnly
This should always be the same as whether the setting can be parsed from or serialized to a string; in other words, the only way to modify it is by writing tovalueprogramatically.- Returns:
trueif the setting can not be set or read by the user
-