Extra Entity Attributes
This mod expands Minecraft's capabilities by adding 12 unique attributes to the game. These parameters can be used by developers of other mods as a powerful API, and also allow players to fine-tune various gameplay aspects.
Features and Capabilities
The mod introduces the following attributes:
VILLAGER_DISCOUNT(player): adjusts purchase costs from villagersMAX_HUNGER(player): controls maximum hunger levelFOOD_NUTRITION_MULTIPLIER(player): affects hunger restored from foodFOOD_SATURATION_MULTIPLIER(player): configures saturation gained from foodEATING_SPEED(player): food consumption speedDRINKING_SPEED(player): potion drinking speedSTATUS_EFFECT_DURATION(living entities): duration of potion and beacon effectsSPRINTING_SPEED(player): sprinting speedCLIMBING_SPEED(living entities): climbing speedCREATIVE_FLYING_SPEED(player): creative mode flying speedSLIPPERINESS(living entities): ice slipperiness levelNAME_TAG_VISIBILITY_RANGE(player): name tag visibility distance

How to use:
For players: All parameters are easily configurable using the /attribute command in-game. For example:
/attribute @p extra-entity-attributes:status_effect_duration base set 2
This command will double the duration of all potion and beacon effects for the nearest player
For developers: The mod can be freely used in your own projects without any restrictions.
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation include("maven.modrinth:extra-entity-attributes:<version>")
}
Inspired by Additional Entity Attributes, with which it's fully compatible, adding only attributes missing there. Some code is borrowed from the Artifacts project.