This guide shows how to add Sable as a Maven dependency from the RyanHCode Maven repository. Pick the tab below that matches your mod’s platform, then paste the snippet into yourDocumentation 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.
build.gradle.
- NeoForge
- Fabric
- Common
Gradle properties
The snippets above reference two properties that you define in your owngradle.properties file:
sable_version— the version of Sable you want to depend on (e.g.1.2.2).minecraft_version— the Minecraft version you are targeting (e.g.1.21.1).
You can browse all published Sable versions on the RyanHCode Maven repository at
https://maven.ryanhcode.dev/releases/dev/ryanhcode/sable/.
The artifact ID follows the pattern sable-common-<minecraft_version> or
sable-fabric-<minecraft_version> depending on the platform.Optional integration with sable-companion
If you only need lightweight, optional compatibility with Sable — for example to register a simple block property or react to a Sable event without making Sable a hard runtime dependency — use thesable-companion library instead. Its group ID is dev.ryanhcode.sable-companion, and it is
already included in the filter block of the repository declaration above, so no additional
repository configuration is required.