I want to break blocks far away (e.g. A piece of glass 50 blocks away) with commands, but I don't know if there's any way.

Is it possible to break a block (literally break a block, which means with sound & with particles) with a command? Or should I use the /particle /sound and /fill command to "break" the block? (/particle will create the glass-breaking particle, /sound will play the glass-breaking sound, and the /fill command will fill the glass with air.)

  • Wild idea, not even remotely sure if it is possible. But a very localized explosion without sound? Or that not possible? – Arperum Nov 20 '14 at 12:01
  • I tried to use /summon Fireball ~ ~ ~ {ExplosionPower:1,Direction:[0.0,0.0,0.0]}but it cannot break obsidian, and it causes a very loud explosion. – 54D Nov 20 '14 at 13:03

This should do it.

/setblock <x> <y> <z> minecraft:air 0 destroy

From Minecraft Wiki:

destroy — The old block drops both itself and its contents (as if destroyed by a player). Plays the appropriate block breaking noise.

  • I did not expect this option. – Arperum Nov 20 '14 at 13:23

Use /setblock ~ ~ ~ air 0 - making sure that the chunk the block is in is loaded.

Alternatively, put the /setblock command in the spawn chunks so that no matter where you go it will destroy the block. This is because when you reach the chunk and load it in, the command block will perform the setblock command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.