Class ForgeRegistrations

java.lang.Object
net.ixdarklord.coolcatcore.internal.platform.forge.ForgeRegistrations

public final class ForgeRegistrations extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<net.minecraft.resources.ResourceLocation,net.minecraft.server.packs.resources.PreparableReloadListener>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onAddReloadListeners(net.minecraftforge.event.AddReloadListenerEvent event)
     
    static void
    register(net.minecraftforge.eventbus.api.IEventBus modBus)
    Hooks the common registrations into Forge and creates CoolCatLib's network channel.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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; modBus is its mod bus (nothing needs it yet).
    • onAddReloadListeners

      public static void onAddReloadListeners(net.minecraftforge.event.AddReloadListenerEvent event)