/data-attributes

Minecraft Fabric mod that overhauls the entity attributes system and exposes it with datapacks.

MIT LicenseMIT

Data Attributes


GitHub release (latest by date) GitHub Workflow Status GitHub

What is Data Attributes?

Data Attributes is a Minecraft mod, initially released for Minecraft 1.17.1 using the Fabric ecosystem. The mod does two things: overhauls Minecraft's entity attribute system to be more dynamic and to include follow on attributes (something found in many other games); and exposes entity attributes to datapack manipulation - allowing servers/pack makers easy customisation of every aspect of the entity attribute system.

Usage

Data Attributes has a Curseforge and Modrinth page. For developers, add the following to your build.gradle.

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    modImplementation "maven.modrinth:data-attributes:<version>"
}
Alternatively, if you are using cursemaven:
repositories {
    maven {
        name = "Cursemaven"
        url = "https://cursemaven.com"
    }
}

dependencies {
    modImplementation "curse.maven:data-attributes-514734:<version-file-id>"
}

Note that Data Attributes depends on Fabric API, so you will need to consider this as well.

F.A.Q

  • Will you make a Forge version?
    • No, but the license allows you to do so yourself.
  • I think that I've found a bug/crash, where can I report it?

Please also note that the mod AttributeFix is incompatible with Data Attributes - they have the same capabilities!

Wiki

For more detailed documentation, please see the wiki.