16

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

2
  • Wild idea, not even remotely sure if it is possible. But a very localized explosion without sound? Or that not possible?
    – Arperum
    Commented Nov 20, 2014 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
    Commented Nov 20, 2014 at 13:03

2 Answers 2

26

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.

1
  • I did not expect this option.
    – Arperum
    Commented Nov 20, 2014 at 13:23
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .