boy0001 / FastAsyncWorldedit

Blazingly fast world manipulation for artists, large networks and developers: https://www.spigotmc.org/resources/13932/
GNU General Public License v3.0
309 stars 225 forks source link

Suggestion of a new FAWE command #1325

Closed tiradorus closed 2 years ago

tiradorus commented 5 years ago

Hi!

I post it here because if a feature like that will comme, i should win approximatively 1 month of work, or even more ^^'

Add a new command, i don't know the name, "surround" for example, that place a certain block at each board of another one.

For example, you have a Block of stone like that:

A = Air, S = Stone
AAA
ASA
AAA

So when you do for example "//surround 5 1" Then it gives you something like that:

A = Air, S = Stone, W = Wood
AWA
WSW
AWA

And another example, you have something like that:

A = Air, S = Stone, B = Another type of block
AAAAAAAAAA
AASSAAAAAA
AAAAAASBSA
AAAAAAAAAA

You do a //surround 5 1 0 Then it gives you something like that:

A = Air, S = Stone, B = Another type of block W = Wood
AAWWAAAAAA
AWSSWAWAWA
AAWWAWSBSW
AAAAAAWAWA

As you've seen, because of the parameter '0' (air) The other block 'B' hasn't been removed

Thanks for reading, but i really need it ^^'