Class JsonConfig<T>
java.lang.Object
net.frozenblock.lib.config.api.instance.Config<T>
net.frozenblock.lib.config.api.instance.json.JsonConfig<T>
Serializes and deserializes config data with GSON and Jankson.
-
Constructor Summary
ConstructorsConstructorDescriptionJsonConfig(String modId, Class<T> config) Deprecated, for removal: This API element is subject to removal in a future version.JsonConfig(String modId, Class<T> config, boolean supportsModification) Deprecated, for removal: This API element is subject to removal in a future version.JsonConfig(String modId, Class<T> config, boolean supportsModification, @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable Integer version) JsonConfig(String modId, Class<T> config, @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable Integer version) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.JsonConfig(String modId, Class<T> config, Path path, JsonType type, boolean supportsModification, @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable Integer version) JsonConfig(String modId, Class<T> config, Path path, JsonType type, @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable Integer version) JsonConfig(String modId, Class<T> config, JsonType type) Deprecated, for removal: This API element is subject to removal in a future version.JsonConfig(String modId, Class<T> config, JsonType type, boolean supportsModification) Deprecated, for removal: This API element is subject to removal in a future version.JsonConfig(String modId, Class<T> config, JsonType type, boolean supportsModification, @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable Integer version) JsonConfig(String modId, Class<T> config, JsonType type, @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable Integer version) -
Method Summary
Methods inherited from class net.frozenblock.lib.config.api.instance.Config
config, configClass, configWithSync, dataFixer, defaultInstance, formattedName, instance, isSynced, load, makePath, modId, path, save, setConfig, setSynced, supportsModification, supportsSync, version
-
Constructor Details
-
JsonConfig
Deprecated, for removal: This API element is subject to removal in a future version. -
JsonConfig
-
JsonConfig
Deprecated, for removal: This API element is subject to removal in a future version. -
JsonConfig
-
JsonConfig
@Deprecated(forRemoval=true) public JsonConfig(String modId, Class<T> config, Path path, JsonType type) Deprecated, for removal: This API element is subject to removal in a future version. -
JsonConfig
-
JsonConfig
@Deprecated(forRemoval=true) public JsonConfig(String modId, Class<T> config, boolean supportsModification) Deprecated, for removal: This API element is subject to removal in a future version. -
JsonConfig
-
JsonConfig
@Deprecated(forRemoval=true) public JsonConfig(String modId, Class<T> config, JsonType type, boolean supportsModification) Deprecated, for removal: This API element is subject to removal in a future version. -
JsonConfig
-
JsonConfig
@Deprecated(forRemoval=true) public JsonConfig(String modId, Class<T> config, Path path, JsonType type, boolean supportsModification) Deprecated, for removal: This API element is subject to removal in a future version. -
JsonConfig
-
-
Method Details