Modded pack metadata

- Modded jars ship pack.mcmeta for client resources and mod data
- Modded jars bundle jlibdeflate and its native libraries
- Artifact check requires pack.mcmeta and the jlibdeflate entries
- Artifact check rejects client language resources without pack.mcmeta
- Test loads the pack metadata against the current Minecraft formats
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-29 00:29:26 -04:00
1 parent c20296d106
commit 34684da611
8 files changed
+90

No files matched your search

@@ -85,6 +85,11 @@ public final class ModdedArtifactVerifier {
throw new GradleException(artifact.getName() + " is missing " + requiredEntry);
}
}
if (jar.getJarEntry("assets/irisworldgen/lang/en_us.json") != null
&& jar.getJarEntry("pack.mcmeta") == null) {
throw new GradleException(artifact.getName()
+ " ships Iris client language resources without pack.mcmeta");
}
Set<String> bundledRuntimeEntries = new LinkedHashSet<>();
Set<String> privateReferenceClasses = new LinkedHashSet<>();