Package org.cyclops.cyclopscore.config
Annotation Interface ConfigurableProperty
Deprecated.
Property inside configs that can be configured in the config file.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionnet.neoforged.fml.config.ModConfig.Type
Deprecated.boolean
Deprecated.Whether or not this field can be changed with commands at runtime.int
Deprecated.The maximal value of the field, as a integer.int
Deprecated.The minimal value of the field, as a integer.Deprecated.Override the named id if multiple instances of a given config class exists.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.
-
Element Details
-
namedId
String namedIdDeprecated.Override the named id if multiple instances of a given config class exists.- Returns:
- A custom named id to place this property under. If empty, then the named id of the hosting config will be used.
- Default:
""
-
category
String categoryDeprecated.The category of the field.- Returns:
- The category.
-
comment
String commentDeprecated.The comment for the field in the config file.- Returns:
- The comment.
-
isCommandable
boolean isCommandableDeprecated.Whether or not this field can be changed with commands at runtime.- Returns:
- If it is commandable.
- Default:
false
-
requiresWorldRestart
boolean requiresWorldRestartDeprecated.- Returns:
- If this configurable requires worlds to regenerate.
- Default:
false
-
requiresMcRestart
boolean requiresMcRestartDeprecated.- Returns:
- If this configurable requires minecraft to restart.
- Default:
false
-
showInGui
boolean showInGuiDeprecated.- Returns:
- If this configurable will be shown in the gui.
- Default:
true
-
minimalValue
int minimalValueDeprecated.The minimal value of the field, as a integer.- Returns:
- The minimal value.
- Default:
-2147483648
-
maximalValue
int maximalValueDeprecated.The maximal value of the field, as a integer.- Returns:
- The maximal value.
- Default:
2147483647
-
configLocation
net.neoforged.fml.config.ModConfig.Type configLocationDeprecated.- Returns:
- The location of this config property.
- Default:
COMMON
-