YATS/Forge Documentation
|
Static Public Member Functions | |
static Loader | instance () |
static void | injectData (Object...data) |
static boolean | isModLoaded (String modname) |
The loader class performs the actual loading of the mod code from disk.
There are several LoaderStates to mod loading, triggered in two different stages from the FML handler code's hooks into the minecraft code.
Phase 1 code triggers the LOADING and PREINIT states. Phase 2 code triggers the INIT and POSTINIT states.
ModContainer cpw.mods.fml.common.Loader.activeModContainer | ( | ) |
void cpw.mods.fml.common.Loader.computeDependencies | ( | String | dependencyString, |
Set< ArtifactVersion > | requirements, | ||
List< ArtifactVersion > | dependencies, | ||
List< ArtifactVersion > | dependants | ||
) |
List<ModContainer> cpw.mods.fml.common.Loader.getActiveModList | ( | ) |
ICrashCallable cpw.mods.fml.common.Loader.getCallableCrashInformation | ( | ) |
File cpw.mods.fml.common.Loader.getConfigDir | ( | ) |
String cpw.mods.fml.common.Loader.getCrashInformation | ( | ) |
Map<String,String> cpw.mods.fml.common.Loader.getFMLBrandingProperties | ( | ) |
String cpw.mods.fml.common.Loader.getFMLVersionString | ( | ) |
Map<String,ModContainer> cpw.mods.fml.common.Loader.getIndexedModList | ( | ) |
String cpw.mods.fml.common.Loader.getMCPVersionString | ( | ) |
String cpw.mods.fml.common.Loader.getMCVersionString | ( | ) |
MinecraftDummyContainer cpw.mods.fml.common.Loader.getMinecraftModContainer | ( | ) |
ClassLoader cpw.mods.fml.common.Loader.getModClassLoader | ( | ) |
List<ModContainer> cpw.mods.fml.common.Loader.getModList | ( | ) |
BiMap<ModContainer, Object> cpw.mods.fml.common.Loader.getModObjectList | ( | ) |
ModState cpw.mods.fml.common.Loader.getModState | ( | ModContainer | selectedMod) |
BiMap<Object, ModContainer> cpw.mods.fml.common.Loader.getReversedModObjectList | ( | ) |
boolean cpw.mods.fml.common.Loader.hasReachedState | ( | LoaderState | state) |
void cpw.mods.fml.common.Loader.initializeMods | ( | ) |
|
static |
|
static |
boolean cpw.mods.fml.common.Loader.isInState | ( | LoaderState | state) |
|
static |
Query if we know of a mod named modname
modname |
void cpw.mods.fml.common.Loader.loadMods | ( | ) |
Called from the hook to start mod loading. We trigger the identifyMods() and Constructing, Preinitalization, and Initalization phases here. Finally, the mod list is frozen completely and is consider immutable from then on.
boolean cpw.mods.fml.common.Loader.serverAboutToStart | ( | Object | server) |
void cpw.mods.fml.common.Loader.serverStarted | ( | ) |
boolean cpw.mods.fml.common.Loader.serverStarting | ( | Object | server) |
void cpw.mods.fml.common.Loader.serverStopped | ( | ) |
void cpw.mods.fml.common.Loader.serverStopping | ( | ) |