Class ModSorter

java.lang.Object
net.minecraftforge.fml.loading.ModSorter

public class ModSorter extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • modFiles

      private List<ModFile> modFiles
    • sortedList

      private List<ModInfo> sortedList
    • modIdNameLookup

      private Map<String,​ModInfo> modIdNameLookup
    • forgeAndMC

      private List<ModFile> forgeAndMC
  • Constructor Details

    • ModSorter

      private ModSorter(List<ModFile> modFiles)
  • Method Details

    • sort

      public static LoadingModList sort(List<ModFile> mods, List<EarlyLoadingException.ExceptionData> errors)
    • sort

      private void sort()
    • addDependency

      private void addDependency(com.google.common.graph.MutableGraph<ModFileInfo> topoGraph, net.minecraftforge.forgespi.language.IModInfo.ModVersion dep)
    • buildUniqueList

      private void buildUniqueList()
    • selectNewestModInfo

      private Map.Entry<String,​net.minecraftforge.forgespi.locating.IModFile> selectNewestModInfo(Map.Entry<String,​List<net.minecraftforge.forgespi.locating.IModFile>> fullList)
    • verifyDependencyVersions

      private List<EarlyLoadingException.ExceptionData> verifyDependencyVersions()
    • modVersionNotContained

      private boolean modVersionNotContained(net.minecraftforge.forgespi.language.IModInfo.ModVersion mv, Map<String,​org.apache.maven.artifact.versioning.ArtifactVersion> modVersions)