Data Attributes

Overhauls the entity attributes system and exposes it with datapacks.

File Details

data-attributes-1.3.0.jar

  • R
  • Jan 2, 2023
  • 109.34 KB
  • 3.3K
  • 1.18.2
  • Fabric

File Name

data-attributes-1.3.0.jar

Supported Versions

  • 1.18.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:data-attributes-514734:4287542"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

+Added multiplier based attribute functions.

Why: among other things such as being a requested enhancement, flat Attack Speed buffs are too OP and really need a multiplier type mechanic.

How: when defining attribute functions in JSON, instead of the value being a number/double, it is an object containing aforementioned number as well as a FunctionBehaviour reference. This lets the game know how the value should be used.

This is a breaking change, hence the buff in middle version number. All mods/datapacks will need to adjust their data JSON accordingly.