Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Modpack

Janrupf edited this page Jun 15, 2020 · 6 revisions

Modpack configuration

The special file modpack.json contains metadata about the modpack itself. This currently includes a name and optionally an icon:

{
    "packName": "My Modpack",
    "icon": {
        "path": "my-logo.png",
        "width": 64,
        "height": 64
   }
}

Both icon and name will be displayed in the installation window, they however have no further effects.

About the icon

The icon can be a path like: my-pack-icon.png (the path of the icon file is relative to the minecraft root directory, so config/mod-director/logo.png would load the logo from the ModDirector config directory). Alternatively, if you want to store your icon online, you may use an url like: https://modpacks.com/my-pack-icon.png. width and height are optional, if not set the image own dimensions will be used.

The supported formats depend on the JVM, however, png will usually be safe to use everywhere.

This feature is supported in version 1.4+

Clone this wiki locally