This page shows how to add Sable as a Maven dependency in your mod project. Sable is published to the RyanHCode Maven repository and provides separate artifacts for NeoForge, Fabric, and a platform-agnostic common module for Architectury multiplatform projects.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ryanhcode/sable/llms.txt
Use this file to discover all available pages before exploring further.
Add the dependency
Copy the relevant snippet into yourbuild.gradle depending on your platform. Each snippet adds the exclusiveContent repository block and the correct dependency declaration.
- NeoForge
- Fabric
- Common (multiplatform)
Versions
The current release of Sable is 1.2.2 for Minecraft 1.21.1. To find the latest published version, browse the Maven repository directly:https://maven.ryanhcode.dev/releases/dev/ryanhcode/sable/
sable_version and minecraft_version are properties defined in your gradle.properties file. Add them there so they are available as project.sable_version and project.minecraft_version in your build script.gradle.properties
Building Rust natives
Sable includes Rust-based physics code (the Rapier physics engine) that must be compiled before you can run the mod from source. This step requires Docker.Install Docker
Download and install Docker from https://www.docker.com/get-started/ or from your system’s package manager. Docker is used to provide the cross-compilation toolchain for the Rust natives.
Build the Docker images
Run the following command once to build the images. You only need to repeat this step if the images change.
