Modify Break Speed
Modifies how fast the player that has the power can break blocks.
Type ID: origins:modify_break_speed
Fields
| Field | Type | Default | Description |
|---|---|---|---|
block_condition |
Block Condition Type | optional | If specified, the modifier(s) will only apply to the blocks that fulfills this condition. |
modifier |
Attribute Modifier | optional | If specified, this modifier will be applied to the break speed. |
modifiers |
Array of Attribute Modifiers | optional | If specified, these modifiers will be applied to the break speed. |
Examples
{
"type": "origins:modify_break_speed",
"block_condition": {
"type": "origins:block",
"block": "minecraft:netherrack"
},
"modifier": {
"operation": "multiply_base",
"value": 0.5
}
}
This example will allow the player to break Netherrack 50% faster than usual.