Destructible By Mining¶
文档版本:1.21.50.25
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.
架构¶
destructible_by_mining:
{
number "seconds_to_destroy" : opt
array "item_specific_speeds" : opt
{
object "<any array element>" : opt
{
string "item" : opt
object "item" : opt
{
string "tags" : opt
}
number "destroy_speed" : opt
}
}
}
seconds_to_destroy
:number- Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.
item_specific_speeds
:array- Optional array of objects to describe item-specific block destroy speeds.
item_specific_speeds
<any array element>
:object
<any array element>
item
:string- ItemDescriptor filtering for the item used while mining.
item
:object- ItemDescriptor filtering for the item used while mining.
item
tags
:string- Molang or tag
destroy_speed
:number- Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.