Where to download a mod for a Minecraft version
find_mod_downloadThe exact file to install for one mod on one Minecraft version and loader, with its download link. Use it for "where do I get X for 26.2 Fabric?", after diagnose_crash names a mod that needs another build, or when updating a pack to a new version. Checks, best first: the author's own build on Modrinth (status official: file, required mods, and lab runs of that exact file), a community port the Modkeel lab verified in one of its modpacks (port), the author's file for an earlier version that the lab ran on this one and saw start (older_build), a port the lab built from its public source and saw start but does not host (build_from_source: the repo, branch and how to build it), the loaders the author does build for that version (other_loader), else none; when that older file crashed in the lab instead, older_build says so and next_step warns against it. next_step says what the user can do in each case. For what the mod is, use get_mod_info; for whether it ran in the lab, get_mod_runs. Takes the mod's name as the user wrote it ("YUNG's Better Mineshafts"), a lab mod id or a Modrinth slug: no search_mods call needed first. Asks Modrinth live (two to five calls, nothing cached), so it can fail when Modrinth is down: retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mc | Yes | Minecraft version to install on, exactly, e.g. 1.21.1 or 26.2. | |
| loader | Yes | Mod loader of the instance: fabric, neoforge, forge or quilt. | |
| mod_id | Yes | The mod's name as the user wrote it (e.g. Entity Culling), a lab mod id (e.g. sodium, fabric_api) or a Modrinth slug (e.g. fabric-api). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mc | Yes | ||
| mod | Yes | ||
| data | Yes | Snapshot date and license of the lab data; attribute when quoting. | |
| ports | Yes | Ports verified by the lab; only when there is no official build. | |
| loader | Yes | ||
| status | Yes | ||
| project | No | The mod's Modrinth project; null when none matches. | |
| official | Yes | The author's build for this version and loader (a release when any). | |
| next_step | Yes | What the user can do now, one sentence. | |
| older_build | No | The author's file for an earlier version, as the Modkeel lab ran it on this one (only when there is no official build or port): ran (started on env) or crashed (detail says how). | |
| source_build | No | A port the Modkeel lab built from this GitHub repo and branch and saw start on env; Modkeel does not host its jar, so the player builds it (next_step says how). Only when nothing published fits. | |
| other_loaders | No | Loaders the author builds this version for. | |
| declared_versions | No | Newest Minecraft releases the author lists. |