public class FMLPostInitializationEvent extends FMLStateEvent
FMLInitializationEvent has been dispatched on every mod. This is the third and last
commonly called event during mod initialization.
Recommended activities: interact with other mods to establish cross-mod behaviours.for how to subscribe to this event| Constructor and Description |
|---|
FMLPostInitializationEvent(java.lang.Object... data) |
| Modifier and Type | Method and Description |
|---|---|
<any> |
buildSoftDependProxy(java.lang.String modId,
java.lang.String className,
java.lang.Object... arguments)
Build an object depending on if a specific target mod is loaded or not.
|
LoaderState.ModState |
getModState()
The current state of the mod
|
getSideapplyModContainer, description, getEventTypepublic FMLPostInitializationEvent(java.lang.Object... data)
public LoaderState.ModState getModState()
FMLStateEventgetModState in class FMLStateEventpublic <any> buildSoftDependProxy(java.lang.String modId,
java.lang.String className,
java.lang.Object... arguments)
modId - The modId I conditionally want to build an object forclassName - The name of the class I wish to instantiate