Class ForgeRegistrations
java.lang.Object
net.ixdarklord.coolcatcore.internal.platform.forge.ForgeRegistrations
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<net.minecraft.resources.ResourceLocation,net.minecraft.server.packs.resources.PreparableReloadListener> -
Method Summary
Modifier and TypeMethodDescriptionstatic voidonAddReloadListeners(net.minecraftforge.event.AddReloadListenerEvent event) static voidregister(net.minecraftforge.eventbus.api.IEventBus modBus) Hooks the common registrations into Forge and creates CoolCatLib's network channel.
-
Field Details
-
SERVER_RELOAD_LISTENERS
public static final Map<net.minecraft.resources.ResourceLocation,net.minecraft.server.packs.resources.PreparableReloadListener> SERVER_RELOAD_LISTENERS
-
-
Method Details
-
register
public static void register(net.minecraftforge.eventbus.api.IEventBus modBus) Hooks the common registrations into Forge and creates CoolCatLib's network channel. Called once while CoolCatLib is constructed;modBusis its mod bus (nothing needs it yet). -
onAddReloadListeners
public static void onAddReloadListeners(net.minecraftforge.event.AddReloadListenerEvent event)
-