public class FMLServiceProvider
extends java.lang.Object
implements cpw.mods.modlauncher.api.ITransformationService
Modifier and Type | Field and 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 and Description |
---|
FMLServiceProvider() |
Modifier and Type | Method and 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() |
private static final org.apache.logging.log4j.Logger LOGGER
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> modsOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> modListsOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> mavenRootsOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> forgeOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> mcOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> forgeGroupOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> mcpOption
private joptsimple.ArgumentAcceptingOptionSpec<java.lang.String> mappingsOption
private java.util.List<java.lang.String> modsArgumentList
private java.util.List<java.lang.String> modListsArgumentList
private java.util.List<java.lang.String> mavenRootsArgumentList
private java.lang.String targetForgeVersion
private java.lang.String targetMcVersion
private java.lang.String targetMcpVersion
private java.lang.String targetMcpMappings
private java.lang.String targetForgeGroup
private java.util.Map<java.lang.String,java.lang.Object> arguments
public java.lang.String name()
name
in interface cpw.mods.modlauncher.api.ITransformationService
public void initialize(cpw.mods.modlauncher.api.IEnvironment environment)
initialize
in interface cpw.mods.modlauncher.api.ITransformationService
public void beginScanning(cpw.mods.modlauncher.api.IEnvironment environment)
beginScanning
in interface cpw.mods.modlauncher.api.ITransformationService
public java.util.List<java.util.Map.Entry<java.lang.String,java.nio.file.Path>> runScan(cpw.mods.modlauncher.api.IEnvironment environment)
runScan
in interface cpw.mods.modlauncher.api.ITransformationService
public void onLoad(cpw.mods.modlauncher.api.IEnvironment environment, java.util.Set<java.lang.String> otherServices) throws cpw.mods.modlauncher.api.IncompatibleEnvironmentException
onLoad
in interface cpw.mods.modlauncher.api.ITransformationService
cpw.mods.modlauncher.api.IncompatibleEnvironmentException
public void arguments(java.util.function.BiFunction<java.lang.String,java.lang.String,joptsimple.OptionSpecBuilder> argumentBuilder)
arguments
in interface cpw.mods.modlauncher.api.ITransformationService
public void argumentValues(cpw.mods.modlauncher.api.ITransformationService.OptionResult option)
argumentValues
in interface cpw.mods.modlauncher.api.ITransformationService
@Nonnull public java.util.List<cpw.mods.modlauncher.api.ITransformer> transformers()
transformers
in interface cpw.mods.modlauncher.api.ITransformationService