From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- javadoc/cpw/mods/fml/common/Loader.html | 741 ++++++++++++++++++++++++++++++++ 1 file changed, 741 insertions(+) create mode 100644 javadoc/cpw/mods/fml/common/Loader.html (limited to 'javadoc/cpw/mods/fml/common/Loader.html') diff --git a/javadoc/cpw/mods/fml/common/Loader.html b/javadoc/cpw/mods/fml/common/Loader.html new file mode 100644 index 0000000..bd0395a --- /dev/null +++ b/javadoc/cpw/mods/fml/common/Loader.html @@ -0,0 +1,741 @@ + + + + + +Loader (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common
+

Class Loader

+
+
+ +
+
    +
  • +
    +
    +
    public class Loader
    +extends java.lang.Object
    +
    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. +

    + +
      +
    1. LOADING. Scanning the filesystem for mod containers to load (zips, jars, + directories), adding them to the modClassLoader Scanning, the loaded + containers for mod classes to load and registering them appropriately.
    2. +
    3. PREINIT. The mod classes are configured, they are sorted into a load + order, and instances of the mods are constructed.
    4. +
    5. INIT. The mod instances are initialized. For BaseMod mods, this involves + calling the load method.
    6. +
    7. POSTINIT. The mod instances are post initialized. For BaseMod mods this + involves calling the modsLoaded method.
    8. +
    9. UP. The Loader is complete
    10. +
    11. ERRORED. The loader encountered an error during the LOADING phase and + dropped to this state instead. It will not complete loading from this state, + but it attempts to continue loading before abandoning and giving a fatal + error.
    12. +
    + + Phase 1 code triggers the LOADING and PREINIT states. Phase 2 code triggers + the INIT and POSTINIT states.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        instance

        +
        public static Loader instance()
        +
      • +
      + + + +
        +
      • +

        injectData

        +
        public static void injectData(java.lang.Object... data)
        +
      • +
      + + + +
        +
      • +

        getModList

        +
        public java.util.List<ModContainer> getModList()
        +
      • +
      + + + +
        +
      • +

        loadMods

        +
        public void 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.
        +
      • +
      + + + +
        +
      • +

        preinitializeMods

        +
        public void preinitializeMods()
        +
      • +
      + + + +
        +
      • +

        isModLoaded

        +
        public static boolean isModLoaded(java.lang.String modname)
        +
        Query if we know of a mod named modname
        +
        Parameters:
        modname -
        +
        Returns:
        If the mod is loaded
        +
      • +
      + + + +
        +
      • +

        getConfigDir

        +
        public java.io.File getConfigDir()
        +
      • +
      + + + +
        +
      • +

        getCrashInformation

        +
        public java.lang.String getCrashInformation()
        +
      • +
      + + + +
        +
      • +

        getFMLVersionString

        +
        public java.lang.String getFMLVersionString()
        +
      • +
      + + + +
        +
      • +

        getModClassLoader

        +
        public java.lang.ClassLoader getModClassLoader()
        +
      • +
      + + + +
        +
      • +

        computeDependencies

        +
        public void computeDependencies(java.lang.String dependencyString,
        +                       java.util.Set<ArtifactVersion> requirements,
        +                       java.util.List<ArtifactVersion> dependencies,
        +                       java.util.List<ArtifactVersion> dependants)
        +
      • +
      + + + +
        +
      • +

        getIndexedModList

        +
        public java.util.Map<java.lang.String,ModContainer> getIndexedModList()
        +
      • +
      + + + +
        +
      • +

        initializeMods

        +
        public void initializeMods()
        +
      • +
      + + + +
        +
      • +

        getCallableCrashInformation

        +
        public ICrashCallable getCallableCrashInformation()
        +
      • +
      + + + +
        +
      • +

        getActiveModList

        +
        public java.util.List<ModContainer> getActiveModList()
        +
      • +
      + + + + + + + +
        +
      • +

        getMCVersionString

        +
        public java.lang.String getMCVersionString()
        +
      • +
      + + + +
        +
      • +

        serverStarting

        +
        public boolean serverStarting(java.lang.Object server)
        +
      • +
      + + + +
        +
      • +

        serverStarted

        +
        public void serverStarted()
        +
      • +
      + + + +
        +
      • +

        serverStopping

        +
        public void serverStopping()
        +
      • +
      + + + +
        +
      • +

        getModObjectList

        +
        public com.google.common.collect.BiMap<ModContainer,java.lang.Object> getModObjectList()
        +
      • +
      + + + +
        +
      • +

        getReversedModObjectList

        +
        public com.google.common.collect.BiMap<java.lang.Object,ModContainer> getReversedModObjectList()
        +
      • +
      + + + +
        +
      • +

        activeModContainer

        +
        public ModContainer activeModContainer()
        +
      • +
      + + + +
        +
      • +

        isInState

        +
        public boolean isInState(LoaderState state)
        +
      • +
      + + + + + + + +
        +
      • +

        hasReachedState

        +
        public boolean hasReachedState(LoaderState state)
        +
      • +
      + + + +
        +
      • +

        getMCPVersionString

        +
        public java.lang.String getMCPVersionString()
        +
      • +
      + + + +
        +
      • +

        serverStopped

        +
        public void serverStopped()
        +
      • +
      + + + +
        +
      • +

        serverAboutToStart

        +
        public boolean serverAboutToStart(java.lang.Object server)
        +
      • +
      + + + +
        +
      • +

        getFMLBrandingProperties

        +
        public java.util.Map<java.lang.String,java.lang.String> getFMLBrandingProperties()
        +
      • +
      + + + +
        +
      • +

        getCustomModProperties

        +
        public java.util.Map<java.lang.String,java.lang.String> getCustomModProperties(java.lang.String modId)
        +
      • +
      + + + +
        +
      • +

        fireMissingMappingEvent

        +
        public java.util.List<java.lang.String> fireMissingMappingEvent(java.util.LinkedHashMap<java.lang.String,java.lang.Integer> missing,
        +                                                       boolean isLocalWorld,
        +                                                       GameData gameData,
        +                                                       java.util.Map<java.lang.String,java.lang.Integer[]> remaps)
        +
        Fire a FMLMissingMappingsEvent to let mods determine how blocks/items defined in the world + save, but missing from the runtime, are to be handled.
        +
        Parameters:
        missing - Map containing missing names with their associated id, blocks need to come before items for remapping.
        isLocalWorld - Whether this is executing for a world load (local/server) or a client.
        gameData - GameData instance where the new map's config is to be loaded into.
        +
        Returns:
        List with the mapping results.
        +
      • +
      + + + +
        +
      • +

        fireRemapEvent

        +
        public void fireRemapEvent(java.util.Map<java.lang.String,java.lang.Integer[]> remaps)
        +
      • +
      + + + +
        +
      • +

        runtimeDisableMod

        +
        public void runtimeDisableMod(java.lang.String modId)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3