Package net.minecraftforge.fml.config
Class ModConfig
java.lang.Object
net.minecraftforge.fml.config.ModConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate com.electronwill.nightconfig.core.CommentedConfig
private final ConfigFileTypeHandler
private final ModContainer
private final String
private final ForgeConfigSpec
private final ModConfig.Type
-
Constructor Summary
ConstructorDescriptionModConfig
(ModConfig.Type type, ForgeConfigSpec spec, ModContainer activeContainer) ModConfig
(ModConfig.Type type, ForgeConfigSpec spec, ModContainer container, String fileName) -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
defaultConfigName
(ModConfig.Type type, String modId) (package private) void
fireEvent
(ModConfig.ModConfigEvent configEvent) com.electronwill.nightconfig.core.CommentedConfig
getModId()
getSpec()
getType()
void
save()
(package private) void
setConfigData
(com.electronwill.nightconfig.core.CommentedConfig configData)
-
Field Details
-
type
-
spec
-
fileName
-
container
-
configHandler
-
configData
private com.electronwill.nightconfig.core.CommentedConfig configData -
saveHandler
-
-
Constructor Details
-
ModConfig
public ModConfig(ModConfig.Type type, ForgeConfigSpec spec, ModContainer container, String fileName) -
ModConfig
-
-
Method Details
-
defaultConfigName
-
getType
-
getFileName
-
getHandler
-
getSpec
-
getModId
-
getConfigData
public com.electronwill.nightconfig.core.CommentedConfig getConfigData() -
setConfigData
void setConfigData(com.electronwill.nightconfig.core.CommentedConfig configData) -
fireEvent
-
save
public void save() -
getFullPath
-