Page 1 of 1

[DONE] Brushes and Fill.

Posted: November 10th, 2011, 6:09 am
by Freeze_Craft
I'd like to suggest the ability to use brushes with the /fill2d command.

eg. /brush rainbow
/f2d
Air will be replaced by rainbow brush in area.

Re: Brushes and Fill.

Posted: November 10th, 2011, 8:25 pm
by fragmer
It is not possible to make fill commands work with brushes, unfortunately, due to some technical limitations of the algorithm.

Specifically, if at any coordinate the brush does NOT change a block (e.g. if it tries to place the same block type that we are replacing, or if skips the block), /f2d will get stuck in a loop trying to infinitely replace the block at that coordinate.

The only way to overcome this limitation would be to build up a list of coordinates to replace in advance, or to keep a list of replaced blocks. Although those changes would work, the /f2d command would run slower and use more system resources.

Re: Brushes and Fill.

Posted: August 18th, 2013, 5:03 am
by fragmer
Good news! In fCraft 0.641, brush support has been added to /Fill2D

Image