Setup
Fabric
gradle.properties
gradle.properties
Add the mod versions to gradle.properties
xdlib_version=4.0.0-beta.3+fabric
build.gradle
build.gradle
Add the maven to your repositories
maven { url = "https://api.modrinth.com/maven" }
Once you have added that you will add the mod implementations to the dependencies
modImplementation("maven.modrinth:xdlib:${project.xdlib_version}")
fabric.mod.json
fabric.mod.json
Add the mod to your depends
"depends": {
"xdlib": ">=4.0.0-beta.3"
}
Forge
gradle.properties
gradle.properties
Add the mod version to gradle.properties
xdlib_version=4.0.0-beta.3+forge
build.gradle
build.gradle
Add the mod as a dependency from below
maven { url = "https://api.modrinth.com/maven" }
Once you have added that you will add the mod implementation to the dependencies
modImplementation("maven.modrinth:xdlib:${project.xdlib_version}")
NeoForge
gradle.properties
gradle.properties
Add the mod version to gradle.properties
xdlib_version=4.0.0-beta.3+neoforge
build.gradle
build.gradle
Add the mod as a dependency from below
maven { url = "https://api.modrinth.com/maven" }
Once you have added that you will add the mod implementation to the dependencies
modImplementation("maven.modrinth:xdlib:${project.xdlib_version}")
Last updated