The version overrides for a project. This allows you to specify the exact version that a branch has to use for the project.
include (optional)
string array
not present
All the branches that are allowed to include the project. No other branches are allowed to do so. Not compatible with exclude.
exclude (optional)
string array
not present
All the branches that are NOT allowed to include the project. All the other branches are allowed to do so. Not compatible with include.
version override object
Key
Type
Default
Description
branch name
string
not present
The branch to override with a Modrinth version ID (423fue84).
Default JSON
{"pack_format":1,"name":"My Modrinth modpack","summary":"Short summary for this modpack","author":"John Doe","require_all":false,"auto_dependencies":false,"branches":[],"projects":{}}
Example JSON
{"pack_format":1,"name":"Super Amazing Modpack","summary":"Modpack focused being amazing.","author":"Mr. Awesome","require_all":true,"auto_dependencies":true,"branches":["1.21.4","1.20.4","1.20.1"],"projects":{"better-stats":{},"yosbr":{"version_overrides":{"1.20.1":"KMOzdYko","1.20.4":"KMOzdYko"}},"visuals":{"include":["1.20.1","1.20.4","1.21.4"]},"noisium":{"exclude":["1.20.1","1.20.4"]}}}
branch.json
Key
Type
Default
Description
version
string
1.0.0-fabric
The version of the branch that should be appended to the final modpack file.
minecraft_version
string
1.21.8
The Minecraft version to use with this modpack.
acceptable_minecraft_versions
string array
1.21.6, 1.21.7
Minecraft versions that are acceptable for downloading Modrinth mods.
This file is never intended to edit manually or with third party software. You should always use the Packrinth CLI or library. If you still find limitations, file an issue on GitHub.
Key
Type
Default
Description
info
string
This file is managed by Packrinth and not intended for manual editing. You should, however, add it to your Git repository.
Information about manually editing this file. This fields gets reset by Packrinth everytime the file saves!
{"info":"This file is managed by Packrinth and not intended for manual editing. You should, however, add it to your Git repository.","projects":[{"name":"Better Advancements","id":"better-advancements"},{"name":"Client Sort","id":"clientsort"}],"files":[{"path":"mods/BetterAdvancements-Fabric-1.21.1-0.4.3.21.jar","hashes":{"sha1":"f6c6193c8711340e52645b65dbb7ffde7fbf6f30","sha512":"7f0eaf623a357b5fab04faef4133651ec0972206f404619350d71ade632132d041ee1a93ab287ef16d18b99d73cae508da5fe8766ecc40f20bd131ba20edc0dc"},"env":{"client":"required","server":"required"},"downloads":["https://cdn.modrinth.com/data/Q2OqKxDG/versions/j80BmLRo/BetterAdvancements-Fabric-1.21.1-0.4.3.21.jar"],"fileSize":100151},{"path":"mods/clientsort-fabric-2.0.0-beta.14+1.21.1.jar","hashes":{"sha1":"c6c58e6cec22fe04c83e0973b55c24baeac298fc","sha512":"df86b4876ff861e61d832e767cc32c00ca5a83474ec42d18f1cf22c08b58a689f76d98d64f95aae1a8b234e474d664baa3d4c2314575079438716b830aa3a605"},"env":{"client":"required","server":"required"},"downloads":["https://cdn.modrinth.com/data/K0AkAin6/versions/Yp64RITq/clientsort-fabric-2.0.0-beta.14%2B1.21.1.jar"],"fileSize":279742}]}