Class FMLServiceProvider

java.lang.Object
net.minecraftforge.fml.loading.FMLServiceProvider
All Implemented Interfaces:
cpw.mods.modlauncher.api.ITransformationService

public class FMLServiceProvider extends Object implements cpw.mods.modlauncher.api.ITransformationService
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • modsOption

      private joptsimple.ArgumentAcceptingOptionSpec<String> modsOption
    • modListsOption

      private joptsimple.ArgumentAcceptingOptionSpec<String> modListsOption
    • mavenRootsOption

      private joptsimple.ArgumentAcceptingOptionSpec<String> mavenRootsOption
    • forgeOption

      private joptsimple.ArgumentAcceptingOptionSpec<String> forgeOption
    • mcOption

      private joptsimple.ArgumentAcceptingOptionSpec<String> mcOption
    • forgeGroupOption

      private joptsimple.ArgumentAcceptingOptionSpec<String> forgeGroupOption
    • mcpOption

      private joptsimple.ArgumentAcceptingOptionSpec<String> mcpOption
    • mappingsOption

      private joptsimple.ArgumentAcceptingOptionSpec<String> mappingsOption
    • modsArgumentList

      private List<String> modsArgumentList
    • modListsArgumentList

      private List<String> modListsArgumentList
    • mavenRootsArgumentList

      private List<String> mavenRootsArgumentList
    • targetForgeVersion

      private String targetForgeVersion
    • targetMcVersion

      private String targetMcVersion
    • targetMcpVersion

      private String targetMcpVersion
    • targetMcpMappings

      private String targetMcpMappings
    • targetForgeGroup

      private String targetForgeGroup
    • arguments

      private Map<String,Object> arguments
  • Constructor Details

    • FMLServiceProvider

      public FMLServiceProvider()
  • Method Details

    • name

      public 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 List<cpw.mods.modlauncher.api.ITransformationService.Resource> beginScanning(cpw.mods.modlauncher.api.IEnvironment environment)
      Specified by:
      beginScanning in interface cpw.mods.modlauncher.api.ITransformationService
    • completeScan

      public List<cpw.mods.modlauncher.api.ITransformationService.Resource> completeScan(cpw.mods.modlauncher.api.IModuleLayerManager layerManager)
      Specified by:
      completeScan in interface cpw.mods.modlauncher.api.ITransformationService
    • onLoad

      public void onLoad(cpw.mods.modlauncher.api.IEnvironment environment, Set<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(BiFunction<String,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

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