Wiki 9Minecraft Wiki 9Minecraft

Developer API

Guides 3FAQ 12Related mods 60
DownloadCurios API

Get the files on 9Minecraft

Curios API is consumed by other mods as a dependency (mod id curios).

Adding it to a dev environment (Gradle):

repositories {
    maven { url " }
}
dependencies {
    // use the artifact/version that matches your Minecraft version
    implementation "top.theillusivec4.curios:curios-neoforge:<version>"
}

Key concepts: - Slot types - registered through data (data/curios/slots/*.json) or the API; common types include ring, necklace, belt, charm, back, head, hands, and curio (generic). - ICurioItem / item capability - implement or attach to make an item equippable in curio slots, with hooks for tick, equip/unequip, attribute modifiers, and render. - CuriosApi - the central lookup for slot registries and helper methods to find equipped curios on an entity. - Slot assignment via tags - items can be made equippable by adding them to curios:<slot> item tags, no code needed.

Consult the upstream Curios documentation and wiki for full API details and current version coordinates.