Skip to content

Remote Mod Type: Modrinth

ACGaming edited this page Aug 10, 2024 · 1 revision

Downloading files from Modrinth

First of all, your file needs to end with .modrinth.json. Then, the format needs to be the following:

{
    "addonId": "project-slug",
    "fileId": "project-version"
}

Practical example for Fluidlogged API:

{
  "addonId": "fluidlogged-api",
  "fileId": "2.2.7"
}

You can retrieve both addonId and fileId from the URL of the respective project version. Please note that it is easy to type ID instead of Id, which will result in messages like this:

com.fasterxml.jackson.databind.exc.MismatchedInputException: Missing required creator property 'addonId' (index 0)
 at [Source: (sun.nio.ch.ChannelInputStream); line: 4, column: 1] (through reference chain: net.jan.moddirector.core.configuration.type.ModrinthRemoteMod["addonId"])

This feature is supported in version 1.9.0+

Clone this wiki locally