minecraft:destructible_by_mining

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 mine.

Properties

Can be written as a single value: boolean.

PropertyTypeDefaultWhat it does
seconds_to_destroy requiredDecimalmin 0—Sets the number of seconds it takes to mine the block with base equipment. Greater numbers result in greater mining times. A negative number means the block can't be mined
item_specific_speedsList of object[]Optional array with item specific mining speeds.
item requiredText or Object—The item with a specific mining speed.
destroy_speed requiredDecimal—Mining speed for that specific item. A negative number means the block can't be mined with that item.

Example from the game files

This is how vanilla black_concrete_double_slab uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:destructible_by_mining": {
    "seconds_to_destroy": 1.8
  }
}

Used by 98

Vanilla blocks with minecraft:destructible_by_mining in their definition:

black_concrete_double_slabblack_concrete_slabblack_concrete_stairsblack_wool_double_slabblack_wool_slabblack_wool_stairsblue_concrete_double_slabblue_concrete_slabblue_concrete_stairsblue_wool_double_slabblue_wool_slabblue_wool_stairsbrown_concrete_double_slabbrown_concrete_slabbrown_concrete_stairsbrown_wool_double_slabbrown_wool_slabbrown_wool_stairscyan_concrete_double_slabcyan_concrete_slabcyan_concrete_stairscyan_wool_double_slabcyan_wool_slabcyan_wool_stairsgray_concrete_double_slabgray_concrete_slabgray_concrete_stairsgray_wool_double_slabgray_wool_slabgray_wool_stairsgreen_concrete_double_slabgreen_concrete_slabgreen_concrete_stairsgreen_wool_double_slabgreen_wool_slabgreen_wool_stairslight_blue_concrete_double_slablight_blue_concrete_slablight_blue_concrete_stairslight_blue_wool_double_slablight_blue_wool_slablight_blue_wool_stairslight_gray_concrete_double_slablight_gray_concrete_slablight_gray_concrete_stairslight_gray_wool_double_slablight_gray_wool_slablight_gray_wool_stairslime_concrete_double_slablime_concrete_slablime_concrete_stairslime_wool_double_slablime_wool_slablime_wool_stairsmagenta_concrete_double_slabmagenta_concrete_slabmagenta_concrete_stairsmagenta_wool_double_slabmagenta_wool_slabmagenta_wool_stairsorange_concrete_double_slaborange_concrete_slaborange_concrete_stairsorange_wool_double_slaborange_wool_slaborange_wool_stairspink_concrete_double_slabpink_concrete_slabpink_concrete_stairspink_wool_double_slabpink_wool_slabpink_wool_stairspurple_concrete_double_slabpurple_concrete_slabpurple_concrete_stairspurple_wool_double_slabpurple_wool_slabpurple_wool_stairsred_concrete_double_slabred_concrete_slabred_concrete_stairsred_shrubred_wool_double_slabred_wool_slabred_wool_stairsshelf_mushroomwhite_concrete_double_slabwhite_concrete_slabwhite_concrete_stairswhite_wool_double_slabwhite_wool_slabwhite_wool_stairsyellow_concrete_double_slabyellow_concrete_slabyellow_concrete_stairsyellow_wool_double_slabyellow_wool_slabyellow_wool_stairs

Set it without writing JSON

The block maker writes this component for you from a form and puts it in a ready-to-import .mcaddon.

Open the maker

Related components