Soulbound is a mod for Minecraft that adds an enchantment for keeping items upon death. It is built for the Fabric modding toolchain.
Out of the box, Soulbound supports Trinkets.
If your mod adds an additional player inventory, consider adding integration.
repositories {
maven { url "https://maven.tehnut.info" }
}
dependencies {
modImplementation "info.tehnut.soulbound:Soulbound:${soulbound_version}"
}
The API is documented with JavaDocs in
SoulboundContainer
.