public class FMLForgePlugin extends java.lang.Object implements IFMLLoadingPlugin
IFMLLoadingPlugin.DependsOn, IFMLLoadingPlugin.MCVersion, IFMLLoadingPlugin.Name, IFMLLoadingPlugin.SortingIndex, IFMLLoadingPlugin.TransformerExclusions
Modifier and Type | Field and Description |
---|---|
static java.io.File |
forgeLocation |
static boolean |
RUNTIME_DEOBF |
Constructor and Description |
---|
FMLForgePlugin() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessTransformerClass()
Return an optional access transformer class for this coremod.
|
java.lang.String[] |
getASMTransformerClass()
Return a list of classes that implements the IClassTransformer interface
|
java.lang.String |
getModContainerClass()
Return a class name that implements "ModContainer" for injection into the mod list
The "getName" function should return a name that other mods can, if need be,
depend on.
|
java.lang.String |
getSetupClass()
Return the class name of an implementor of "IFMLCallHook", that will be run, in the
main thread, to perform any additional setup this coremod may require.
|
void |
injectData(java.util.Map<java.lang.String,java.lang.Object> data)
Inject coremod data into this coremod
This data includes:
"mcLocation" : the location of the minecraft directory,
"coremodList" : the list of coremods
"coremodLocation" : the file this coremod loaded from,
|
public static boolean RUNTIME_DEOBF
public static java.io.File forgeLocation
public java.lang.String[] getASMTransformerClass()
IFMLLoadingPlugin
getASMTransformerClass
in interface IFMLLoadingPlugin
public java.lang.String getModContainerClass()
IFMLLoadingPlugin
getModContainerClass
in interface IFMLLoadingPlugin
@Nullable public java.lang.String getSetupClass()
IFMLLoadingPlugin
getSetupClass
in interface IFMLLoadingPlugin
public void injectData(java.util.Map<java.lang.String,java.lang.Object> data)
IFMLLoadingPlugin
injectData
in interface IFMLLoadingPlugin
public java.lang.String getAccessTransformerClass()
IFMLLoadingPlugin
getAccessTransformerClass
in interface IFMLLoadingPlugin