feat: support Fabric (#66)

* Initial scaffolding for Fabric.

* refactor: extract common ModStructure

* feat: add FabricModStructure

* refactor: add name field to VersionRepoStructure

* feat: FabricResolver

* feat: support Fabric

* docs: update README

* Small changes.

* Add additional note.

* Upgrade helios-distribution-types.

---------

Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com>
This commit is contained in:
jebibot
2023-12-04 07:37:14 +09:00
committed by GitHub
parent 8b528959bc
commit 76ab09a010
22 changed files with 564 additions and 181 deletions

View File

@@ -113,6 +113,13 @@ Options:
* OPTIONAL (default: null)
* If not provided forge will not be enabled.
* You can provide either `latest` or `recommended` to use the latest/recommended version of forge.
* `--fabric <string>` Specify fabric loader version
* OPTIONAL (default: null)
* If not provided fabric will not be enabled.
* You can provide either `latest` or `recommended` to use the latest/recommended version of fabric.
> [!NOTE]
> Forge and fabric cannot be used together on the same server. This command will fail if both are provided.
>
> Example Usage
@@ -227,6 +234,7 @@ Ex.
* `files` All modules of type `File`.
* `libraries` All modules of type `Library`
* `forgemods` All modules of type `ForgeMod`.
* `fabricmods` All modules of type `FabricMod`.
* This is a directory of toggleable modules. See the note below.
* `TestServer-1.12.2.png` Server icon file.