getAddons
Property | Type | Description |
---|---|---|
page? | number | The page number for pagination. |
version? | "all" | string | The Minecraft version to filter addons by. |
modloader? | "quilt" | "fabric" | "forge" | "neoforge" | "liteloader" | "modloader" | "rift" | "cauldron" | "any" | "all" | The modloader to filter addons by. |
search? | string | A search term to filter addons by name, description, slug or categories. |
sortOrder? | "name" | "created" | "downloads" | "followers" | "lastUpdated" | The sorting order for the results. |
platform? | "modrinth" | "curseforge" | "all" | The platform to filter addons by. |
Property | Type | Description |
---|---|---|
error | false | Indicates if there was an error. |
page | number | The current page number of the results. |
totalMods | number | The total number of mods available matching the query. |
totalPages | number | The total number of pages available matching the query. |
mods | Addon[] | An array of addons matching the query. |
getAddon
Property | Type | Description |
---|---|---|
slug | string | The unique slug identifier for the addon. |
platform? | "modrinth" | "curseforge" | The platform to filter the addon by. |