Class CapabilityHooks

java.lang.Object
net.neoforged.neoforge.capabilities.CapabilityHooks

@Internal public class CapabilityHooks extends Object
  • Field Details

    • initialized

      private static boolean initialized
    • initFinished

      static boolean initFinished
  • Constructor Details

    • CapabilityHooks

      public CapabilityHooks()
  • Method Details

    • init

      public static void init()
    • registerVanillaProviders

      public static void registerVanillaProviders(RegisterCapabilitiesEvent event)
    • invalidateCapsOnChunkLoad

      public static void invalidateCapsOnChunkLoad(ChunkEvent.Load event)
    • invalidateCapsOnChunkUnload

      public static void invalidateCapsOnChunkUnload(ChunkEvent.Unload event)
    • cleanCapabilityListenerReferencesOnTick

      public static void cleanCapabilityListenerReferencesOnTick(LevelTickEvent.Post event)