Setup Environment
Accessories supports both Fabric and Neoforge, and also support mods that are multiplatform by offering a Common target.
To start you will need to add the following mavens to your build.gradle
:
build.gradle
maven { url 'https://maven.wispforest.io/releases' }
maven { url 'https://maven.su5ed.dev/releases' }
maven { url 'https://maven.fabricmc.net' }
After declaring such, you will need to add the dependency within the dependencies
block while also specifying the accessories_version
within your gradle.properties
:
Multiloader¶
build.gradle
dependencies {
modImplementation("io.wispforest:accessories-neoforge:${project.accessories_version}")
// Required due to issues with JIJ dependency resolving in arch or something
forgeRuntimeLibrary("blue.endless:jankson:1.2.2")
forgeRuntimeLibrary("io.wispforest:endec:0.1.9")
forgeRuntimeLibrary("io.wispforest.endec:gson:0.1.5")
forgeRuntimeLibrary("io.wispforest.endec:jankson:0.1.6")
forgeRuntimeLibrary("io.wispforest.endec:netty:0.1.6")
}
To start you will need to add the following mavens to your build.gradle
:
build.gradle.kts
maven("https://maven.wispforest.io/releases")
maven("https://maven.su5ed.dev/releases")
maven("https://maven.fabricmc.net")
After declaring such, you will need to add the dependency within the dependencies
block while also specifying the accessories_version
within your gradle.properties
:
Multiloader¶
dependencies {
modImplementation("io.wispforest:accessories-neoforge:${properties["accessories_version"]}")
// Required due to issues with JIJ dependency resolving in arch or something
forgeRuntimeLibrary("blue.endless:jankson:1.2.2")
forgeRuntimeLibrary("io.wispforest:endec:0.1.9")
forgeRuntimeLibrary("io.wispforest.endec:gson:0.1.5")
forgeRuntimeLibrary("io.wispforest.endec:jankson:0.1.6")
forgeRuntimeLibrary("io.wispforest.endec:netty:0.1.6")
}
Tip
It is recommended to get the latest version either from Modrinth, Curseforge or check the Maven for latest dev builds.
Last update:
2024-12-25