![Attributification [Attribute Unification]](https://cdn.modrinth.com/data/Kh7Ccq3T/3a729ad3566cd0b5d6bbed02e4cecf10e0b472a8_96.webp)
Attributification [Attribute Unification]
Unifies similar attributes from different mods with configurable conversion coefficients to prevent duplication and improve compatibility.
380
5
Attributification [Attribute Unification] 2.0.2
Release1 мес. назад
Список изменений
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)
Файлы
attributification-fabric-2.0.2.jar(122.81 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.0.2
Загрузчики
Fabric
Версии игры
1.20.1
Загрузок
6
Дата публикации
1 мес. назад