Skip to content

Commit f19f63e

Browse files
committed
fix: declare JEI as optional dependency in neoforge.mods.toml
JEI integration existed via annotation discovery but had no dependency declaration, meaning load ordering was not guaranteed. Adding it as optional with ordering=AFTER ensures correct initialization order when JEI is present alongside the existing EMI declaration.
1 parent 94cce77 commit f19f63e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/main/resources/META-INF/neoforge.mods.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@ type = "optional"
5050
versionRange = "[1.21,)"
5151
ordering = "AFTER"
5252
side = "BOTH"
53+
54+
[[dependencies.${mod_id}]]
55+
modId = "jei"
56+
type = "optional"
57+
versionRange = "[19.0,)"
58+
ordering = "AFTER"
59+
side = "CLIENT"

0 commit comments

Comments
 (0)