Class FMLServiceProvider

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

    public class FMLServiceProvider
    extends java.lang.Object
    implements cpw.mods.modlauncher.api.ITransformationService
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface cpw.mods.modlauncher.api.ITransformationService

        cpw.mods.modlauncher.api.ITransformationService.OptionResult
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void arguments​(java.util.function.BiFunction<java.lang.String,​java.lang.String,​joptsimple.OptionSpecBuilder> argumentBuilder)  
      void argumentValues​(cpw.mods.modlauncher.api.ITransformationService.OptionResult option)  
      void beginScanning​(cpw.mods.modlauncher.api.IEnvironment environment)  
      void initialize​(cpw.mods.modlauncher.api.IEnvironment environment)  
      java.lang.String name()  
      void onLoad​(cpw.mods.modlauncher.api.IEnvironment environment, java.util.Set<java.lang.String> otherServices)  
      java.util.List<java.util.Map.Entry<java.lang.String,​java.nio.file.Path>> runScan​(cpw.mods.modlauncher.api.IEnvironment environment)  
      java.util.List<cpw.mods.modlauncher.api.ITransformer> transformers()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface cpw.mods.modlauncher.api.ITransformationService

        additionalClassesLocator, additionalResourcesLocator
    • Field Detail

      • LOGGER

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

        private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> modsOption
      • modListsOption

        private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> modListsOption
      • mavenRootsOption

        private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> mavenRootsOption
      • forgeOption

        private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> forgeOption
      • mcOption

        private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> mcOption
      • forgeGroupOption

        private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> forgeGroupOption
      • mcpOption

        private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> mcpOption
      • mappingsOption

        private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> mappingsOption
      • modsArgumentList

        private java.util.List<java.lang.String> modsArgumentList
      • modListsArgumentList

        private java.util.List<java.lang.String> modListsArgumentList
      • mavenRootsArgumentList

        private java.util.List<java.lang.String> mavenRootsArgumentList
      • targetForgeVersion

        private java.lang.String targetForgeVersion
      • targetMcVersion

        private java.lang.String targetMcVersion
      • targetMcpVersion

        private java.lang.String targetMcpVersion
      • targetMcpMappings

        private java.lang.String targetMcpMappings
      • targetForgeGroup

        private java.lang.String targetForgeGroup
      • arguments

        private java.util.Map<java.lang.String,​java.lang.Object> arguments
    • Constructor Detail

      • FMLServiceProvider

        public FMLServiceProvider()
    • Method Detail

      • name

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

        public void initialize​(cpw.mods.modlauncher.api.IEnvironment environment)
        Specified by:
        initialize in interface cpw.mods.modlauncher.api.ITransformationService
      • beginScanning

        public void beginScanning​(cpw.mods.modlauncher.api.IEnvironment environment)
        Specified by:
        beginScanning in interface cpw.mods.modlauncher.api.ITransformationService
      • runScan

        public java.util.List<java.util.Map.Entry<java.lang.String,​java.nio.file.Path>> runScan​(cpw.mods.modlauncher.api.IEnvironment environment)
        Specified by:
        runScan in interface cpw.mods.modlauncher.api.ITransformationService
      • onLoad

        public void onLoad​(cpw.mods.modlauncher.api.IEnvironment environment,
                           java.util.Set<java.lang.String> otherServices)
                    throws cpw.mods.modlauncher.api.IncompatibleEnvironmentException
        Specified by:
        onLoad in interface cpw.mods.modlauncher.api.ITransformationService
        Throws:
        cpw.mods.modlauncher.api.IncompatibleEnvironmentException
      • arguments

        public void arguments​(java.util.function.BiFunction<java.lang.String,​java.lang.String,​joptsimple.OptionSpecBuilder> argumentBuilder)
        Specified by:
        arguments in interface cpw.mods.modlauncher.api.ITransformationService
      • argumentValues

        public void argumentValues​(cpw.mods.modlauncher.api.ITransformationService.OptionResult option)
        Specified by:
        argumentValues in interface cpw.mods.modlauncher.api.ITransformationService
      • transformers

        @Nonnull
        public java.util.List<cpw.mods.modlauncher.api.ITransformer> transformers()
        Specified by:
        transformers in interface cpw.mods.modlauncher.api.ITransformationService