| Modifier and Type | Optional Element and Description |
|---|---|
String |
comment
Sets the comment that will be used for this setting.
|
boolean |
constant
Deprecated.
constants should now be stored as schema
ConfigAttributes,
not as values in an editable config tree. |
boolean |
ignore
Marks that this field should be ignored during serialisation.
|
String |
name
Sets the name that will be used for this setting.
|
@Deprecated public abstract boolean constant
ConfigAttributes,
not as values in an editable config tree.Constant settings can not have their value changed after being initialised.
public abstract String name
Custom names have a higher authority than naming conventions, and will not be affected by them.
If the name is empty, the name of the field being annotated will be used and the naming convention will be applied to that name.
"") if no custom name was set, or the custom name if one was set.public abstract String comment
If empty, no comment will be set.
"") if no comment was set, or the comment if one was set.