Package net.neoforged.neoforge.internal
Class CommonModLoader
java.lang.Object
net.neoforged.neoforge.internal.CommonModLoader
- Direct Known Subclasses:
ClientModLoader
,DatagenModLoader
,ServerModLoader
Internal class for handling the steps of mod loading that are common for client, data and server runs.
- Client runs
begin(java.lang.Runnable)
,load(java.util.concurrent.Executor, java.util.concurrent.Executor)
andfinish(java.util.concurrent.Executor, java.util.concurrent.Executor)
at different timings, seeClientModLoader
. - Server runs all 3 consecutively.
- Datagen only runs
begin(java.lang.Runnable)
.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
registriesLoaded
private static boolean registriesLoaded
-
-
Constructor Details
-
CommonModLoader
public CommonModLoader()
-
-
Method Details
-
areRegistriesLoaded
public static boolean areRegistriesLoaded() -
begin
-
load
-
finish
-