Data Attributes
Customize Minecraft’s attributes with configurable bounds, attribute functions, entity base values, datapack support, and live configuration for Fabric and NeoForge.
截图
介绍

Data Attributes
A data-driven entity attribute framework for Minecraft 1.21.1 on Fabric and NeoForge.
Data Attributes makes Minecraft’s attribute system much easier to shape without hard-coding every change into another mod. Server owners and pack makers can change attribute bounds and stacking behavior, derive one attribute from another, and assign base values to individual entity types or broader entity groups.
It does not add a progression system or a collection of new content by itself. Think of it as the attribute layer that datapacks, servers, and other mods can build on.
This project continues the original Data Attributes by CleverNucleus and is maintained by Bare Minimum Studios. It is listed as Data Attributes on Modrinth and Data Attributes: DC on CurseForge.
Three separate layers
Attribute Definition Overrides
Definition overrides change the rules of an attribute: its allowed minimum/maximum, stacking formula, diminishing smoothness, and display format.
They do not set entity values. If you raise minecraft:generic.max_health‘s maximum to 2048, you have raised the ceiling to 2048; you have not given every entity 2048 health.
Attribute Functions
Functions connect a parent/source attribute to a child/derived attribute. The parent’s current value can add to or multiply the child using a configurable coefficient, which makes follow-on stats possible without baking them into every mod.
Entity Base Attributes
Entity entries are what actually assign raw base values. You can target a concrete entity such as minecraft:player, or use Data Attributes’ broader entity groups and then layer specific entries on top.
For example, minecraft:player -> minecraft:generic.max_health = 2 gives players a max-health base of 2.
Datapacks + server config
Data Attributes resolves its settings in this order:
Vanilla defaults → datapacks → server configuration
The server configuration uses Fzzy Config and includes a Datapack Baseline Preview, so administrators can see what datapacks are supplying before they override it.
Datapacks use these paths:
data/<namespace>/data_attributes/overrides/*.json
data/<namespace>/data_attributes/functions/*.json
data/<namespace>/data_attributes/entity_types/*.json
Live editing
Changes accepted through the in-game Fzzy Config screen apply live. Existing loaded living entities adopt supplier-owned base changes on their next tick.
Datapack JSON changes use vanilla /reload. Manually changing Fzzy’s JSON5 file on disk is separate; /reload only reloads datapack/resources and does not reread arbitrary Fzzy config files.
Requirements
Fabric 1.21.1
- Fabric API
- Fabric Language Kotlin
- Fzzy Config
NeoForge 1.21.1
- Kotlin for Forge (NeoForge)
- Fzzy Config
OWO Lib/OOLib, OWO Sentinel, and Endec are not required by the current source.
Compatibility note: Data Attributes is not intended to be used with AttributeFix. Both modify the same attribute bounds/capabilities layer and can conflict.
Links
- Source
- Issues
- Configuration reference
- Documentation
- Modrinth
- CurseForge
- Original Data Attributes by CleverNucleus
Sponsor
Use code bareminimum to get 25% off your first month!
License
Current Bare Minimum Studios releases use the Bare Minimum License (BML) v1.0. See the license for the full terms.
常见问题
Data Attributes 支持哪些 Minecraft 版本?
Data Attributes 支持 Minecraft Java 版 1.20.1–1.21.1,共 3 个版本,可用的加载器:Fabric / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Data Attributes 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Poke097 的其他作品
查看全部 →
Icy’s Better Horses
Better Horses 通过改进移动、成长和实用功能,让马匹成为能长期陪伴玩家的伙伴。
PlayerEX
Adds RPG progression with character levels, attributes, spell schools and equipment leveling. Includes built-in WizardEx and RelicEx features, relic loot and a redesigned character screen for Fabric and NeoForge.
RelicEX: Directors Cut
RelicEx: Directors Cut is a ported Minecraft mod that implements Trinkets compatibility with PlayerEx, along a RPG theme.
WizardEx: Directors Cut
This updated mod aims to improve the Wizarding experience in Minecraft by integrating it with other fine mods such as itself.

评论
登录后评论和评分