跳转至

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:
boolean
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_destroynumber
Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.
item_specific_speedsarray
Optional array of objects to describe item-specific block destroy speeds.
item_specific_speeds
<any array element>object
<any array element>
itemstring
ItemDescriptor filtering for the item used while mining.
itemobject
ItemDescriptor filtering for the item used while mining.
item
tagsstring
Molang or tag
destroy_speednumber
Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.