Package net.minecraftforge.fml.config
Class ConfigTracker
java.lang.Object
net.minecraftforge.fml.config.ConfigTracker
-
Field Summary
Modifier and TypeFieldDescription(package private) static final org.slf4j.Marker
private final ConcurrentHashMap
<String, Map<ModConfig.Type, ModConfig>> private final EnumMap
<ModConfig.Type, Set<ModConfig>> private final ConcurrentHashMap
<String, ModConfig> static final ConfigTracker
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
closeConfig
(ModConfig config, Path configBasePath) fileMap()
getConfigFileName
(String modId, ModConfig.Type type) void
loadConfigs
(ModConfig.Type type, Path configBasePath) void
private void
openConfig
(ModConfig config, Path configBasePath) (package private) void
trackConfig
(ModConfig config) void
unloadConfigs
(ModConfig.Type type, Path configBasePath)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CONFIG
static final org.slf4j.Marker CONFIG -
INSTANCE
-
fileMap
-
configSets
-
configsByMod
-
-
Constructor Details
-
ConfigTracker
private ConfigTracker()
-
-
Method Details
-
trackConfig
-
loadConfigs
-
unloadConfigs
-
openConfig
-
closeConfig
-
loadDefaultServerConfigs
public void loadDefaultServerConfigs() -
getConfigFileName
-
configSets
-
fileMap
-