What is the command (if there is one) to make all blocks in a world unbreakable against explosions? [duplicate]

What is the command (if there is one) to make all blocks in a world unbreakable against explosions? [duplicate] - Numbers Wall Decor

I am making an adventure world that is players versus monsters. I understand adventure mode doesn't allow players to break blocks, but not monsters. I would like to keep creepers, but it seems to do this I would have to build every thing out of obsidian and bedrock so the creeper explosions don't ruin my paths and rooms! So, what command might be used to make every block in the world unbreakable instead?






Pictures about "What is the command (if there is one) to make all blocks in a world unbreakable against explosions? [duplicate]"

What is the command (if there is one) to make all blocks in a world unbreakable against explosions? [duplicate] - Letter Blocks and a Ribbon on a Blue Background
What is the command (if there is one) to make all blocks in a world unbreakable against explosions? [duplicate] - 123 Cutout Decor on Red Surface
What is the command (if there is one) to make all blocks in a world unbreakable against explosions? [duplicate] - Man with makeup standing on one leg and resting against pillar



Is there a way to make blocks unbreakable in Minecraft?

There is a crazy way of doing this: Replace every block you want to be "invincible" by a barrier block, and summon invisible ArmorStand's at their position with the designated block on their head.

How do you make a build unbreakable in Minecraft?

There are three different types of command blocks:
  • Impulse, which run commands on the rising edge of redstone current. ...
  • Repeat, which run commands every tick they are powered. ...
  • Chain, which only run if the command block that is pointing into it has executed its command.




3 Deadly Command Blocks (Minecraft PE)




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

Images: Magda Ehlers, Nataliya Vaitkevich, Magda Ehlers, SHVETS production