author | ms.author | title | description | ms.service |
---|---|---|---|---|
iconicNurdle |
mikeam |
Block Documentation - minecraft:destructible_by_mining |
A reference document detailing the 'destructible_by_mining' block component |
minecraft-bedrock-edition |
minecraft:destructible_by_mining
is a Boolean
or JSON Object
component that describes the destructible by mining properties for this block. If set to true
, the block will take the default number of seconds to destroy. If set to false
, this block is indestructible by mining. If the component is omitted, the block will take the default number of seconds to destroy.
This component can be specified as a Boolean
. If this component is omitted, the default value for this component is true
, which will give your block the default values for its parameters (it will take ZERO seconds to destroy the block by mining it).
Name | Type | Default Value | Description |
---|---|---|---|
seconds_to_destroy | Decimal | 0.0 | Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times. |
"minecraft:destructible_by_mining": true
"minecraft:destructible_by_mining": {
"seconds_to_destroy": 10
}