public interface IFMLLoadingPlugin
Modifier and Type | Interface and Description |
---|---|
static interface |
IFMLLoadingPlugin.DependsOn |
static interface |
IFMLLoadingPlugin.MCVersion
Use this to target a specific minecraft version for your coremod.
|
static interface |
IFMLLoadingPlugin.Name
Name this coremod something other than the "short class name"
|
static interface |
IFMLLoadingPlugin.SortingIndex
A simple sorting index, interleaved with other tweakers from other sources, as well as FML
|
static interface |
IFMLLoadingPlugin.TransformerExclusions
Annotate your load plugin with a list of package prefixes that will *not* be
processed by the ASM transformation stack.
|
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,
|
java.lang.String[] getASMTransformerClass()
java.lang.String getModContainerClass()
@Nullable java.lang.String getSetupClass()
void injectData(java.util.Map<java.lang.String,java.lang.Object> data)
java.lang.String getAccessTransformerClass()