Minecraft Java Edition – How to Break Blocks Remotely

minecraft-java-edition

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

Best Answer

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.