Class FMLLoader


  • public class FMLLoader
    extends java.lang.Object
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • accessTransformer

        private static net.minecraftforge.accesstransformer.service.AccessTransformerService accessTransformer
      • coreModProvider

        private static net.minecraftforge.forgespi.coremod.ICoreModProvider coreModProvider
      • eventBus

        private static cpw.mods.modlauncher.serviceapi.ILaunchPluginService eventBus
      • dist

        private static net.minecraftforge.api.distmarker.Dist dist
      • naming

        private static java.lang.String naming
      • launchClassLoader

        private static cpw.mods.modlauncher.TransformingClassLoader launchClassLoader
      • 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
      • progressWindowTick

        public static java.lang.Runnable progressWindowTick
      • production

        private static boolean production
    • Constructor Detail

      • FMLLoader

        public FMLLoader()
    • 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()
      • 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()