COWMODSКаталог модов

Data Attributes

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

Автор: bibireden57,4 тыс.26обновлён 7 окт. 2026 г.
БиблиотекиУтилиты

Описание

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

Sponsor Banner

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 Config Screen

Последние версии

Все версии →
release

3.0.0+1.21.1-fabric

3.0.0+1.21.1-fabric
7 окт. 2026 г.578Minecraft: 1.21.1fabric
Скачать
Что нового
# Changelog Notable changes to Data Attributes are documented here, newest release first. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] ## [3.0.0] - 2026-10-07 Minecraft 1.21.1 rewrite for Fabric and NeoForge. ### Added - NeoForge support alongside Fabric for Minecraft 1.21.1. - Server-authoritative Fzzy Config JSON5 configuration for both loaders. - Live application of accepted in-game configuration changes. Loaded living entities adopt supplier-owned base changes on their next tick. - An informational Datapack Baseline Preview for attribute overrides, functions, and entity base values, synchronized from the server and never saved back to configuration or datapacks. - Configuration suggestions for registered entity types and Data Attributes' implicit entity groups. - Persistent supplier-base tracking so configured base values can update without overwriting deliberate runtime changes, including `/attribute ... base set`. - Reattachment to supplier ownership when a live base is set back to its current configured value. - Bounded GZIP synchronization of runtime configuration snapshots. - Kotlin serialization compiler support for datapack and runtime snapshot serialization. ### Changed - Attribute Definition Overrides now control bounds, stacking behavior, diminishing smoothness, and display formatting separately from entity base values. - Entity Base Attributes are the configuration and datapack layer responsible for assigning entity supplier base values. - Entity configuration resolves from vanilla defaults through matching implicit groups to explicit entity entries. Server configuration overrides the datapack baseline. - Entity base values remain raw; attribute bounds constrain the calculated result rather than rewriting stored configuration values. - Entity entries apply as deltas, avoiding unnecessary supplier rebuilds and preserving inherited values not explicitly overridden. - Configuration fields are organized into Bounds, Stacking, and Display groups. Explicit Override Minimum/Maximum switches replace user-facing `NaN` inheritance values. - Attribute Function descriptions clarify that the outer key is the parent/source attribute and the nested key is the child/derived attribute. - Identifiers belonging to absent optional mods can remain configured. - Datapack reloads rebuild configuration once at reload completion and respect normal resource-pack priority. - Native Fabric/NeoForge custom-payload networking replaces the OWO network channel, and a loader-neutral event implementation replaces OWO event streams. - Loader-specific Fzzy Config integrations use `0.7.7+1.21` on Fabric and `0.7.7+1.21+neoforge` on NeoForge, with shared runtime code consuming loader-neutral snapshots. - Disabled server override entries suppress matching datapack overrides. - Project metadata and documentation now reference the Bare Minimum Studios repository and the Bare Minimum License (BML) v1.0. ### Removed - OWO Lib/OOLib, OWO Sentinel, and Endec dependencies and their associated repository declarations. - The old `/reload` command-tail hook. - Vanilla sword/tool hooks that incorrectly treated durability damage as attack damage. - Duplicate mob equipment-comparison injections. - Unused OWO interface code and legacy helpers. ### Fixed - Configuration map additions failing with `Identifier invalid or not allowed`, using valid defaults, identifier validation, and live registry suggestions. - NeoForge compilation failures caused by Fabric-mapped Fzzy Config classes entering shared source. - Runtime modifiers being lost during live configuration rebuilds. - Explicit entity entries resetting unrelated inherited values to vanilla defaults. - Attribute dirty/update/synchronization behavior affecting health, absorption, and other stateful attributes after live rebuilds. - Resource-stack rebuilding mutating maps during iteration. - Self-referencing functions and non-finite function coefficients or entity base values are safely ignored. - Implicit entity-group entries being discarded during registered-ID filtering. - Standalone and supplier attribute modifier additions, modifier-removal bookkeeping, and dependent-function invalidation after base or transient changes. - Incorrect Holder-versus-Attribute casts in diminishing stacking and formatted-value lookup. - Implicit entity-category definitions crashing when no vanilla supplier exists. - Stale attribute override state remaining after an override is removed. [Unreleased]: https://github.com/BareMinimumStudios/data-attributes/compare/3.0.0...HEAD [3.0.0]: https://github.com/BareMinimumStudios/data-attributes/releases/tag/3.0.0
release

