Destroy Speed Multiplier
The arc:destroy_speed_multiplier reward type modifies the speed at which a player breaks a block.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
multiplier | float | ✅Required | -No default value | The multiplier for destroy speed. |
Example
The following example will make the player break obsidian five times faster.
data/my_datapack/arc/fast_obsidian.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_get_destroy_speed",
"conditions": [
{
"type": "arc:block",
"block": "minecraft:obsidian"
}
],
"rewards": [
{
"type": "arc:destroy_speed_multiplier",
"multiplier": 5.0
}
]
}
## Compatible Action Types
<CompatibleActionTypes />