Class FMLDevClientLaunchProvider

  • All Implemented Interfaces:
    cpw.mods.modlauncher.api.ILaunchHandlerService

    public class FMLDevClientLaunchProvider
    extends FMLCommonLaunchHandler
    implements cpw.mods.modlauncher.api.ILaunchHandlerService
    • Field Detail

      • LOGGER

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

        private java.nio.file.Path compiledClasses
      • resources

        private java.nio.file.Path resources
    • Constructor Detail

      • FMLDevClientLaunchProvider

        public FMLDevClientLaunchProvider()
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface cpw.mods.modlauncher.api.ILaunchHandlerService
      • getForgePath

        public java.nio.file.Path getForgePath​(java.lang.String mcVersion,
                                               java.lang.String forgeVersion,
                                               java.lang.String forgeGroup)
        Overrides:
        getForgePath in class FMLCommonLaunchHandler
      • getMCPaths

        public java.nio.file.Path[] getMCPaths​(java.lang.String mcVersion,
                                               java.lang.String mcpVersion,
                                               java.lang.String forgeVersion,
                                               java.lang.String forgeGroup)
        Overrides:
        getMCPaths in class FMLCommonLaunchHandler
      • launchService

        public java.util.concurrent.Callable<java.lang.Void> launchService​(java.lang.String[] arguments,
                                                                           cpw.mods.modlauncher.api.ITransformingClassLoader launchClassLoader)
        Specified by:
        launchService in interface cpw.mods.modlauncher.api.ILaunchHandlerService
      • setup

        public void setup​(cpw.mods.modlauncher.api.IEnvironment environment,
                          java.util.Map<java.lang.String,​?> arguments)
        Overrides:
        setup in class FMLCommonLaunchHandler
      • validatePaths

        protected void validatePaths​(java.nio.file.Path forgePath,
                                     java.nio.file.Path[] mcPaths,
                                     java.lang.String forgeVersion,
                                     java.lang.String mcVersion,
                                     java.lang.String mcpVersion)
        Overrides:
        validatePaths in class FMLCommonLaunchHandler