Trinkets Compat Layer for Accessories

Trinkets Compat Layer for Accessories

Mod

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

Client and server EquipmentUtility

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

Fix issues related to quick equipping trinket items that have no interface impl

Fixes:

  • Prevent issues related to getTrackingUpdates() returning null
  • Possible crashing due to attribute ids containing invalid characters

Fix issues with Trinkets not being properly registered into Accessories leading to issues like attributes missing and what not

Fix issues relating to quick equipping for example Armor being equipped and disappearing

Fix incorrect arg for getting possible trinket in renderer get mixin

Update mixin injection to prevent trinket items from getting default renderer

Refactor the TCLayer using a fork of trinkets to assure binary compatibility and generally fix some issues due to missing API.

Fixes:

  • Offhand and Hand rendering issues due to groups being only a single group leading to only rendering on one hand
  • General issues with querying for stacks leading to things not being found by some mods

Fix issue with improper translation with group names between Accessories and Trinkets breaking certain mods

Attempts to return offhand reference when rendering trinkets in odd Accessory slots

Fix the issue with the inability to get trinket inventory due to not converting to accessories slot name such leading to log spam in many cases

Fix crashing with spell engine due to a slip-up with not adding the slots to the given entities

Switch to using direct tag injection to deal with tag merging for slots combined with a redirection API to redirect trinket slots to accessories/curios specific slots

Attempt fix for improper validation code leading to trinkets getting unequipped at relog or death

Fix issues where trinkets within the trinkets:all were not allowed to be equipped at all

The update includes a bunch of fixes found on the 1.20.1 version of the compat layer and uses the 1.1.0 accessories releases as a target for API

Fix tag errors and possible crashing issue with attributes

Fix issues with accessories:all not containing trinkets:all leading to issues with botania cosmetic items and adjust validation step attempting to prevent unequipping on relog

Update to adjust mixins for used slots check within Accessories API

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

Fix issues with data-driven attributes not being found due to items not being registered trinkets.