Package net.minecraftforge.fml.client
Class ClientModLoader
java.lang.Object
net.minecraftforge.fml.client.ClientModLoader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static EarlyLoaderGUI
private 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, ResourcePackList defaultResourcePacks, IReloadableResourceManager mcResourceManager, DownloadingPackFinder metadataSerializer) private static ResourcePackLoader.IPackInfoFinder
buildPackFinder
(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter) static VersionChecker.Status
private static void
clientPackFinder
(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter, Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory) static boolean
private static Runnable
private static void
finishModLoading
(ModWorkManager.DrivenExecutor syncExecutor, Executor parallelExecutor) static boolean
private static CompletableFuture<Void>
onResourceReload
(IFutureReloadListener.IStage stage, IResourceManager resourceManager, IProfiler prepareProfiler, IProfiler executeProfiler, Executor asyncExecutor, Executor syncExecutor) private static void
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
-
earlyLoaderGUI
-
-
Constructor Details
-
ClientModLoader
public ClientModLoader()
-
-
Method Details
-
begin
public static void begin(Minecraft minecraft, ResourcePackList defaultResourcePacks, IReloadableResourceManager mcResourceManager, DownloadingPackFinder metadataSerializer) -
onResourceReload
private static CompletableFuture<Void> onResourceReload(IFutureReloadListener.IStage stage, IResourceManager resourceManager, IProfiler prepareProfiler, IProfiler executeProfiler, Executor asyncExecutor, Executor syncExecutor) -
createRunnableWithCatch
-
startModLoading
private static void startModLoading(ModWorkManager.DrivenExecutor syncExecutor, Executor parallelExecutor) -
postSidedRunnable
private static void postSidedRunnable() -
preSidedRunnable
private static void preSidedRunnable() -
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 ResourcePackLoader.IPackInfoFinder buildPackFinder(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter) -
clientPackFinder
private static void clientPackFinder(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter, Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory)
-