Chained mod target overlays

- Mod targets list an ordered overlay chain; later overlays replace earlier ones and earlier source replacements apply to inherited files
- Forge and NeoForge metadata take their loader version range from the target
- The Fabric permissions library is bundled only for targets that declare it
- Dropped the 1.21.1 mods.toml copies that only differed in the loader range
This commit is contained in:
Brian Neumann-Fopiano committed 2026-10-16 10:44:12 -04:00
1 parent 03c2630497
commit 79e7b0c79e
9 files changed
+116 -58

No files matched your search

+2 -1
View File
@@ -264,8 +264,9 @@ tasks.named('test').configure {
processResources {
inputs.property('version', irisVersion)
inputs.property('minecraftVersion', minecraftVersion)
inputs.property('loaderRange', irisModTarget.neoForgeRange.toString())
filesMatching('META-INF/neoforge.mods.toml') {
expand('version': irisVersion, 'minecraftVersion': minecraftVersion)
expand('version': irisVersion, 'minecraftVersion': minecraftVersion, 'loaderRange': irisModTarget.neoForgeRange.toString())
}
}