3.0.0+1.21.1-neoforge

3.0.0+1.21.1-neoforge
7 окт. 2026 г.796Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog Notable changes to Data Attributes are documented here, newest release first. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] ## [3.0.0] - 2026-10-07 Minecraft 1.21.1 rewrite for Fabric and NeoForge. ### Added - NeoForge support alongside Fabric for Minecraft 1.21.1. - Server-authoritative Fzzy Config JSON5 configuration for both loaders. - Live application of accepted in-game configuration changes. Loaded living entities adopt supplier-owned base changes on their next tick. - An informational Datapack Baseline Preview for attribute overrides, functions, and entity base values, synchronized from the server and never saved back to configuration or datapacks. - Configuration suggestions for registered entity types and Data Attributes' implicit entity groups. - Persistent supplier-base tracking so configured base values can update without overwriting deliberate runtime changes, including `/attribute ... base set`. - Reattachment to supplier ownership when a live base is set back to its current configured value. - Bounded GZIP synchronization of runtime configuration snapshots. - Kotlin serialization compiler support for datapack and runtime snapshot serialization. ### Changed - Attribute Definition Overrides now control bounds, stacking behavior, diminishing smoothness, and display formatting separately from entity base values. - Entity Base Attributes are the configuration and datapack layer responsible for assigning entity supplier base values. - Entity configuration resolves from vanilla defaults through matching implicit groups to explicit entity entries. Server configuration overrides the datapack baseline. - Entity base values remain raw; attribute bounds constrain the calculated result rather than rewriting stored configuration values. - Entity entries apply as deltas, avoiding unnecessary supplier rebuilds and preserving inherited values not explicitly overridden. - Configuration fields are organized into Bounds, Stacking, and Display groups. Explicit Override Minimum/Maximum switches replace user-facing `NaN` inheritance values. - Attribute Function descriptions clarify that the outer key is the parent/source attribute and the nested key is the child/derived attribute. - Identifiers belonging to absent optional mods can remain configured. - Datapack reloads rebuild configuration once at reload completion and respect normal resource-pack priority. - Native Fabric/NeoForge custom-payload networking replaces the OWO network channel, and a loader-neutral event implementation replaces OWO event streams. - Loader-specific Fzzy Config integrations use `0.7.7+1.21` on Fabric and `0.7.7+1.21+neoforge` on NeoForge, with shared runtime code consuming loader-neutral snapshots. - Disabled server override entries suppress matching datapack overrides. - Project metadata and documentation now reference the Bare Minimum Studios repository and the Bare Minimum License (BML) v1.0. ### Removed - OWO Lib/OOLib, OWO Sentinel, and Endec dependencies and their associated repository declarations. - The old `/reload` command-tail hook. - Vanilla sword/tool hooks that incorrectly treated durability damage as attack damage. - Duplicate mob equipment-comparison injections. - Unused OWO interface code and legacy helpers. ### Fixed - Configuration map additions failing with `Identifier invalid or not allowed`, using valid defaults, identifier validation, and live registry suggestions. - NeoForge compilation failures caused by Fabric-mapped Fzzy Config classes entering shared source. - Runtime modifiers being lost during live configuration rebuilds. - Explicit entity entries resetting unrelated inherited values to vanilla defaults. - Attribute dirty/update/synchronization behavior affecting health, absorption, and other stateful attributes after live rebuilds. - Resource-stack rebuilding mutating maps during iteration. - Self-referencing functions and non-finite function coefficients or entity base values are safely ignored. - Implicit entity-group entries being discarded during registered-ID filtering. - Standalone and supplier attribute modifier additions, modifier-removal bookkeeping, and dependent-function invalidation after base or transient changes. - Incorrect Holder-versus-Attribute casts in diminishing stacking and formatted-value lookup. - Implicit entity-category definitions crashing when no vanilla supplier exists. - Stale attribute override state remaining after an override is removed. [Unreleased]: https://github.com/BareMinimumStudios/data-attributes/compare/3.0.0...HEAD [3.0.0]: https://github.com/BareMinimumStudios/data-attributes/releases/tag/3.0.0
release

