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 Jankson.
-
Constructor Summary
ConstructorsConstructorDescriptionJsonConfig(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) 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, 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, load, makePath, modId, onSync, path, save, setConfig, supportsModification, supportsSync, version