Package net.minecraftforge.fml.loading
Class FMLServiceProvider
- java.lang.Object
-
- net.minecraftforge.fml.loading.FMLServiceProvider
-
- All Implemented Interfaces:
cpw.mods.modlauncher.api.ITransformationService
public class FMLServiceProvider extends java.lang.Object implements cpw.mods.modlauncher.api.ITransformationService
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.Object>
arguments
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String>
forgeGroupOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String>
forgeOption
private static org.apache.logging.log4j.Logger
LOGGER
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String>
mappingsOption
private java.util.List<java.lang.String>
mavenRootsArgumentList
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String>
mavenRootsOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String>
mcOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String>
mcpOption
private java.util.List<java.lang.String>
modListsArgumentList
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String>
modListsOption
private java.util.List<java.lang.String>
modsArgumentList
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String>
modsOption
private java.lang.String
targetForgeGroup
private java.lang.String
targetForgeVersion
private java.lang.String
targetMcpMappings
private java.lang.String
targetMcpVersion
private java.lang.String
targetMcVersion
-
Constructor Summary
Constructors Constructor Description FMLServiceProvider()
-
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()
-
-
-
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
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
name
in interfacecpw.mods.modlauncher.api.ITransformationService
-
initialize
public void initialize(cpw.mods.modlauncher.api.IEnvironment environment)
- Specified by:
initialize
in interfacecpw.mods.modlauncher.api.ITransformationService
-
beginScanning
public void beginScanning(cpw.mods.modlauncher.api.IEnvironment environment)
- Specified by:
beginScanning
in interfacecpw.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 interfacecpw.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 interfacecpw.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 interfacecpw.mods.modlauncher.api.ITransformationService
-
argumentValues
public void argumentValues(cpw.mods.modlauncher.api.ITransformationService.OptionResult option)
- Specified by:
argumentValues
in interfacecpw.mods.modlauncher.api.ITransformationService
-
transformers
@Nonnull public java.util.List<cpw.mods.modlauncher.api.ITransformer> transformers()
- Specified by:
transformers
in interfacecpw.mods.modlauncher.api.ITransformationService
-
-