Destroying certain blocks within the range of an entity

Destroying certain blocks within the range of an entity - Facade of residential buildings on street

I am trying to find out how to destroy certain blocks in the range of an entity. Example

Command block detects that cracked stone bricks is in range of the TNT item entity and then destroys the cracked stone bricks.






Pictures about "Destroying certain blocks within the range of an entity"

Destroying certain blocks within the range of an entity - Low angle of aged wooden house at bottom of rocky mountain ridge with snow on slope
Destroying certain blocks within the range of an entity - Drone view of mountain range with forgotten buildings on cliffs covered with snow in overcast
Destroying certain blocks within the range of an entity - Old rusty chain link fence near rough mountain against cloudless blue sky on sunny day



How do you remove blocks from a certain area in Minecraft?

You'll need to replace x with the number of blocks you want to clear. For instance, \u201c/kill @e[type=item, r=10]\u201d will clear all the dropped items in a 10-block radius. Using the kill command also works for wiping a specific item from the world.

How do you delete specific items in Minecraft?

Must be one of:
  • forward to destroy block/item on the front.
  • back to destroy block/item on the back.
  • left to destroy block/item on the left-hand side.
  • right to destroy block/item on the right-hand side.
  • up to destroy block/item on the top-hand side.
  • down to destroy block/item on the bottom-hand side.


  • How do you break blocks with command blocks?

    To do this, players can either use the F3 key on Minecraft: Java Edition or the "show coordinates" option in Bedrock Edition to note the start and end points of where they want the fill command to clear.



    Destroy \u0026 Replace Simultaneously (Destroy Specific Blocks in a /Fill Command)




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Erik Mclean, Matheus Bertelli, Erik Mclean, Francesco Ungaro