
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.
- Загрузки
- 3K
- Подписчики
- 13
- Обновлён
- 6 августа 2026 г.
- Лицензия
- All-Rights-Reserved
Опубликован 1 сентября 2025 г.
AttributeModify / NeoAttributeModify
Version 1.2.3 | Minecraft 1.20.1 Forge and Minecraft 1.21.1 NeoForge
Modify item attributes and related item behavior through datapacks. AttributeModify supports vanilla and modded attributes, mining overrides, durability changes, decorative item profiles, weighted quality data, and optional Curios or Accessories slots.
AttributeModify and NeoAttributeModify are distributed through the same CurseForge and Modrinth project pages. Install only the file that matches your Minecraft version and mod loader.
Available Versions
| Mod | Minecraft | Loader | Java |
|---|---|---|---|
| AttributeModify | 1.20.1 | Forge 47 | Java 17 |
| NeoAttributeModify | 1.21.1 | NeoForge 21.1 | Java 21 |
Forge and NeoForge files are not interchangeable.
Features
- Add, replace, set, or remove item attribute modifiers
- Remove a specific modifier operation without removing the others
- Override mining speed while preserving external speed multipliers
- Raise an item's harvest capability to vanilla or modded mining tier requirements
- Override durability and define custom durability triggers
- Disable functional behavior for decorative items without deleting unrelated player effects
- Roll weighted quality data during crafting, loot generation, or villager trades
- Generate datapack rules through an in-game editor
- Apply rules conditionally using NBT paths
- Support vanilla and modded items
- Apply changes in multiplayer environments
- Reload datapack rules using
/reload - Keep Curios and Accessories rule storage isolated
Requirements
AttributeModify — Minecraft 1.20.1
- Minecraft
1.20.1 - Forge
47.4.0or a compatible Forge 47 release - Java
17
Optional integrations:
- Curios
5.14.1+ - Accessories
1.0.0-beta.47+ - Apotheosis
7.4.8and its required Placebo dependency
NeoAttributeModify — Minecraft 1.21.1
- Minecraft
1.21.1 - NeoForge
21.1.220or newer - Java
21
Optional integrations:
- Curios
9.5.1+ - Accessories
1.0.0-beta.47+
Both versions start normally when the optional integration mods are absent.
Datapack Layout
Place the datapack inside:
<world>/datapacks/
Attribute rule files belong under:
data/<namespace>/item_attributes/
Example structure:
MyAttributePack/
|-- pack.mcmeta
`-- data/
`-- my_namespace/
`-- item_attributes/
`-- tools.json
Run /reload after changing datapack files.
Datapack Formats
The required pack_format depends on the Minecraft version.
Minecraft 1.20.1
Use datapack format 15:
{
"pack": {
"pack_format": 15,
"description": "My AttributeModify rules"
}
}
Minecraft 1.21.1
Use datapack format 48:
{
"pack": {
"pack_format": 48,
"description": "My NeoAttributeModify rules"
}
}
In-Game Editor
Each version provides its own client command.
| Mod | Editor command | Generated datapack |
|---|---|---|
| AttributeModify | /attributemodify_editor |
AttributeModify_Editor |
| NeoAttributeModify | /neoattributemodify_editor |
NeoAttributeModify_Editor |
The generated datapack is written into the current world's datapack directory.
Saving requires either:
- Being the owner of the singleplayer world
- Having permission level
2or higher on a server
Support
Discord: https://discord.gg/NXVEtWqsnw
Ченджлог
1.2.4Релиз1.20.1 · 6 августа 2026 г.
Changes
- Removed the
/attributemodify_inspectcommand and its related diagnostic code. - Improved datapack synchronization between dedicated servers and clients.
- Reduced unnecessary inventory and equipment checks when no matching rules exist.
- Precompiled NBT regular expressions when rules are loaded instead of evaluating them repeatedly.
- Replaced reflective Curios slot access with the direct Curios API.
- Reduced repetitive debug logging during attribute calculations.
- Updated Forge and Minecraft API usage where safe.
- Fixed attribute data being synchronized twice when a player joined.
- Fixed clients retaining outdated rules after reloading an empty datapack.
- Added explicit client and server directions to network packets.
- Invalid NBT regular expressions now fail safely and report the problem only once.
- Improved exception reporting for Curios, Accessories, and Apotheosis integrations.
- Removed unused editor rendering methods and obsolete inspection references.
- Updated the editor description to clarify that it displays base attributes and rules managed by AttributeModify.
- Reused synchronization snapshots when sending rules to multiple players.
- Added regression tests for valid and invalid NBT regular expressions.
- Removed dead code and performed general maintenance cleanup.
1.2.4Релиз1.21.1 · 6 августа 2026 г.
Changes
- Removed obsolete inspection commands.
- Improved durability performance by avoiding unnecessary item-data rewrites during inventory scans.
- Reduced memory allocations when evaluating attributes, NBT conditions, tooltips, and Curios or Accessories slots.
- NBT regular expressions are now compiled once when datapack rules are loaded.
- Removed duplicate attribute synchronization when joining a world.
- Added validation limits for synchronized datapack data.
- Improved error reporting for attribute application and network synchronization failures.
- Prevented the editor from overwriting existing rule files when their JSON is invalid or corrupted.
- The editor now reports rule-loading errors and clears cached data when disconnecting from a world or server.
- Improved runtime detection of conflicting rules.
- Replaced Curios reflection-based integration with its supported slot API.
- Removed unused code and deprecated API usage.
- Updated the project description to distinguish Forge and NeoForge compatibility.
- Updated deprecated Gradle configuration syntax.
1.2.3Релиз1.21.1 · 5 августа 2026 г.
the decorative system was corrected
The detection of automatic slots, including curiosities, artifacts, and similar items, has been improved.
The attribute detection system has been improved to include the type non-globally, allowing for the addition or removal of each possible attribute, both numerical and percentage-based.
The editor system has also been improved to enhance attribute detection.
1.2.3Релиз1.20.1 · 5 августа 2026 г.
the decorative system was corrected
The detection of automatic slots, including curiosities, artifacts, and similar items, has been improved.
The attribute detection system has been improved to include the type non-globally, allowing for the addition or removal of each possible attribute, both numerical and percentage-based.
The editor system has also been improved to enhance attribute detection.
1.2.1Релиз1.21.1 · 1 июля 2026 г.
A new menu has been added as a test, using the command /attributemodify_editor. It's not perfect yet; the classic datapacks system is still preferable. However, I'll wait for feedback to see how I can improve it.
If you encounter any problems, please feel free to contact me via Discord.
1.2.1Релиз1.20.1 · 1 июля 2026 г.
A new menu has been added as a test, using the command /attributemodify_editor. It's not perfect yet; the classic datapacks system is still preferable. However, I'll wait for feedback to see how I can improve it.
If you encounter any problems, please feel free to contact me via Discord.
1.1.0Релиз1.21.1 · 6 апреля 2026 г.
fix lang... maybe
1.1.0Релиз1.20.4, 1.20.5, 1.20.6 · 6 апреля 2026 г.
Fix Lang... maybe
Комментарии
Загружаем…