Class JsonConfig<T>

java.lang.Object
net.frozenblock.lib.config.api.instance.Config<T>
net.frozenblock.lib.config.api.instance.json.JsonConfig<T>

public class JsonConfig<T> extends Config<T>
Serializes and deserializes config data with Jankson.
  • Constructor Details

    • JsonConfig

      public JsonConfig(String modId, Class<T> config, @Nullable @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable @Nullable Integer version)
    • JsonConfig

      public JsonConfig(String modId, Class<T> config, JsonType type, @Nullable @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable @Nullable Integer version)
    • JsonConfig

      public JsonConfig(String modId, Class<T> config, Path path, JsonType type, @Nullable @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable @Nullable Integer version)
    • JsonConfig

      public JsonConfig(String modId, Class<T> config, boolean supportsModification, @Nullable @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable @Nullable Integer version)
    • JsonConfig

      public JsonConfig(String modId, Class<T> config, JsonType type, boolean supportsModification, @Nullable @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable @Nullable Integer version)
    • JsonConfig

      public JsonConfig(String modId, Class<T> config, Path path, JsonType type, boolean supportsModification, @Nullable @Nullable com.mojang.datafixers.DataFixer dataFixer, @Nullable @Nullable Integer version)
  • Method Details