|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcpw.mods.fml.common.Loader
public class Loader
The loader class performs the actual loading of the mod code from disk.
There are several LoaderState
s to mod loading, triggered in two
different stages from the FML handler code's hooks into the minecraft code.
modClassLoader
Scanning, the loaded
containers for mod classes to load and registering them appropriately.
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Loader instance()
public static void injectData(Object... data)
public List<ModContainer> getModList()
public void loadMods()
identifyMods()
and Constructing, Preinitalization, and Initalization phases here. Finally,
the mod list is frozen completely and is consider immutable from then on.
public static boolean isModLoaded(String modname)
modname
-
public File getConfigDir()
public String getCrashInformation()
public String getFMLVersionString()
public ClassLoader getModClassLoader()
public void computeDependencies(String dependencyString, Set<ArtifactVersion> requirements, List<ArtifactVersion> dependencies, List<ArtifactVersion> dependants)
public Map<String,ModContainer> getIndexedModList()
public void initializeMods()
public ICrashCallable getCallableCrashInformation()
public List<ModContainer> getActiveModList()
public LoaderState.ModState getModState(ModContainer selectedMod)
public String getMCVersionString()
public void serverStarting(Object server)
public void serverStarted()
public void serverStopping()
public com.google.common.collect.BiMap<ModContainer,Object> getModObjectList()
public com.google.common.collect.BiMap<Object,ModContainer> getReversedModObjectList()
public ModContainer activeModContainer()
public boolean isInState(LoaderState state)
public MinecraftDummyContainer getMinecraftModContainer()
public boolean hasReachedState(LoaderState state)
public String getMCPVersionString()
public void serverStopped()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |