Skip to content

Mrpack

Mrpack formatModrinth packModrinth pack format

Mrpack is a custom file format made by Modrinth to store Modpacks metadata, mods and mod configurations.

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 installation
  • client-overrides • client side mod configurations
  • server-overrides • server side mod configurations
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;
};
};