Class ReloadListeners
java.lang.Object
net.ixdarklord.coolcatcore.api.registry.ReloadListeners
Resource reload listeners.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterServer(net.minecraft.resources.ResourceLocation id, net.minecraft.server.packs.resources.PreparableReloadListener listener) Adds a listener to the server's data reloads (world load and/reload).
-
Method Details
-
registerServer
public static void registerServer(net.minecraft.resources.ResourceLocation id, net.minecraft.server.packs.resources.PreparableReloadListener listener) Adds a listener to the server's data reloads (world load and/reload). Call while the mod initialises.
-