-
Notifications
You must be signed in to change notification settings - Fork 10
Getting Started on 1.16 to 1.19.2
Fuzss edited this page Jan 10, 2024
·
1 revision
The recommended way of adding FCAP to your project is via Gradle in your build.gradle
file.
In the groovy snippets make sure to replace <modVersion>
with the version of FCAP you intend to use. Version numbers have a pretty simple form such as 8.0.0
(for Minecraft 1.20.1) or 20.4.0
(for Minecraft 1.20.4).
All available versions can be viewed on CurseForge & Modrinth.
FCAP is available as multiple distributions depending on the mod loader / type of project you want to use it on. You will not need to depend on FCAP on the mod loader the config system is ported from.
Project Type | Distribution Name | Forge Api | Namespace |
---|---|---|---|
Fabric | forgeconfigapiport-fabric |
✅ | Intermediary |
Adding the Fabric distribution to a Common Gradle module is possible, as long as only classes contained in net.minecraftforge.common
and net.minecraftforge.fml.config
are accessed.
repositories {
maven {
name = "Fuzs Mod Resources"
url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/"
}
}
dependencies {
modApi "net.minecraftforge:forgeconfigapiport-fabric:<modVersion>"
}