AttributeModify / NeoAttributeModify
版本 1.2.3 | Minecraft 1.20.1 Forge 和 Minecraft 1.21.1 NeoForge
通过数据包修改物品属性及相关物品行为。AttributeModify 支持原版与模组添加的属性、挖掘覆盖、耐久度更改、装饰性物品配置、加权品质数据,以及可选的 Curios 或 Accessories 槽位。
AttributeModify 和 NeoAttributeModify 通过相同的 CurseForge 和 Modrinth 项目页面分发。请仅安装与你的 Minecraft 版本及加载器匹配的文件。
可用版本
| 模组 |
Minecraft |
加载器 |
Java |
| AttributeModify |
1.20.1 |
Forge 47 |
Java 17 |
| NeoAttributeModify |
1.21.1 |
NeoForge 21.1 |
Java 21 |
Forge 和 NeoForge 文件不可互换。
功能特性
- 添加、替换、设置或移除物品属性修饰符
- 移除特定的修饰符操作而不影响其他操作
- 覆盖挖掘速度同时保留外部速度倍率
- 将物品的采集能力提升至原版或模组的挖掘等级要求
- 覆盖耐久度并定义自定义耐久度触发条件
- 为装饰性物品禁用功能性行为,同时不删除无关的玩家效果
- 在合成、战利品生成或村民交易时生成加权品质数据
- 通过游戏内编辑器生成数据包规则
- 使用 NBT 路径有条件地应用规则
- 支持原版与模组物品
- 在多人游戏环境中应用更改
- 使用
/reload 重新加载数据包规则
- 保持 Curios 和 Accessories 的规则存储相互隔离
前置要求
AttributeModify — Minecraft 1.20.1
- Minecraft
1.20.1
- Forge
47.4.0 或兼容的 Forge 47 版本
- Java
17
可选集成:
- Curios
5.14.1+
- Accessories
1.0.0-beta.47+
- Apotheosis
7.4.8 及其所需的 Placebo 依赖
NeoAttributeModify — Minecraft 1.21.1
- Minecraft
1.21.1
- NeoForge
21.1.220 或更高版本
- Java
21
可选集成:
- Curios
9.5.1+
- Accessories
1.0.0-beta.47+
当缺少可选集成模组时,两个版本均可正常运行。
数据包结构
将数据包放置于:
<world>/datapacks/
物品规则文件位于:
data/<namespace>/item_attributes/
示例结构:
MyAttributePack/
|-- pack.mcmeta
`-- data/
`-- my_namespace/
`-- item_attributes/
`-- tools.json
更改数据包文件后运行 /reload。
数据包格式
所需的 pack_format 取决于 Minecraft 版本。
Minecraft 1.20.1
使用数据包格式 15:
{
"pack": {
"pack_format": 15,
"description": "我的 AttributeModify 规则"
}
}
Minecraft 1.21.1
使用数据包格式 48:
{
"pack": {
"pack_format": 48,
"description": "我的 NeoAttributeModify 规则"
}
}
游戏内编辑器
每个版本均提供独立的客户端命令。
| 模组 |
编辑器命令 |
生成的数据包 |
| AttributeModify |
/attributemodify_editor |
AttributeModify_Editor |
| NeoAttributeModify |
/neoattributemodify_editor |
NeoAttributeModify_Editor |
生成的数据包将写入当前世界的数据包目录中。
保存需要满足以下任一条件:
- 拥有单人世界的拥有者权限
- 在服务器上拥有
2 级或更高的权限等级
支持
Discord:
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.0 or a compatible Forge 47 release
- Java
17
Optional integrations:
- Curios
5.14.1+
- Accessories
1.0.0-beta.47+
- Apotheosis
7.4.8 and its required Placebo dependency
NeoAttributeModify — Minecraft 1.21.1
- Minecraft
1.21.1
- NeoForge
21.1.220 or 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
2 or higher on a server
Support
Discord:
评论 0
登录后参与评分
还没有评论,来抢沙发吧