Package net.minecraftforge.fml.loading
Class ModSorter
java.lang.Object
net.minecraftforge.fml.loading.ModSorter
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Logger
private final UniqueModListBuilder
-
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 void
detectSystemMods
(Map<String, List<ModFile>> modFilesByFirstId) private static String
formatDependencyError
(net.minecraftforge.forgespi.language.IModInfo.ModVersion dependency, Map<String, org.apache.maven.artifact.versioning.ArtifactVersion> modVersions) private boolean
modVersionNotContained
(net.minecraftforge.forgespi.language.IModInfo.ModVersion mv, Map<String, org.apache.maven.artifact.versioning.ArtifactVersion> modVersions) 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 -
uniqueModListBuilder
-
modFiles
-
sortedList
-
modIdNameLookup
-
systemMods
-
-
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() -
detectSystemMods
-
verifyDependencyVersions
-
formatDependencyError
-
modVersionNotContained
-