Package net.minecraftforge.fmlonlyclient
Class ClientModLoader
java.lang.Object
net.minecraftforge.fmlonlyclient.ClientModLoader
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static LoadingFailedExceptionprivate static booleanprivate static booleanprivate static org.apache.logging.log4j.Loggerprivate static Minecraft -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbegin(Minecraft minecraft, PackRepository defaultResourcePacks, ReloadableResourceManager mcResourceManager, ClientPackSource metadataSerializer)static booleanprivate static Runnableprivate static voidfinishModLoading(ModWorkManager.DrivenExecutor syncExecutor, Executor parallelExecutor)static booleanprivate static CompletableFuture<Void>onResourceReload(PreparableReloadListener.PreparationBarrier stage, ResourceManager resourceManager, ProfilerFiller prepareProfiler, ProfilerFiller executeProfiler, Executor asyncExecutor, Executor syncExecutor)private static voidstatic voidprivate static voidstartModLoading(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()
-