mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-25 21:40:05 +00:00
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:
1 parent
03c2630497
commit
79e7b0c79e
9 files changed
+116
-58
No files matched your search
@@ -8,6 +8,9 @@ Map<String, Object> target = targets.get(targetMinecraft)
|
||||
if (target == null) {
|
||||
throw new GradleException("Unsupported Iris mod target ${targetMinecraft}; choose ${targets.keySet().join(', ')}")
|
||||
}
|
||||
targets.each { String minecraft, Map<String, Object> candidate ->
|
||||
candidate.put('overlays', candidate.get('overlays') ?: [minecraft])
|
||||
}
|
||||
ext.irisModTarget = target
|
||||
ext.irisModTargets = targets
|
||||
if (project.name.startsWith('iris-')) {
|
||||
|
||||
Reference in new issue
Block a user