From a3fb5058392d6e47309b02aae0574c7d8c9b9c66 Mon Sep 17 00:00:00 2001 From: Su5eD Date: Thu, 1 Aug 2024 11:45:16 +0200 Subject: [PATCH] Support ordering of dependency locators --- .../net/neoforged/neoforgespi/locating/IDependencyLocator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/main/java/net/neoforged/neoforgespi/locating/IDependencyLocator.java b/loader/src/main/java/net/neoforged/neoforgespi/locating/IDependencyLocator.java index 88e653917..29e28e292 100644 --- a/loader/src/main/java/net/neoforged/neoforgespi/locating/IDependencyLocator.java +++ b/loader/src/main/java/net/neoforged/neoforgespi/locating/IDependencyLocator.java @@ -11,7 +11,7 @@ * Loaded as a ServiceLoader. Takes mechanisms for locating candidate "mod-dependencies". * and transforms them into {@link IModFile} objects. */ -public interface IDependencyLocator { +public interface IDependencyLocator extends IOrderedProvider { /** * Invoked to find all mod dependencies that this dependency locator can find. * It is not guaranteed that all these are loaded into the runtime,