Package net.minecraftforge.fmlclient
Class ClientModLoader
java.lang.Object
net.minecraftforge.fmlclient.ClientModLoader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static EarlyLoaderGUI
private 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)
private static RepositorySource
buildPackFinder(Map<net.minecraftforge.forgespi.locating.IModFile,? extends PathResourcePack> modResourcePacks)
static VersionChecker.Status
private static void
clientPackFinder(Map<net.minecraftforge.forgespi.locating.IModFile,? extends PathResourcePack> modResourcePacks, Consumer<Pack> consumer, Pack.PackConstructor factory)
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)
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
-
earlyLoaderGUI
-
-
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) -
finishModLoading
private static void finishModLoading(ModWorkManager.DrivenExecutor syncExecutor, Executor parallelExecutor) -
checkForUpdates
-
completeModLoading
public static boolean completeModLoading() -
renderProgressText
public static void renderProgressText() -
isLoading
public static boolean isLoading() -
buildPackFinder
private static RepositorySource buildPackFinder(Map<net.minecraftforge.forgespi.locating.IModFile,? extends PathResourcePack> modResourcePacks) -
clientPackFinder
private static void clientPackFinder(Map<net.minecraftforge.forgespi.locating.IModFile,? extends PathResourcePack> modResourcePacks, Consumer<Pack> consumer, Pack.PackConstructor factory)
-