Class ClientModLoader
java.lang.Object
net.minecraftforge.client.loading.ClientModLoader
-
Field Summary
Modifier and TypeFieldDescriptionprivate static LoadingFailedException
private static boolean
private static boolean
private static final org.apache.logging.log4j.Logger
private static Minecraft
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
begin
(Minecraft minecraft, PackRepository defaultResourcePacks, ReloadableResourceManager mcResourceManager) static VersionChecker.Status
static boolean
private static Runnable
private static void
finishModLoading
(ModWorkManager.DrivenExecutor 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
(ModWorkManager.DrivenExecutor syncExecutor, Executor parallelExecutor)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
loading
private static boolean loading -
mc
-
loadingComplete
private static boolean loadingComplete -
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) -
createRunnableWithCatch
-
startModLoading
private static void startModLoading(ModWorkManager.DrivenExecutor syncExecutor, Executor parallelExecutor) -
finishModLoading
private static void finishModLoading(ModWorkManager.DrivenExecutor syncExecutor, Executor parallelExecutor) -
checkForUpdates
-
completeModLoading
public static boolean completeModLoading() -
isLoading
public static boolean isLoading()
-