cpw.mods.fml.common.event
Class FMLPreInitializationEvent
java.lang.Object
cpw.mods.fml.common.event.FMLEvent
cpw.mods.fml.common.event.FMLStateEvent
cpw.mods.fml.common.event.FMLPreInitializationEvent
public class FMLPreInitializationEvent
- extends FMLStateEvent
FMLPreInitializationEvent
public FMLPreInitializationEvent(Object... data)
getModState
public LoaderState.ModState getModState()
- Specified by:
getModState
in class FMLStateEvent
applyModContainer
public void applyModContainer(ModContainer activeContainer)
- Overrides:
applyModContainer
in class FMLEvent
getSourceFile
public File getSourceFile()
getModMetadata
public ModMetadata getModMetadata()
getModConfigurationDirectory
public File getModConfigurationDirectory()
getSuggestedConfigurationFile
public File getSuggestedConfigurationFile()
getAsmData
public ASMDataTable getAsmData()
getVersionProperties
public Properties getVersionProperties()
getModLog
public Logger getModLog()
- Get a logger instance configured to write to the FML Log as a parent, identified by modid. Handy for mod logging!
- Returns:
- A logger
getFMLSigningCertificates
@Deprecated
public Certificate[] getFMLSigningCertificates()
- Deprecated.
- Retrieve the FML signing certificates, if any. Validate these against the
published FML certificates in your mod, if you wish.
Deprecated because mods should NOT trust this code. Rather
they should copy this, or something like this, into their own mods.
- Returns:
- Certificates used to sign FML and Forge