Class ConfigManager
java.lang.Object
net.ixdarklord.coolcatcore.internal.config.ConfigManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ConfigImpl> all()static List<ConfigImpl> static @Nullable ConfigImplget(net.minecraft.resources.Identifier id) static voidinit()Called once by each loader's common setup.modIds()Mods with at least one registered config.static voidprocessReloads(boolean clientThread) Reloads configs whose files changed.static voidregister(ConfigImpl config)
-
Method Details
-
init
public static void init()Called once by each loader's common setup. -
register
-
get
-
all
-
forMod
-
modIds
-
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.
-