Interface IDependencyLocator
- All Superinterfaces:
IOrderedProvider
- All Known Implementing Classes:
JarInJarDependencyLocator
Loaded as a ServiceLoader. Takes mechanisms for locating candidate "mod-dependencies".
and transforms them into
IModFile
objects.-
Field Summary
Fields inherited from interface net.neoforged.neoforgespi.locating.IOrderedProvider
DEFAULT_PRIORITY, HIGHEST_SYSTEM_PRIORITY, LOWEST_SYSTEM_PRIORITY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
scanMods
(List<IModFile> loadedMods, IDiscoveryPipeline pipeline) Invoked to find all mod dependencies that this dependency locator can find.Methods inherited from interface net.neoforged.neoforgespi.locating.IOrderedProvider
getPriority
-
Method Details
-
scanMods
Invoked to find all mod dependencies that this dependency locator can find. It is not guaranteed that all these are loaded into the runtime, as such the result of this method should be seen as a list of candidates to load.
-