Package org.cyclops.cyclopscore.config
Annotation Interface ConfigurableProperty
Property inside configs that can be configured in the config file.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionnet.minecraftforge.fml.config.ModConfig.Type
boolean
Whether or not this field can be changed with commands at runtime.int
The maximal value of the field, as a integer.int
The minimal value of the field, as a integer.Override the named id if multiple instances of a given config class exists.boolean
boolean
boolean
-
Element Details
-
-
namedId
String namedIdOverride 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:
- ""
-
isCommandable
boolean isCommandableWhether or not this field can be changed with commands at runtime.- Returns:
- If it is commandable.
- Default:
- false
-
requiresWorldRestart
boolean requiresWorldRestart- Returns:
- If this configurable requires worlds to regenerate.
- Default:
- false
-
requiresMcRestart
boolean requiresMcRestart- Returns:
- If this configurable requires minecraft to restart.
- Default:
- false
-
showInGui
boolean showInGui- Returns:
- If this configurable will be shown in the gui.
- Default:
- true
-
minimalValue
int minimalValueThe minimal value of the field, as a integer.- Returns:
- The minimal value.
- Default:
- -2147483648
-
maximalValue
int maximalValueThe maximal value of the field, as a integer.- Returns:
- The maximal value.
- Default:
- 2147483647
-
configLocation
net.minecraftforge.fml.config.ModConfig.Type configLocation- Returns:
- The location of this config property.
- Default:
- COMMON
-