Attributed Attribute Modifier
An Object used to specify how a specific attribute should be modified. Basically an Attribute Modifier with an additional attribute
field.
Fields:
Field | Type | Default | Description |
---|---|---|---|
attribute |
Identifier | ID of the attribute which will be modified by this modifier. | |
operation |
Modifier Operation | The operation which will be performed by this modifier. | |
value |
Float | The value with which to apply the operation to the value. | |
name |
String | optional | A descriptive name for the modifier, describing where it comes from. |
Example:
"modifier": {
"attribute": "minecraft:generic.attack_speed",
"operation": "multiply_total",
"value": -0.25
}
This modifier reduces the total attack speed of the player by 25%.