Curios Compat Layer for Accessories

Curios Compat Layer for Accessories

Mod

A Compatibility layer for mods using the Curios API to work with Accessories

Client and server EquipmentUtility

109.3k downloads
75 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

Quick fix for issues with tags and incorrect mod id for compat layer leading to issues with mods adding compat

Fix possible crashing due to attribute ids containing invalid characters

Fix incorrect arg for getting possible curios in renderer get mixin

Update mixin injection to prevent trinket items from getting default renderer

Update to changes of Curios 9.3.1

Fix issues related to being able to quickly equip items using Curios API when not designed for such

Fix missing method implementation for validators leading to issues with checks not working

Fixes:

  • Fix testCurioPredicates not returning result of evaluation
  • Prevent constant firing of event for container change callback

Complete rewrite of the Curios Compat Layer attempting to be more binary compatible and add method to go back and forth from the compat layer and curios preserving data if Accessories is removed.

Expect possible issues and such require latest Accessories to prevent duplication bugs that would occur with older versions!

Add missing variant of getPlayerSlots method that was leading to crashes

Switch to using direct tag injection to deal with tag merging for slots

Fixes:

  • Another update to fix tooltip stuff once again (Sorry)
  • Fix issue where curios event for attributes was unused

The update contains fixes from the 1.20.1 releases combined with targeting the 1.1.0 version of the accessories API

Fix for dropping or unequipping Curios items due to API differences on equipment validation when loading data or on reload

Fix attributes not applying attributes for curios items

Add KeyRegistry class

Adjust validation code to prevent dropping accessories on relog

Attempt fix for issues related to crashing when trying to get Accessories Capability and update mixin for altering check for unused slots

Updated for changes within Accessories and fix for attribute-related problems

Fix issues involved with not reading Data-driven Attributes for non-registered Curios Items combined with updating the layer for recent API changes for both curios continuations.

Update to use method to get default accessory if possible for Data-Driven Accessories