-
Notifications
You must be signed in to change notification settings - Fork 16
Home
CleverNucleus edited this page Aug 12, 2021
·
14 revisions
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 (Not Finished).
- Relevant Json formatting (Not Finished).
- API structure and usage (Not Finished).
To navigate the wiki, please use the sidebar.
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.