forked from neoforged/FancyModLoader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c8c324
commit 76b3c4d
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
loader/src/main/java/net/neoforged/fml/IModListReadyCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package net.neoforged.fml; | ||
|
||
import java.util.ServiceLoader; | ||
|
||
/** | ||
* Callback invoked after {@link ModContainer}s are created and the {@link ModList} is populated, | ||
* but before mods are constructed. | ||
* | ||
* <p>Instances are loaded via {@link ServiceLoader} from GAME and upper layers. | ||
*/ | ||
@FunctionalInterface | ||
public interface IModListReadyCallback { | ||
void onModListReady(ModList modList); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters