Package net.minecraftforge.fml.loading
Class ModSorter
java.lang.Object
net.minecraftforge.fml.loading.ModSorter
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.logging.log4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addDependency(com.google.common.graph.MutableGraph<ModFileInfo> topoGraph, net.minecraftforge.forgespi.language.IModInfo.ModVersion dep)
private void
private boolean
modVersionNotContained(net.minecraftforge.forgespi.language.IModInfo.ModVersion mv, Map<String,org.apache.maven.artifact.versioning.ArtifactVersion> modVersions)
selectNewestModInfo(Map.Entry<String,List<net.minecraftforge.forgespi.locating.IModFile>> fullList)
private void
sort()
static LoadingModList
sort(List<ModFile> mods, List<EarlyLoadingException.ExceptionData> errors)
private List<EarlyLoadingException.ExceptionData>
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
modFiles
-
sortedList
-
modIdNameLookup
-
forgeAndMC
-
-
Constructor Details
-
ModSorter
-
-
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
-
verifyDependencyVersions
-
modVersionNotContained
-