Class ModListHandler
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModListHandler
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate static StringfileExtension(Path path) processModLists(List<String> modListPaths, List<Path> mavenRootPaths) Reads the modList paths specified, and searches each maven root for mods matching.readListFile(Path filePath) Simple list file, ending in ".list" with one mod coordinate per linetransformPathToList(String path)  
- 
Field Details
- 
LOGGER
private static final org.slf4j.Logger LOGGER 
 - 
 - 
Constructor Details
- 
ModListHandler
public ModListHandler() 
 - 
 - 
Method Details
- 
processModLists
Reads the modList paths specified, and searches each maven root for mods matching. Returns a list of mods found.- Parameters:
 modListPaths- Paths to search for mod file listsmavenRootPaths- Roots to look for mods listed- Returns:
 - list of found mod coordinates
 
 - 
transformPathToList
 - 
fileExtension
 - 
readListFile
Simple list file, ending in ".list" with one mod coordinate per line- Parameters:
 filePath- path- Returns:
 - list
 
 
 -