Mrpack is a custom file format made by Modrinth to store Modpacks metadata, mods and mod configurations.
Structure
Section titled “Structure”Any .mrpack file is a ZIP (MIME type application/x-modrinth-modpack+zip) with an .mrpack extension.
The modpack metadata is stored in the modrinth.index.json with a UTF-8 encoding in the zip root.
The ZIP can also contain 3 folders:
overrides• mods configuration that should be installed in the Minecraft instance upon installationclient-overrides• client side mod configurationsserver-overrides• server side mod configurations
modrinth.index.json
Section titled “modrinth.index.json”type Mrpack = { formatVersion: 1; game: 'minecraft'; versionId: string; name: string; summary?: string; files: { path: string; env: { client: 'required'; server: 'required'; }; fileSize: number; downloads: string[]; hashes: { sha1: string; sha512: string; }; }[]; dependencies: { minecraft: string; 'fabric-loader'?: string; forge?: string; neoforge?: string; 'quilt-loader'?: string; };};