From 66534d660520e90c3c380a66b9868e71d0c7860a Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Sun, 5 Jun 2022 20:23:48 +0300 Subject: [PATCH] README update --- README.md | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 689f573..1ca1acc 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ jobs: loaders: | fabric forge + quilt game-versions: | 1.16.3 1.17 @@ -101,7 +102,7 @@ jobs: | [version-type](#user-content-version-type) | The type of the release | Will be parsed from the [`version`](#user-content-version) value | `alpha`
`beta`
`release` | | [changelog](#user-content-changelog) | The changelog for this version | A body of the release that triggered the action | `This release fixes a few more issues in Sodium 0.3 for Minecraft 1.17.1.` | | [changelog-file](#user-content-changelog-file) | A glob of the changelog file | ❌ | `CHANGELOG.md` | -| [loaders](#user-content-loaders) | A list of supported mod loaders | `fabric` for Fabric mods
`forge` for Forge mods | `fabric`
`forge`
`rift` | +| [loaders](#user-content-loaders) | A list of supported mod loaders | `fabric` for Fabric mods
`forge` for Forge mods
`quilt` for Quilt mods | `fabric`
`forge`
`quilt`
`rift` | | [game-versions](#user-content-game-versions) | A list of supported Minecraft versions | A value specified in the config file, if any; otherwise, it will be parsed from the [`version`](#user-content-version) value | `21w37a`
`1.17` | | [version-resolver](#user-content-version-resolver) | Determines the way automatic [`game-versions`](#user-content-game-versions) resolvement works | `releasesIfAny` | `exact`
`latest`
`all`
`releases`
`releasesIfAny` | | [dependencies](#user-content-dependencies) | A list of dependencies | A dependency list specified in the config file | `fabric \| depends \| 0.40.0`
`fabric-api` | @@ -187,6 +188,28 @@ Can be automatically retrieved from the config file of your mod: modrinth="AANobbMI" ``` +- `quilt.mod.json` (Quilt) + + - `mc-publish` field *(recommended)*: + ```json + { + // ... + "mc-publish": { + "modrinth": "AANobbMI" + }, + } + ``` + + - `projects` field: + ```json + { + // ... + "projects": { + "modrinth": "AANobbMI" + }, + } + ``` + #### modrinth-token A valid token for the Modrinth API. It's required if you want to publish your assets to Modrinth. @@ -273,6 +296,28 @@ Can be automatically retrieved from the config file of your mod: curseforge=394468 ``` +- `quilt.mod.json` (Quilt) + + - `mc-publish` field *(recommended)*: + ```json + { + // ... + "mc-publish": { + "curseforge": 394468 + }, + } + ``` + + - `projects` field: + ```json + { + // ... + "projects": { + "curseforge": 394468 + }, + } + ``` + #### curseforge-token A valid token for the CurseForge API. It's required if you want to publish your assets to CurseForge. @@ -363,12 +408,13 @@ changelog-file: CHANGELOG.md #### loaders -A list of supported mod loaders. If no value is provided, `fabric` will be used for valid Fabric mods and `forge` will be used for valid Forge mods. +A list of supported mod loaders. If no value is provided, `fabric` will be used for valid Fabric mods, `forge` will be used for valid Forge mods, and `quilt` will be used for valid Quilt mods. ```yaml loaders: | fabric forge + quilt ``` #### game-versions @@ -496,6 +542,40 @@ Can be automatically retrieved from the config file of your mod: side="BOTH" ``` +- `quilt.mod.json` (Quilt) + ```json + "depends": [ + "required-dependency", + { + "id": "optional-dependency", + "version": "0.1.0", + "optional": true + } + ], + "provides": [ + { + "id": "included-dependency", + "version": "0.3.0", + "mc-publish": { + "ignore": false, // `mc-publish` will ignore this dependency, if `ignore` is set to true + "modrinth": "included-dependency-fabric", // Modrinth's project slug + "curseforge": "included-dependency-fabric" // CurseForge's project slug + } + } + ], + "breaks": [ + { + "id": "incompatible-dependency", + "version": "*" + }, + { + "id": "conflicting-dependency", + "version": "*", + "unless": "some-mod-that-fixes-conflict" + } + ], + ``` + #### java A list of supported Java versions. It's omitted by default.