Class ModListHandler
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModListHandler
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
LOGGERprivate static final org.slf4j.Logger LOGGER
 
- 
- 
Constructor Details- 
ModListHandlerpublic ModListHandler()
 
- 
- 
Method Details- 
processModListsReads 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 lists
- mavenRootPaths- Roots to look for mods listed
- Returns:
- list of found mod coordinates
 
- 
transformPathToList
- 
fileExtension
- 
readListFileSimple list file, ending in ".list" with one mod coordinate per line- Parameters:
- filePath- path
- Returns:
- list
 
 
-