Class ConfigManager

java.lang.Object
net.ixdarklord.coolcatcore.internal.config.ConfigManager

public final class ConfigManager extends Object
  • Method Details

    • init

      public static void init()
      Called once by each loader's common setup.
    • register

      public static void register(ConfigImpl config)
    • get

      @Nullable public static @Nullable ConfigImpl get(net.minecraft.resources.Identifier id)
    • all

      public static List<ConfigImpl> all()
    • forMod

      public static List<ConfigImpl> forMod(String modId)
    • modIds

      public static Set<String> modIds()
      Mods with at least one registered config.
    • processReloads

      public static void processReloads(boolean clientThread)
      Reloads configs whose files changed. Client configs reload on the client thread; the rest on the server thread, or on the client thread while no server runs.