mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
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:
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<>();
|
||||
|
||||
Reference in new issue
Block a user