Interface IDependencyLocator

All Superinterfaces:
IOrderedProvider
All Known Implementing Classes:
JarInJarDependencyLocator

public interface IDependencyLocator extends IOrderedProvider
Loaded as a ServiceLoader. Takes mechanisms for locating candidate "mod-dependencies". and transforms them into IModFile objects.
  • Method Details

    • scanMods

      void scanMods(List<IModFile> loadedMods, IDiscoveryPipeline pipeline)
      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.