Package net.minecraftforge.fmlonlyclient
Class ClientModLoader
java.lang.Object
net.minecraftforge.fmlonlyclient.ClientModLoader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static LoadingFailedException
private static boolean
private static boolean
private static org.apache.logging.log4j.Logger
private static Minecraft
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
begin(Minecraft minecraft, PackRepository defaultResourcePacks, ReloadableResourceManager mcResourceManager, ClientPackSource metadataSerializer)
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
static void
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, ClientPackSource metadataSerializer) -
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) -
postSidedRunnable
private static void postSidedRunnable() -
finishModLoading
private static void finishModLoading(ModWorkManager.DrivenExecutor syncExecutor, Executor parallelExecutor) -
completeModLoading
public static boolean completeModLoading() -
renderProgressText
public static void renderProgressText() -
isLoading
public static boolean isLoading()
-