How to use worldedit masks

Standard Masks

//mask (Block-ID)
The mask allows you to set what specific blocks you want to change. Example: If you had a terrain composed of stone, grass, cobble, lime hardened clay, if you set //mask grass to your brush, the grass blocks are the only blocks eligible to change. The stone, cobble and clay will remain untouched for as long the mask is active.

Type command by itself to remove the mask from your brush

The gmask applies a mask to every WorldEdit command in the game. So if you do a selection while having a gmask, the masked blocks will be the only ones affected.

Below you see a tower made out of two blocks. Grass (ID=2) and Cobblestone (ID=4)

Then I set //gmask 2 (This makes it so only the block with ID=2 (grass) will be affected.
Then I do //set 0


Since our mask was set with 2, when I did //set 0 I changed every block in my mask to 0, and since cobblestone wasn’t in my mask, it was left unaffected.

This is just an example of what is possible with //gmask, but as I mentioned above, the gmask applies to every world edit command.

If you want to change your gmask, you need to first do //gmask to remove your current one, before setting a new one. And to remove it indefinitely, do the same.


The Builder’s Refuge Staff

Post A Comment

You must be logged in to post a comment.