Class FMLLoader

java.lang.Object
net.minecraftforge.fml.loading.FMLLoader

public class FMLLoader extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.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
    • languageLoadingProvider

      private static LanguageLoadingProvider languageLoadingProvider
    • dist

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

      private static String naming
    • loadingModList

      private static LoadingModList loadingModList
    • runtimeDistCleaner

      private static RuntimeDistCleaner runtimeDistCleaner
    • gamePath

      private static Path gamePath
    • versionInfo

      private static VersionInfo versionInfo
    • launchHandlerName

      private static String launchHandlerName
    • commonLaunchHandler

      private static CommonLaunchHandler commonLaunchHandler
    • progressWindowTick

      public static Runnable progressWindowTick
    • modValidator

      private static ModValidator modValidator
    • backgroundScanHandler

      public static BackgroundScanHandler backgroundScanHandler
    • production

      private static boolean production
    • moduleLayerManager

      private static cpw.mods.modlauncher.api.IModuleLayerManager moduleLayerManager
  • Constructor Details

    • FMLLoader

      public FMLLoader()
  • Method Details

    • onInitialLoad

      static void onInitialLoad(cpw.mods.modlauncher.api.IEnvironment env, Set<String> otherServices) throws cpw.mods.modlauncher.api.IncompatibleEnvironmentException
      Throws:
      cpw.mods.modlauncher.api.IncompatibleEnvironmentException
    • getPlugin

      private static <T> T getPlugin(cpw.mods.modlauncher.api.IEnvironment env, String id, String version, String name) throws cpw.mods.modlauncher.api.IncompatibleEnvironmentException
      Throws:
      cpw.mods.modlauncher.api.IncompatibleEnvironmentException
    • checkPackage

      private static void checkPackage(Class<?> cls, String version, String name) throws cpw.mods.modlauncher.api.IncompatibleEnvironmentException
      Throws:
      cpw.mods.modlauncher.api.IncompatibleEnvironmentException
    • getSingleService

      private static <T> T getSingleService(Class<T> clazz, String name) throws cpw.mods.modlauncher.api.IncompatibleEnvironmentException
      Throws:
      cpw.mods.modlauncher.api.IncompatibleEnvironmentException
    • setupLaunchHandler

      static void setupLaunchHandler(cpw.mods.modlauncher.api.IEnvironment environment, Map<String,Object> arguments)
    • beginModScan

      public static List<cpw.mods.modlauncher.api.ITransformationService.Resource> beginModScan(Map<String,?> arguments)
    • completeScan

      public static List<cpw.mods.modlauncher.api.ITransformationService.Resource> completeScan(cpw.mods.modlauncher.api.IModuleLayerManager layerManager)
    • getCoreModProvider

      public static net.minecraftforge.forgespi.coremod.ICoreModProvider getCoreModProvider()
    • getLanguageLoadingProvider

      public static LanguageLoadingProvider getLanguageLoadingProvider()
    • getModDiscoverer

      static ModDiscoverer getModDiscoverer()
    • getLaunchHandler

      public static CommonLaunchHandler getLaunchHandler()
    • addAccessTransformer

      public static void addAccessTransformer(Path atPath, ModFile modName)
    • getDist

      public static net.minecraftforge.api.distmarker.Dist getDist()
    • beforeStart

      public static void beforeStart(ModuleLayer gameLayer)
    • getLoadingModList

      public static LoadingModList getLoadingModList()
    • getGamePath

      public static Path getGamePath()
    • getNaming

      public static String getNaming()
    • getNameFunction

      public static Optional<BiFunction<cpw.mods.modlauncher.api.INameMappingService.Domain,String,String>> getNameFunction(String naming)
    • getLauncherInfo

      public static String getLauncherInfo()
    • modLauncherModList

      public static List<Map<String,String>> modLauncherModList()
    • launcherHandlerName

      public static String launcherHandlerName()
    • isProduction

      public static boolean isProduction()
    • isSecureJarEnabled

      public static boolean isSecureJarEnabled()
    • getGameLayer

      public static ModuleLayer getGameLayer()
    • versionInfo

      public static VersionInfo versionInfo()