Class CommonModLoader

java.lang.Object
net.neoforged.neoforge.internal.CommonModLoader
Direct Known Subclasses:
ClientModLoader, DatagenModLoader, ServerModLoader

public abstract class CommonModLoader extends Object
Internal class for handling the steps of mod loading that are common for client, data and server runs.

  • Field Details

    • registriesLoaded

      private static boolean registriesLoaded
  • Constructor Details

    • CommonModLoader

      public CommonModLoader()
  • Method Details

    • areRegistriesLoaded

      public static boolean areRegistriesLoaded()
    • begin

      protected static void begin(Runnable periodicTask)
    • load

      protected static void load(Executor syncExecutor, Executor parallelExecutor)
    • finish

      protected static void finish(Executor syncExecutor, Executor parallelExecutor)