Package | Description |
---|---|
net.minecraftforge.common | |
net.minecraftforge.common.config |
Modifier and Type | Field and Description |
---|---|
private static Configuration |
ForgeChunkManager.config |
private static Configuration |
ForgeModContainer.config |
Modifier and Type | Method and Description |
---|---|
static Configuration |
ForgeChunkManager.getConfig() |
static Configuration |
ForgeModContainer.getConfig() |
Modifier and Type | Field and Description |
---|---|
private static Configuration |
Configuration.PARENT |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,Configuration> |
Configuration.children |
private static java.util.Map<java.lang.String,Configuration> |
ConfigManager.CONFIGS |
Modifier and Type | Method and Description |
---|---|
(package private) static Configuration |
ConfigManager.getConfiguration(java.lang.String modid,
java.lang.String name) |
Configuration |
Configuration.setCategoryComment(java.lang.String category,
java.lang.String comment)
Adds a comment to the specified ConfigCategory object
|
Configuration |
Configuration.setCategoryConfigEntryClass(java.lang.String category,
java.lang.Class<? extends GuiConfigEntries.IConfigEntry> clazz)
Sets the custom IConfigEntry class that should be used in place of the standard entry class (which is just a button that
navigates into the category).
|
Configuration |
Configuration.setCategoryLanguageKey(java.lang.String category,
java.lang.String langKey)
Adds a language key to the specified ConfigCategory object
|
Configuration |
Configuration.setCategoryPropertyOrder(java.lang.String category,
java.util.List<java.lang.String> propOrder)
Sets the order that direct child properties of this config category will be written to the config file and will be displayed in
config GUIs.
|
Configuration |
Configuration.setCategoryRequiresMcRestart(java.lang.String category,
boolean requiresMcRestart)
Sets whether or not this ConfigCategory requires Minecraft to be restarted when changed.
|
Configuration |
Configuration.setCategoryRequiresWorldRestart(java.lang.String category,
boolean requiresWorldRestart)
Sets the flag for whether or not this category can be edited while a world is running.
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.copyCategoryProps(Configuration fromConfig,
java.lang.String[] ctgys)
Copies property objects from another Configuration object to this one using the list of category names.
|
private static boolean |
ConfigManager.exists(Configuration cfg,
java.lang.String category,
java.lang.String property) |
private static Property |
ConfigManager.property(Configuration cfg,
java.lang.String category,
java.lang.String property,
Property.Type type,
boolean isList) |
private void |
Configuration.setChild(java.lang.String name,
Configuration child) |
void |
FieldWrapper.MapWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart) |
void |
FieldWrapper.EnumWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart) |
void |
FieldWrapper.PrimitiveWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart) |
void |
IFieldWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart)
Deprecated.
|
void |
FieldWrapper.MapWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart,
boolean hasSlidingControl) |
void |
FieldWrapper.EnumWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart,
boolean hasSlidingControl) |
void |
FieldWrapper.PrimitiveWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart,
boolean hasSlidingControl) |
void |
FieldWrapper.SingleValueFieldWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart,
boolean hasSlidingControl) |
default void |
IFieldWrapper.setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart,
boolean hasSlidingControl) |
private static void |
ConfigManager.sync(Configuration cfg,
java.lang.Class<?> cls,
java.lang.String modid,
java.lang.String category,
boolean loading,
java.lang.Object instance) |