@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface ConfigurableProperty
| Modifier and Type | Required Element and Description |
|---|---|
ConfigurableTypeCategory |
category
The category of the field. categoryRaw can also be used to define direct strings as categories.
|
java.lang.String |
comment
The comment for the field in the config file.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
categoryRaw
The category of the field, as a raw string.
|
java.lang.Class<? extends IChangedCallback> |
changedCallback |
boolean |
isCommandable
Whether or not this field can be changed with commands at runtime.
|
boolean |
requiresMcRestart |
boolean |
requiresWorldRestart |
public abstract ConfigurableTypeCategory category
public abstract java.lang.String comment
public abstract java.lang.String categoryRaw
public abstract boolean isCommandable
public abstract boolean requiresWorldRestart
public abstract boolean requiresMcRestart
public abstract java.lang.Class<? extends IChangedCallback> changedCallback
IChangedCallback