Class ReloadListeners

java.lang.Object
net.ixdarklord.coolcatcore.api.registry.ReloadListeners

public final class ReloadListeners extends Object
Resource reload listeners.
  • Method Summary

    Modifier and Type
    Method
    Description
    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).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.