YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
cpw.mods.fml.common.LoaderState Enum Reference

Classes

enum  ModState
 

Public Member Functions

LoaderState transition (boolean errored)
 
boolean hasEvent ()
 
FMLStateEvent getEvent (Object...eventData)
 
LoaderState requiredState ()
 

Public Attributes

 NOINIT =("Uninitialized",null)
 
 LOADING =("Loading",null)
 
 CONSTRUCTING =("Constructing mods",FMLConstructionEvent.class)
 
 PREINITIALIZATION =("Pre-initializing mods", FMLPreInitializationEvent.class)
 
 INITIALIZATION =("Initializing mods", FMLInitializationEvent.class)
 
 POSTINITIALIZATION =("Post-initializing mods", FMLPostInitializationEvent.class)
 
 AVAILABLE =("Mod loading complete", FMLLoadCompleteEvent.class)
 
 SERVER_ABOUT_TO_START =("Server about to start", FMLServerAboutToStartEvent.class)
 
 SERVER_STARTING =("Server starting", FMLServerStartingEvent.class)
 
 SERVER_STARTED =("Server started", FMLServerStartedEvent.class)
 
 SERVER_STOPPING =("Server stopping", FMLServerStoppingEvent.class)
 
 SERVER_STOPPED =("Server stopped", FMLServerStoppedEvent.class)
 
 ERRORED =("Mod Loading errored",null)
 

Detailed Description

The state enum used to help track state progression for the loader

Author
cpw

Member Function Documentation

FMLStateEvent cpw.mods.fml.common.LoaderState.getEvent ( Object...  eventData)
boolean cpw.mods.fml.common.LoaderState.hasEvent ( )
LoaderState cpw.mods.fml.common.LoaderState.requiredState ( )
LoaderState cpw.mods.fml.common.LoaderState.transition ( boolean  errored)

Member Data Documentation

cpw.mods.fml.common.LoaderState.AVAILABLE =("Mod loading complete", FMLLoadCompleteEvent.class)
cpw.mods.fml.common.LoaderState.CONSTRUCTING =("Constructing mods",FMLConstructionEvent.class)
cpw.mods.fml.common.LoaderState.ERRORED =("Mod Loading errored",null)
cpw.mods.fml.common.LoaderState.INITIALIZATION =("Initializing mods", FMLInitializationEvent.class)
cpw.mods.fml.common.LoaderState.LOADING =("Loading",null)
cpw.mods.fml.common.LoaderState.NOINIT =("Uninitialized",null)
cpw.mods.fml.common.LoaderState.POSTINITIALIZATION =("Post-initializing mods", FMLPostInitializationEvent.class)
cpw.mods.fml.common.LoaderState.PREINITIALIZATION =("Pre-initializing mods", FMLPreInitializationEvent.class)
cpw.mods.fml.common.LoaderState.SERVER_ABOUT_TO_START =("Server about to start", FMLServerAboutToStartEvent.class)
cpw.mods.fml.common.LoaderState.SERVER_STARTED =("Server started", FMLServerStartedEvent.class)
cpw.mods.fml.common.LoaderState.SERVER_STARTING =("Server starting", FMLServerStartingEvent.class)
cpw.mods.fml.common.LoaderState.SERVER_STOPPED =("Server stopped", FMLServerStoppedEvent.class)
cpw.mods.fml.common.LoaderState.SERVER_STOPPING =("Server stopping", FMLServerStoppingEvent.class)

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