Attribute Modifier

ID
"cobblebadges:attribute_modifier"

Applies a modifier to an Attributearrow-up-right.

Data Structure

{
  "type": "[attribute id]", // See Attributes
  "amount": [amount],
  "operation": "[operation]" // See Operations
}

Example

Add a value of 7.5 to the armor attribute

{
  "type": "generic.armor",
  "amount": 7.5,
  "operation": "add_value"
}

Last updated