Class ClientModLoader
java.lang.Object
net.neoforged.neoforge.internal.CommonModLoader
net.neoforged.neoforge.client.loading.ClientModLoader
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
begin
(Minecraft minecraft, PackRepository defaultResourcePacks, ReloadableResourceManager mcResourceManager) private static void
static net.neoforged.fml.VersionChecker.Status
static boolean
private static void
finishModLoading
(Executor syncExecutor, Executor parallelExecutor) static boolean
private static CompletableFuture
<Void> onResourceReload
(PreparableReloadListener.PreparationBarrier stage, ResourceManager resourceManager, ProfilerFiller prepareProfiler, ProfilerFiller executeProfiler, Executor asyncExecutor, Executor syncExecutor) private static void
startModLoading
(Executor syncExecutor, Executor parallelExecutor) Methods inherited from class net.neoforged.neoforge.internal.CommonModLoader
areRegistriesLoaded, begin, finish, load
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
loading
private static boolean loading -
mc
-
loadingComplete
private static boolean loadingComplete -
error
@Nullable private static @Nullable net.neoforged.fml.ModLoadingException error
-
-
Constructor Details
-
ClientModLoader
public ClientModLoader()
-
-
Method Details
-
begin
public static void begin(Minecraft minecraft, PackRepository defaultResourcePacks, ReloadableResourceManager mcResourceManager) -
onResourceReload
private static CompletableFuture<Void> onResourceReload(PreparableReloadListener.PreparationBarrier stage, ResourceManager resourceManager, ProfilerFiller prepareProfiler, ProfilerFiller executeProfiler, Executor asyncExecutor, Executor syncExecutor) -
catchLoadingException
-
startModLoading
-
finishModLoading
-
checkForUpdates
public static net.neoforged.fml.VersionChecker.Status checkForUpdates() -
completeModLoading
public static boolean completeModLoading() -
isLoading
public static boolean isLoading()
-