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 GSON and Jankson.
  • Constructor Details

    • JsonConfig

      @Deprecated(forRemoval=true) public JsonConfig(String modId, Class<T> config)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • JsonConfig

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

      @Deprecated(forRemoval=true) public JsonConfig(String modId, Class<T> config, JsonType type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • JsonConfig

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

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

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

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

      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