Quilt's loader is strict about quilt.mod.json: a missing schema_version, a mod id with a capital letter, a depends that is a string where an array is expected. You find out when the game refuses to start, or when a player opens an issue after you have published.

jdx is an open-source CLI and MCP server (Kotlin, Java 21+, Apache-2.0) that answers IDE-style questions about JVM jars without loading or running them. jdx resources --check arrived in v1.8.5 and covered Fabric and (Neo)Forge metadata well, but its Quilt support was shallow. v1.8.6, released today (issue #200, PR #206), checks quilt.mod.json as deeply as fabric.mod.json.

curl -fsSL https://raw.githubusercontent.com/MohammadMD1383/jdx/main/install-release.sh | bash # Windows: irm https://raw.githubusercontent.com/MohammadMD1383/jdx/main/install-release.ps1 | iex # existing release installs: jdx upgrade 

Two small Quilt mods

quilt-demo-1.0.0.jar is written correctly. It bundles a tiny library under META-INF/jars/ and depends on it, on Quilted Fabric API and on the loader itself:

{ "schema_version": 1, "quilt_loader": { "group": "com.example", "id": "quilt_demo", "version": "1.0.0", "entrypoints": { "init": "com.example.quiltdemo.QuiltDemo" }, "jars": ["META-INF/jars/tiny-config-2.1.0.jar"], "depends": [ "org.quiltmc:quilt_loader", { "id": "quilted_fabric_api", "versions": ">=9.0.0" }, "tiny_config" ] }, "mixin": "quilt_demo.mixins.json" } 

sloppy-0.1.0.jar is the kind of file you write at 2 a.m.:

{ "quilt_loader": { "id": "Sloppy-Mod", "version": "0.1.0", "entrypoints": { "init": "com.example.sloppy.SloppyInit" }, "jars": ["META-INF/jars/forgotten.jar"], "depends": "quilted_fabric_api" }, "mixin": "sloppy.mixins.json" } 

Check them

jdx resources --check --jars mods 'quilt.mod.json' 

Real output from jdx 1.8.6:

checked 4 metadata files: 7 errors, 1 warning quilt-demo-1.0.0.jar quilt.mod.json (quilt.mod.json): 1 warning warning: dependency 'quilted_fabric_api' is not provided by any opened jar or nested jar (add it to --jars, or the game or loader supplies it) quilt_demo.mixins.json (mixin config): ok quilt-demo-1.0.0.jar!META-INF/jars/tiny-config-2.1.0.jar quilt.mod.json (quilt.mod.json): ok sloppy-0.1.0.jar quilt.mod.json (quilt.mod.json): 7 errors error: missing required field 'schema_version' error: missing required field 'quilt_loader.group' error: 'quilt_loader.id' "Sloppy-Mod" must be 2-64 characters of a-z, 0-9, - or _, starting with a letter error: entrypoint 'init' class com.example.sloppy.SloppyInit is not on the classpath error: mixin config 'sloppy.mixins.json' is not in this jar error: nested jar 'META-INF/jars/forgotten.jar' is not in this jar error: 'quilt_loader.depends' must be an array note: --check reads metadata in place; use --cat to print a file raw. Nothing is downloaded. 

What happened there:

  • Quilt-only shape rules. schema_version, quilt_loader.group, the id format, and depends / jars / mixin being the right JSON type are new in 1.8.6. In 1.8.5 the same sloppy jar showed only the entrypoint and mixin-config errors.
  • group:id dependencies. org.quiltmc:quilt_loader is matched by its mod id, so it is no longer reported as missing (1.8.5 warned about it).
  • Nested jars. tiny_config lives only inside quilt-demo's META-INF/jars/. jdx opens that nested jar as its own root, checks its quilt.mod.json, and counts its id when matching dependencies, so it is not flagged. A path listed in quilt_loader.jars that is not in the jar is an error.
  • Classes are looked up, not loaded. The entrypoint check means "no class with that name in the opened jars"; nothing is run.
  • The one warning is honest: Quilted Fabric API is not in --jars. Add its jar, or accept that the game supplies it.

Use it as a CI gate

--check does not change the exit code on findings (it exits 0 when it checked a file), so gate on the JSON instead:

./gradlew build jdx resources --check --jars build/libs/sloppy-0.1.0.jar 'quilt.mod.json' --json \ | jq -e '.result.errors == 0' # prints false, exit 1 (for quilt-demo-1.0.0.jar: true, exit 0) 

Every finding is in .result.files[].findings[] with a severity and a message, so you can also print them in the job log. Warnings about dependencies the game provides do not count as errors, so a lone mod jar still passes.

What it does not do

  • No version ranges. "versions": ">=9.0.0" is not evaluated (#199 is open).
  • No load order, no loader emulation. It reads files; it does not resolve the dependency graph the way Quilt Loader does.
  • No remapping. jdx reads names as stored. A published mod uses intermediary names, your dev build uses Mojang/Yarn names. When an entrypoint or mixin target needs game classes, pass the Loom-mapped Minecraft jar with --jars, and keep everything in one mapping namespace (the same applies to jdx diff).
  • No Quilt-only fields beyond the loader basics were added; unknown keys are ignored, not flagged.

The same --check covers fabric.mod.json, META-INF/mods.toml, META-INF/neoforge.mods.toml and mixin configs, and it is available to AI agents as the MCP tool jdx_resources with check.