Interface IModFileCandidateLocator
- All Superinterfaces:
IOrderedProvider
- All Known Implementing Classes:
MavenDirectoryLocator
,ModsFolderLocator
,NeoForgeDevProvider
,PathBasedLocator
,ProductionClientProvider
,ProductionServerProvider
,UserdevLocator
Loaded as a ServiceLoader. Takes mechanisms for locating candidate "mod" JARs.
-
Field Summary
Fields inherited from interface net.neoforged.neoforgespi.locating.IOrderedProvider
DEFAULT_PRIORITY, HIGHEST_SYSTEM_PRIORITY, LOWEST_SYSTEM_PRIORITY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
findCandidates
(ILaunchContext context, IDiscoveryPipeline pipeline) Discovers potential mods to be loaded by FML.static IModFileCandidateLocator
Creates an IModFileCandidateLocator that searches for mod jar-files in the given filesystem location.Methods inherited from interface net.neoforged.neoforgespi.locating.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.
-