Skip to content

Commit 0471322

Browse files
authored
docs: add a note about downloading fabric-api (#3401)
1 parent 483cd3a commit 0471322

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/types-and-platforms/server-types/fabric.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,17 @@ A specific loader or launcher version other than the latest can be requested usi
4141
FABRIC_LOADER_VERSION: 0.13.1
4242
```
4343

44-
!!! note
44+
!!! note "Fabric API"
45+
46+
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:
47+
48+
```yaml
49+
TYPE: FABRIC
50+
MODRINTH_PROJECTS: |
51+
fabric-api
52+
```
53+
54+
!!! note "Alternate launcher"
4555

4656
If you wish to use an alternative launcher you can:
4757

examples/fabric/compose.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ services:
77
# VERSION: 1.21.4
88
# FABRIC_INSTALLER_VERSION: 1.0.1
99
# FABRIC_LOADER_VERSION: 0.16.10
10+
# Since Fabric server type only includes the loader, most times
11+
# the fabric-api is required for other mods to function
12+
MODRINTH_PROJECTS: |
13+
fabric-api
1014
ports:
1115
- "25565:25565"
1216
volumes:

0 commit comments

Comments
 (0)