Interface IModFileCandidateLocator
- All Superinterfaces:
IOrderedProvider
- All Known Implementing Classes:
GameLocator, InDevFolderLocator, InDevJarLocator, ModsFolderLocator, PathBasedLocator
Loaded as a ServiceLoader. Takes mechanisms for locating candidate "mod" JARs.
-
Field Summary
Fields inherited from interface IOrderedProvider
DEFAULT_PRIORITY, HIGHEST_SYSTEM_PRIORITY, LOWEST_SYSTEM_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionvoidfindCandidates(ILaunchContext context, IDiscoveryPipeline pipeline) Discovers potential mods to be loaded by FML.static IModFileCandidateLocatorCreates an IModFileCandidateLocator that searches for mod jar-files in the given filesystem location.Methods inherited from interface IOrderedProvider
getPriority
-
Method Details
-
forFolder
Creates an IModFileCandidateLocator that searches for mod jar-files in the given filesystem location. -
findCandidates
Discovers potential mods to be loaded by FML.- Parameters:
pipeline- Adds discovered mods and issues to this pipeline.
-