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

Data Attributes

Customize Minecraft’s attributes with configurable bounds, attribute functions, entity base values, datapack support, and live configuration for Fabric and NeoForge.

Оцените первым
54.7K
26

!Data Attributes Banner

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

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?

Мод Data Attributes куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Data Attributes будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Зависимости

Ссылки

Детали

Лицензия:
Опубликован:2 года назад
Обновлён:1 день назад
Главная