Modify Attribute Vanilla
Modifies the specified attributes with vanilla modifiers.
Type ID: kaya:modify/attribute/vanilla
Format
| Field | Type | Default | Description |
|---|---|---|---|
modifiers |
Array of Attributed Modifiers | The vanilla modifiers with attributes to modify. |
Example
{
"type": "kaya:modify/attribute/vanilla",
"modifiers": [
{
"id": "example:extra_armor",
"attribute": "minecraft:armor",
"operation": "add_value",
"amount": 4
}
]
}
This example adds 4 armor points to the entity.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |