Page 1 of 1

[REJECTED] Using '-' with /replace

Posted: January 12th, 2012, 6:19 pm
by Jonty800
Scenario:

Let's say I just made a giant Torus of red and yellow. I then decide that I don't like the red and the yellow. Instead of using /undo and then trying to make the exact same size torus again (click, /mark) I could instead use /replace - black... and the drawing I just did would be replaced with black. I could continue and use /replace - red, /replace - purple.

Re: Using '-' with /replace

Posted: January 13th, 2012, 8:30 am
by Intertoothh
/replace red yellow black ?

Re: Using '-' with /replace

Posted: January 13th, 2012, 10:12 pm
by Jonty800
Yeah, but lets say you placed a /triangle where the volume of the /replace cuboid also contains part of another build. If you replaced colors, you may also replace the blocks of the other build.

Re: Using '-' with /replace

Posted: January 13th, 2012, 10:59 pm
by ruggedbear
I believe that due to limitations with /r, this is not possible. At least, not if the original draw command was brushed.

Re: Using '-' with /replace

Posted: January 14th, 2012, 5:26 pm
by fragmer
I dont plan on adding this to the official builds, but it's doable. You can use the data from UndoState to get coordinates of blocks modified by the previous draw command. I'd add it as an entirely separate command though, instead of complicating /replace any further.

Re: Using '-' with /replace

Posted: August 24th, 2013, 6:00 am
by fragmer
/Fill3D will do the job of replacing complex shapes now. I won't add the specific functionality you're describing though.