promotional bannermobile promotional banner

Data Attributes

Overhauls the entity attributes system and exposes it with datapacks.
Back to Files

data-attributes-1.3.0.jar

File namedata-attributes-1.3.0.jar
Uploaded
Jan 2, 2023
Downloads
3.3K
Size
109.3 KB
Mod Loaders
Fabric
File ID
4287542
Type
R
Release
Supported game versions
  • 1.18.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:data-attributes-514734:4287542"

Learn more about Curse Maven

What's new

+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.

This mod has no additional files