Class ConfigUpgrader
java.lang.Object
com.hammy275.immersivemc.common.config.ConfigUpgrader
Handles upgrading between config formats for both common and client configs.
Stored here as to not clutter the main config class files.
IMPORTANT: Since JSON only understands decimal numbers, all integers are doubles.
IMPORTANT: Since JSON only understands decimal numbers, all integers are doubles.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
upgradeClientIfNeeded
(Map<Object, Object> config) static boolean
upgradeCommonIfNeeded
(Map<Object, Object> config)
-
Constructor Details
-
ConfigUpgrader
public ConfigUpgrader()
-
-
Method Details
-
upgradeCommonIfNeeded
-
upgradeClientIfNeeded
-