Command blocks are a really fun and important aspect of the game for many players, but when a player is in creative mode, one accidental click of the "attack" button can instantly destroy hours of work.
Though a workaround does exist, namely turning on the Game Output Log to copy and replace commands posted to chat, it only works in very specific situations, is not intuitively usable by new players just getting into the game, and it also does not help to recover command data lost from command blocks placed before the player re-logged into the game.
I am suggesting adding an option, either through gamerule (ex. confirmCommandBlockDestruction) or game menu setting, which allows the player to require confirmation for destroying a command block.
It could be implemented in one of two very simple and unobtrusive ways:
1. Attacking a command block with this enabled works like breaking a block in survival, where the player must hold down the attack button for a moment while an animation indicates how close they are to destroying it permanently. The animation could be the same as the normal block breaking animation, or a separate "creative only" animation to avoid confusing players.
2. Attacking a command block with this enabled does nothing, the player must attack again within a short space of time to destroy the block. To make this more intuitive to the player, the first time they attack some particles could appear similar to how they do when attempting to break a block with a sword.
Please sign in to leave a comment.