public class FMLCorePlugin extends Object implements IFMLLoadingPlugin
IFMLLoadingPlugin.DependsOn, IFMLLoadingPlugin.MCVersion, IFMLLoadingPlugin.Name, IFMLLoadingPlugin.SortingIndex, IFMLLoadingPlugin.TransformerExclusions| Constructor and Description |
|---|
FMLCorePlugin() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getASMTransformerClass()
Return a list of classes that implements the IClassTransformer interface
|
String[] |
getLibraryRequestClass()
Return a list of classes that implement the ILibrarySet interface
|
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.
|
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(Map<String,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 String[] getLibraryRequestClass()
IFMLLoadingPlugingetLibraryRequestClass in interface IFMLLoadingPluginpublic String[] getASMTransformerClass()
IFMLLoadingPlugingetASMTransformerClass in interface IFMLLoadingPluginpublic String getModContainerClass()
IFMLLoadingPlugingetModContainerClass in interface IFMLLoadingPluginpublic String getSetupClass()
IFMLLoadingPlugingetSetupClass in interface IFMLLoadingPluginpublic void injectData(Map<String,Object> data)
IFMLLoadingPlugininjectData in interface IFMLLoadingPlugin