2.0.4+1.21.1

2.0.4+1.21.1-neoforge
29 янв. 2025 г.515Minecraft: 1.21.1neoforge
Скачать
Что нового
## Additions 🍎 - Data Attributes is now on 1.21.1 for fabric & neoforge! - Add button for Entity Types (will downstream this to 1.20.1 momentarily). ## Changes 🌽 - Resolved source identifier on jars. - `EventSources` are used in replacement of fabric api events to be more compatible with multi-loader. Event classes have been renamed. - `AttributeEvents` - `AttributeModifiedEvents`
release

2.0.4+1.21.1

2.0.4+1.21.1-fabric
29 янв. 2025 г.482Minecraft: 1.21.1fabric, quilt
Скачать
Что нового
## Additions 🍎 - Data Attributes is now on 1.21.1 for fabric & neoforge! - Add button for Entity Types (will downstream this to 1.20.1 momentarily). ## Changes 🌽 - Resolved source identifier on jars. - `EventSources` are used in replacement of fabric api events to be more compatible with multi-loader. Event classes have been renamed. - `AttributeEvents` - `AttributeModifiedEvents`
beta

2.0.4+1.21.1-beta.1

2.0.4+1.21.1-beta.1-neoforge
28 янв. 2025 г.155Minecraft: 1.21.1neoforge
Скачать
Что нового
## Additions 🍎 - DataAttributes is now on 1.21.1 for fabric & neoforge! - Add button for Entity Types (will downstream this to 1.20.1 momentarily). - I cannot guarantee its stability (specifically in the areas of attribute modification). If there are no issues, I'll stabilize it later. ## Changes 🌽 - `EventSources` are used in replacement of fabric api events to be more compatible with multi-loader. Event classes have been renamed. - `AttributeEvents` - `AttributeModifiedEvents` This update affected a sector of mixins which I have redone, but I will keep it in beta until its stability is ensured along with PlayerEX.
beta

2.0.4+1.21.1-beta.1

2.0.4+1.21.1-beta.1-fabric
28 янв. 2025 г.133Minecraft: 1.21.1fabric, quilt
Скачать
Что нового
## Additions 🍎 - DataAttributes is now on 1.21.1 for fabric & neoforge! - Add button for Entity Types (will downstream this to 1.20.1 momentarily). - I cannot guarantee its stability (specifically in the areas of attribute modification). If there are no issues, I'll stabilize it later. ## Changes 🌽 - `EventSources` are used in replacement of fabric api events to be more compatible with multi-loader. Event classes have been renamed. - `AttributeEvents` - `AttributeModifiedEvents` This update affected a sector of mixins which I have redone, but I will keep it in beta until its stability is ensured along with PlayerEX.
release

2.0.3+1.20.1-fabric

2.0.3+1.20.1-fabric
20 дек. 2024 г.24,6 тыс.Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
## Fixes 🍋 - Remove null text in UI in favor of empty string to fix compatibility with other mods
beta

2.0.3+1.20.1-beta.1-fabric

2.0.3+1.20.1-beta.1-fabric
25 нояб. 2024 г.1,2 тыс.Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
## Additions 🍎 - Added saved state for collapsed entries (session based, saved until game relaunch) ## Changes 🍐 - Applied a different method to updating UI components. - Most entries sync, but there is still some work to do, so it will stay as beta until the rest of the issues are figured out.
release

2.0.2+1.20.1-fabric

2.0.2+1.20.1-fabric
14 окт. 2024 г.2,2 тыс.Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
## Fixes 🍋 - Fixed attribute functions not being able to be edited (and that were default).
release

2.0.1+1.20.1-fabric

2.0.1+1.20.1-fabric
12 окт. 2024 г.618Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
## Changes 🌽 - Resolved an exception that happened with the `DefaultAttributeRegistry`. ## Fixes 🍋 - Resolved percentage formatting, should be more accurate now