YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
cpw.mods.fml.relauncher.IFMLLoadingPlugin Interface Reference
Inheritance diagram for cpw.mods.fml.relauncher.IFMLLoadingPlugin:
cpw.mods.fml.relauncher.FMLCorePlugin net.minecraftforge.classloading.FMLForgePlugin

Classes

interface  MCVersion
 
interface  TransformerExclusions
 

Public Member Functions

String[] getLibraryRequestClass ()
 
String[] getASMTransformerClass ()
 
String getModContainerClass ()
 
String getSetupClass ()
 
void injectData (Map< String, Object > data)
 

Detailed Description

The base plugin that provides class name meta information to FML to enhance the classloading lifecycle for mods in FML

Author
cpw

Member Function Documentation

String [] cpw.mods.fml.relauncher.IFMLLoadingPlugin.getASMTransformerClass ( )

Return a list of classes that implements the IClassTransformer interface

Returns
a list of classes that implements the IClassTransformer interface

Implemented in cpw.mods.fml.relauncher.FMLCorePlugin, and net.minecraftforge.classloading.FMLForgePlugin.

String [] cpw.mods.fml.relauncher.IFMLLoadingPlugin.getLibraryRequestClass ( )

Return a list of classes that implement the ILibrarySet interface

Returns
a list of classes that implement the ILibrarySet interface

Implemented in cpw.mods.fml.relauncher.FMLCorePlugin, and net.minecraftforge.classloading.FMLForgePlugin.

String cpw.mods.fml.relauncher.IFMLLoadingPlugin.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. Trivially, this modcontainer will be loaded before all regular mod containers, which means it will be forced to be "immutable" - not susceptible to normal sorting behaviour. All other mod behaviours are available however- this container can receive and handle normal loading events

Implemented in cpw.mods.fml.relauncher.FMLCorePlugin, and net.minecraftforge.classloading.FMLForgePlugin.

String cpw.mods.fml.relauncher.IFMLLoadingPlugin.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. It will be run prior to Minecraft starting, so it CANNOT operate on minecraft itself. The game will deliberately crash if this code is detected to trigger a minecraft class loading (TODO: implement crash ;) )

Implemented in cpw.mods.fml.relauncher.FMLCorePlugin, and net.minecraftforge.classloading.FMLForgePlugin.

void cpw.mods.fml.relauncher.IFMLLoadingPlugin.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,

Implemented in cpw.mods.fml.relauncher.FMLCorePlugin, and net.minecraftforge.classloading.FMLForgePlugin.


The documentation for this interface was generated from the following file: