Wiki 9Minecraft Wiki 9Minecraft

Accessories Developer API

Guides 3FAQ 11Gallery 3Dependencies 2Related mods 60
DownloadAccessories

Get the files on 9Minecraft

Accessories is consumed by other mods as a dependency (mod id accessories). It requires owo-lib (mod id owo) on the classpath.

Adding it to a dev environment (Gradle):

repositories {
    maven { url " }
}
dependencies {
    modImplementation "io.wispforest:accessories:<version>"
    modImplementation "io.wispforest:owo-lib:<version>" // required
}

Key entry points (package root io.wispforest.accessories): - io.wispforest.accessories.api - the main AccessoriesAPI, the Accessory interface, and capabilities for reading/modifying equipped accessories. - Slot definitions - accessory slots and slot groups are defined through data (the accessories data type) so packs and mods can add or tweak slots. - io.wispforest.accessories.menu - the in-game accessories screen/menu. - Events/criteria - hooks for reacting when accessories are equipped or unequipped.

Refer to the upstream Accessories documentation for the full API and current version coordinates.