Package net.minecraftforge.fml.loading
Class FMLLoader
- java.lang.Object
-
- net.minecraftforge.fml.loading.FMLLoader
-
public class FMLLoader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static net.minecraftforge.accesstransformer.service.AccessTransformerService
accessTransformer
static BackgroundScanHandler
backgroundScanHandler
private static java.util.function.Predicate<java.lang.String>
classLoaderExclusions
private static FMLCommonLaunchHandler
commonLaunchHandler
private static net.minecraftforge.forgespi.coremod.ICoreModProvider
coreModProvider
private static net.minecraftforge.api.distmarker.Dist
dist
private static cpw.mods.modlauncher.serviceapi.ILaunchPluginService
eventBus
private static java.lang.String
forgeGroup
private static java.nio.file.Path
forgePath
(package private) static java.lang.String
forgeVersion
private static java.nio.file.Path
gamePath
private static LanguageLoadingProvider
languageLoadingProvider
private static cpw.mods.modlauncher.TransformingClassLoader
launchClassLoader
private static java.lang.String
launchHandlerName
private static LoadingModList
loadingModList
private static org.apache.logging.log4j.Logger
LOGGER
private static java.nio.file.Path[]
mcPaths
private static java.lang.String
mcpVersion
(package private) static java.lang.String
mcVersion
private static ModDiscoverer
modDiscoverer
private static java.lang.String
naming
private static boolean
production
static java.lang.Runnable
progressWindowTick
private static RuntimeDistCleaner
runtimeDistCleaner
-
Constructor Summary
Constructors Constructor Description FMLLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addAccessTransformer(java.nio.file.Path atPath, ModFile modName)
static void
beforeStart(cpw.mods.modlauncher.api.ITransformingClassLoader launchClassLoader)
static java.util.Map<net.minecraftforge.forgespi.locating.IModFile.Type,java.util.List<ModFile>>
beginModScan(java.util.Map<java.lang.String,?> arguments)
static java.util.function.Predicate<java.lang.String>
getClassLoaderExclusions()
static net.minecraftforge.forgespi.coremod.ICoreModProvider
getCoreModProvider()
static net.minecraftforge.api.distmarker.Dist
getDist()
static java.nio.file.Path
getForgePath()
static java.nio.file.Path
getGamePath()
static LanguageLoadingProvider
getLanguageLoadingProvider()
static cpw.mods.modlauncher.TransformingClassLoader
getLaunchClassLoader()
static java.lang.String
getLauncherInfo()
static LoadingModList
getLoadingModList()
static java.nio.file.Path[]
getMCPaths()
static java.lang.String
getMcpVersion()
(package private) static ModDiscoverer
getModDiscoverer()
static java.util.Optional<java.util.function.BiFunction<cpw.mods.modlauncher.api.INameMappingService.Domain,java.lang.String,java.lang.String>>
getNameFunction(java.lang.String naming)
static java.lang.String
getNaming()
static boolean
isProduction()
static boolean
isSecureJarEnabled()
static java.lang.String
launcherHandlerName()
static java.util.List<java.util.Map<java.lang.String,java.lang.String>>
modLauncherModList()
(package private) static void
onInitialLoad(cpw.mods.modlauncher.api.IEnvironment environment, java.util.Set<java.lang.String> otherServices)
(package private) static void
setupLaunchHandler(cpw.mods.modlauncher.api.IEnvironment environment, java.util.Map<java.lang.String,?> arguments)
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
accessTransformer
private static net.minecraftforge.accesstransformer.service.AccessTransformerService accessTransformer
-
modDiscoverer
private static ModDiscoverer modDiscoverer
-
coreModProvider
private static net.minecraftforge.forgespi.coremod.ICoreModProvider coreModProvider
-
eventBus
private static cpw.mods.modlauncher.serviceapi.ILaunchPluginService eventBus
-
languageLoadingProvider
private static LanguageLoadingProvider languageLoadingProvider
-
dist
private static net.minecraftforge.api.distmarker.Dist dist
-
naming
private static java.lang.String naming
-
loadingModList
private static LoadingModList loadingModList
-
launchClassLoader
private static cpw.mods.modlauncher.TransformingClassLoader launchClassLoader
-
runtimeDistCleaner
private static RuntimeDistCleaner runtimeDistCleaner
-
gamePath
private static java.nio.file.Path gamePath
-
forgePath
private static java.nio.file.Path forgePath
-
mcPaths
private static java.nio.file.Path[] mcPaths
-
mcVersion
static java.lang.String mcVersion
-
mcpVersion
private static java.lang.String mcpVersion
-
forgeVersion
static java.lang.String forgeVersion
-
forgeGroup
private static java.lang.String forgeGroup
-
classLoaderExclusions
private static java.util.function.Predicate<java.lang.String> classLoaderExclusions
-
launchHandlerName
private static java.lang.String launchHandlerName
-
commonLaunchHandler
private static FMLCommonLaunchHandler commonLaunchHandler
-
progressWindowTick
public static java.lang.Runnable progressWindowTick
-
backgroundScanHandler
public static BackgroundScanHandler backgroundScanHandler
-
production
private static boolean production
-
-
Method Detail
-
onInitialLoad
static void onInitialLoad(cpw.mods.modlauncher.api.IEnvironment environment, java.util.Set<java.lang.String> otherServices) throws cpw.mods.modlauncher.api.IncompatibleEnvironmentException
- Throws:
cpw.mods.modlauncher.api.IncompatibleEnvironmentException
-
setupLaunchHandler
static void setupLaunchHandler(cpw.mods.modlauncher.api.IEnvironment environment, java.util.Map<java.lang.String,?> arguments)
-
beginModScan
public static java.util.Map<net.minecraftforge.forgespi.locating.IModFile.Type,java.util.List<ModFile>> beginModScan(java.util.Map<java.lang.String,?> arguments)
-
getCoreModProvider
public static net.minecraftforge.forgespi.coremod.ICoreModProvider getCoreModProvider()
-
getLanguageLoadingProvider
public static LanguageLoadingProvider getLanguageLoadingProvider()
-
getModDiscoverer
static ModDiscoverer getModDiscoverer()
-
addAccessTransformer
public static void addAccessTransformer(java.nio.file.Path atPath, ModFile modName)
-
getDist
public static net.minecraftforge.api.distmarker.Dist getDist()
-
beforeStart
public static void beforeStart(cpw.mods.modlauncher.api.ITransformingClassLoader launchClassLoader)
-
getLoadingModList
public static LoadingModList getLoadingModList()
-
getLaunchClassLoader
public static cpw.mods.modlauncher.TransformingClassLoader getLaunchClassLoader()
-
getGamePath
public static java.nio.file.Path getGamePath()
-
getForgePath
public static java.nio.file.Path getForgePath()
-
getMCPaths
public static java.nio.file.Path[] getMCPaths()
-
getClassLoaderExclusions
public static java.util.function.Predicate<java.lang.String> getClassLoaderExclusions()
-
getNaming
public static java.lang.String getNaming()
-
getNameFunction
public static java.util.Optional<java.util.function.BiFunction<cpw.mods.modlauncher.api.INameMappingService.Domain,java.lang.String,java.lang.String>> getNameFunction(java.lang.String naming)
-
getMcpVersion
public static java.lang.String getMcpVersion()
-
getLauncherInfo
public static java.lang.String getLauncherInfo()
-
modLauncherModList
public static java.util.List<java.util.Map<java.lang.String,java.lang.String>> modLauncherModList()
-
launcherHandlerName
public static java.lang.String launcherHandlerName()
-
isProduction
public static boolean isProduction()
-
isSecureJarEnabled
public static boolean isSecureJarEnabled()
-
-