-
Notifications
You must be signed in to change notification settings - Fork 14
Modpack
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.
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+