Skip to content
CleverNucleus edited this page Aug 12, 2021 · 14 revisions

Welcome

This wiki documents the following:

  • Using Data Attributes as a dependency for your mod (Gradle).
  • Changing attribute's default, minimum and maximum values, as well as their translation key.
  • Adding new attributes.
  • Modifying the contents of a living entity's attribute container.
  • Attribute Functions.
  • Attribute Properties.
  • Relevant Json formatting.
  • API structure and usage.

To navigate the wiki, please use the sidebar.

Integrating Data Attributes

To add Data Attributes as a dependency to your mod, add the following to your build.gradle.

repositories {
    maven {
        url = "https://www.cursemaven.com"
    }
}

At the time of writing, Jitpack does not support Java 16 yet and cannot be used to get builds. Instead, cursemaven can be used.

dependencies {
    modImplementation "curse.maven:dataattributes-TODO:TODO"
}

Please note that Data Attributes requires Fabric API, so your build.gradle will have to accommodate that.