Skip to content

Accessories

Welcome to the Accessories Wiki such will attempt to cover the API for using Accessories systems and give examples to learn how to implement your own accessories!

Work-in-progress

The Accessories documentation is still being improved, and currently lacks a quick start guide. If you are unsure about something, try to reference the JavaDoc or simply come ask in our Discord - we'll be happy to help

Overview

Accessories is a data-driven accessory mod for NeoForge and Fabric and is designed to be loader agnostic. This allows for more common code base than typically implementations. The API is based on the works of Curios and Trinkets, with credit going to both TheIllusiveC4 and emilyploszaj for their work on accessory mods for Minecraft.

Why Accessories?

  • More powerful and better API
  • Better support for rendering accessories
  • Supports multiloader setups, which makes porting and maintenance much easier
  • Built-in vanity slots, which allows for more customization

Features

  • Multiloader design allowing for both Platform Specific mods and support for Multiloader mods using Common code area
  • Full support for LivingEntity, meaning the API supports not only players, but other mobs like Zombies, Skeletons or even Wolves!
  • Integration with DataComponents, which allows any ItemStack to be usable as an accessory (useful for testing or just messing around).
  • Datapackable/Programmatic Unique Slot API allowing for either more user adjustable design or more restrictive method for mod specific accessory handling
  • Events for adjusting behavior of Minecraft's mechanics depending on Accessories, like disabling Enderman aggro or Piglin neutrality.
  • Optional compatibility layers for both competing Accessory APIs, which allows any accessory to be usable regardless of modpack configuration.
    • Designed with Sinytra Connector in mind!

Last update: 2024-06-27