diff --git a/docs/types-and-platforms/server-types/fabric.md b/docs/types-and-platforms/server-types/fabric.md index 431c3159..71881b22 100644 --- a/docs/types-and-platforms/server-types/fabric.md +++ b/docs/types-and-platforms/server-types/fabric.md @@ -41,7 +41,17 @@ A specific loader or launcher version other than the latest can be requested usi FABRIC_LOADER_VERSION: 0.13.1 ``` -!!! note +!!! note "Fabric API" + + As [mentioned on the Fabric download page](https://fabricmc.net/use/installer/), most mods will require the Fabric API mod to be installed. That can be easily done by utilizing [the Modrinth downloads feature](../../mods-and-plugins/modrinth.md), such as adding this to the `environment` of a compose file service: + + ```yaml + TYPE: FABRIC + MODRINTH_PROJECTS: | + fabric-api + ``` + +!!! note "Alternate launcher" If you wish to use an alternative launcher you can: diff --git a/examples/fabric/compose.yml b/examples/fabric/compose.yml index 05dc0877..df27a406 100644 --- a/examples/fabric/compose.yml +++ b/examples/fabric/compose.yml @@ -7,6 +7,10 @@ services: # VERSION: 1.21.4 # FABRIC_INSTALLER_VERSION: 1.0.1 # FABRIC_LOADER_VERSION: 0.16.10 + # Since Fabric server type only includes the loader, most times + # the fabric-api is required for other mods to function + MODRINTH_PROJECTS: | + fabric-api ports: - "25565:25565" volumes: