Instead of needing to select everything and /replace it, I thought of a /fill command to actually fill spaces.
It works like in mspaint: everything the same will be changed.
Example:
YAY! You made a raincloud. But you think it might look better when it's black.
/fill
hold black in your hand.
Click the raincloud to mark a block.
1. The command checks the 1st block and marks it.
2. The command checks if any of the 6 blocks around are of that type too.
3. If any block is, mark it and make it check from 2.
arguments:
/fill
Blocktype (optional, defines block to fill with)
You don't want to accidenly fill the whole map, so when trying to fill air, it should ask for confirmation.
Anyone ranked too low will run into their blocklimit, but if someone without blocklimit accidently selects air, we don't want the whole level to fill.
Why this is better than /replace:
+ /fill needs no argument.
+ /fill needs only 1 marked block.
- /replace needs at least 2 arguments.
- /replace needs you to select a large area.
Thanks,
Gamesaucer
/fill command
- boblol0909
- SupOP
- Offline
- Posts: 314
- Joined: June 24th, 2011, 10:27 pm
Re: /fill command
There already is a fill command and it does ask for confirmation on air.
- Smokeybacon
- Trustee
- Offline
- Posts: 371
- Joined: May 24th, 2011, 12:29 am
- Location: Stuttgart
- Contact:
Re: /fill command
Yes, we already have exactly that, it is called /fill2d
The plane in which to execute the fill is defined by which way the player faces. You need to look along a normal to the plane.
Plus you forgot the big advantage in that replace works only in cuboids, whereas fill will work with any generic shaped space defined by a boundary of blocks other than the type being filled.
The plane in which to execute the fill is defined by which way the player faces. You need to look along a normal to the plane.
Plus you forgot the big advantage in that replace works only in cuboids, whereas fill will work with any generic shaped space defined by a boundary of blocks other than the type being filled.
[02:27] <+FCB2> MainTrain97: my dad is an arkansas goveren
[02:27] <+FCB2> MainTrain97: and iwe are suing skittles
[02:29] <+FCB2> MainTrain97: and we may file a lawsuit against fcraft
[02:27] <+FCB2> MainTrain97: and iwe are suing skittles
[02:29] <+FCB2> MainTrain97: and we may file a lawsuit against fcraft
Re: /fill command
/Fill3D is also planned at some point.
Re: /fill command
The parameters . Good luckfragmer wrote:/Fill3D is also planned at some point.
<+FCB1> 05+Pemalite: all the fcraft chicks reject me except element
13:04 + FCB2 │ +Pemalite: craaaaab
13:04 + FCB1 │ +Pemalite: no
13:04 + FCB1 │ +Pemalite: ill give yout the best loving ou ever ad crab
13:04 + FCB2 │ +Pemalite: craaaaab
13:04 + FCB1 │ +Pemalite: no
13:04 + FCB1 │ +Pemalite: ill give yout the best loving ou ever ad crab