WorldEdit

WorldEdit

43M Downloads

"except" argument

LadyCailinBot opened this issue ยท 3 comments

commented

WORLDEDIT-2973 - Reported by dsdw7

for example:
"//replace -water,lava,sand grass"
replaces everything except water, lava, and sand with grass

commented

Comment by PseudoKnight

An exclamation point acts as "not" logic in WorldEdit masks. This would perhaps be a better choice than a dash.

In the mean time you can use "//gmask !water,lava,sand" combined with "//set grass" for this.

commented

Comment by wizjany

what he said. masks were designed for this.

commented

Comment by dsdw7

I already knew about masks when posting this. Just thought it could be more efficient to have it within the same command.