I'm tinkering with the ability to to use a command block to take everything designed in an area by default (preferably but could be by player design after) and then clone that instead of just to another area, into a command block. I need this to undo actions that a general undo will not be able to do, because the initial trigger will be a command block and I want the surroundings preserved to be restored after.
So with that said, I know I can just clone to another area. That would mess up part of the map instantly for other players (if they were connected) or worse, until the action is somehow undone, could remove ores or other important things in that location (temples, villages or other needed resources). If I cannot clone everything into a command block, perhaps there is another location I could clone too (like far up in the sky or nether/end - any other place in memory and as many areas up to max 4096)?
I don't know if that is possible but it would be more appropriate because in my local multiplayer map, one should only be using the overworld anyway. I'm sure I can lock out those somehow so that's no concern. The greatest challenge seems to be making sure your command block playground can restore your default seeded world when play time is done...
This seems totally plausible and I feel can be achieved. Thoughts welcome and appreciated!
If your command clones a specific area, you could try storing a lot of numbers on lots of armorstands for every single block that you want to be allowed to be cloned, and also store an x,y,z value on each armorstand (based on its relative position) and then when cloning, teleport all the armorstands to their respective positions, and then place the blocks down. you might want to save the area you are cloning to again in more armor stands..