promotional bannermobile promotional banner

Attributification [Attribute Unification]

A compatibility mod that unifies similar attributes from different mods to prevent duplication and improve cross-mod compatibility.
Back to Files

attributification-fabric-2.0.2.jar

File nameattributification-fabric-2.0.2.jar
Uploader
UtherHelUtherHel
Uploaded
Feb 28, 2026
Downloads
15
Size
122.8 KB
Mod Loaders
Fabric
File ID
7690102
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:attributification-1465383:7690102"

Learn more about Curse Maven

What's new

Added

  • Added conditional debug logging controlled by config option
  • Added centralized AttributeUtils class for shared caching across mixins
  • Added callback system for cache management on config reload

Changed

  • Major optimization: Migrated to direct JSON parsing for config migration (removed deprecated classes)
  • Performance: Implemented 4-level caching system (global, per-config, per-mixin, per-thread)
  • Performance: Added bidirectional caching in AttributeUnifier (source→mapping and target→mapping)
  • Performance: Centralized attribute ID lookups in AttributeUtils with ConcurrentHashMap caching
  • Code quality: Removed code duplication by centralizing common operations in AttributeUtils
  • Code quality: Eliminated redundant cache in EntityAttributeInstanceMixin (now uses AttributeUnifier.getMappingByTarget())
  • Code quality: Improved recursion protection with ThreadLocal guards

Removed

  • Removed deprecated AttributificationConfig class (migration now uses direct JSON parsing)
  • Removed deprecated AttributeMapping class (migration now uses direct JSON parsing)

This mod has no additional files