▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Attribute Modify
Attribute Modify

Attribute Modify

This mod allows the modification of item attributes, both vanilla and curios. Do you want to buff or nerf a weapon or curios? With this mod, you only need a datapack to do so.

Оцените первым
1.5K
10
Все версииNeo Attribute Modify 1.0.2

Neo Attribute Modify 1.0.2

Release02.03.2026

Список изменений

New Features

  • Multi-File Accumulation: Multiple datapack files can now contribute attributes to the same item. Previously, the last file loaded would overwrite all others. Now entries from all files are merged together.
  • ListTag Index Navigation: NBT condition paths now support numeric indices to access elements inside list tags (e.g., enchantments.0.id).
  • not_equals returns true on missing paths: The not_equals operator now correctly returns true when the NBT path doesn't exist on the item, matching the intuitive "this value is not X" behavior.

Bug Fixes

  • Villager Trade Quality Template Mutation: Fixed a critical bug where applying quality to a villager trade would permanently modify the trade offer template, preventing re-rolls on future trades. Quality is now only applied via deferred inventory scan.
  • Network Buffer Desync (Forge): Fixed packet encode/decode that could desync when items with null registry IDs were included, causing all subsequent data in the packet to be corrupted.
  • Container Close Inventory Scan: The container close event now correctly skips the player's own inventory menu, preventing unnecessary quality re-processing when simply closing the inventory screen.
  • Regex Pattern Safety: Added PatternSyntaxException catch for the matches_regex NBT operator, preventing server crashes from malformed regex patterns in datapacks.
  • Long Precision in Quality Values: Fixed quality system NBT writing to properly distinguish between int, long, and double values, preventing precision loss for large numbers.
  • Null NBT Condition Serialization (Forge): Fixed network packet encoding to correctly handle null NBT condition values using a sentinel, preventing deserialization errors on the client.

Performance & Stability

  • Thread Safety (Forge): All attribute maps now use ConcurrentHashMap and volatile instance fields, preventing potential race conditions during reload.
  • Debug Logging Optimization: Changed all hot-path logging from info to debug level across both versions, reducing log spam during normal gameplay.
  • Removed Dead Code (Forge): Cleaned up unused handleCuriosAttributes() method and related imports.

Internal

  • Unified both Forge and NeoForge codebases to feature parity.
  • Extracted NbtCondition encode/decode into reusable helper methods (Forge).

Файлы

neoattributemodify-1.0.2.jar(72.45 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.2

Загрузчики

NeoForge

Версии игры

1.21.1–1.21.11

Загрузок

20

Дата публикации

02.03.2026

Загрузил

ID версии

Главная