This page is currently being revised.
To learn about basic masks that WorldEdit offers please click here.
A mask is a restriction on an edit for when blocks are placed e.g. only replace blocks below stone. Global masks apply to all edits, brush masks apply to just the current brush.
Use the name or id of a block (e.g. stone
).
Use ,
(OR) or &
(AND) to separate multiple masks. e.g.
grass_block,$desert
Mask arguments should be inside square brackets e.g. #offset[0][5][3]
Perm: worldedit.global-mask
Desc: This command applies a mask(s) to
all your WorldEdit actions globally. This command masks based on the
destination blocks (i.e. the blocks in the world).
Perm: worldedit.global-mask
Desc: The global source mask applies to all edits you do and masks based
on the source blocks (e.g. the blocks in your clipboard)
Perm: worldedit.brush.options.mask
Desc: Set the brush destination mask
Perm: worldedit.brush.options.mask
Desc: Set the brush source mask
Desc: Offset a mask
Desc: percentage chance
Desc: Restrict to initial id
Desc: If there is a non air block
Desc: Restrict to initial data
Desc: Restricts blocks to within a specific radius range of the initial block
Desc: Restrict to surfaces (any solid block touching air)
Desc: expression mask
Desc: Negate another mask
Desc: in a specific biome. For a list of biomes use //biomelist
Desc: inside the provided selection
Desc: Adjacent to a specific number of other blocks
Desc: Restrict to specific terrain angle
The -o flag will only overlayExample: /[0d][45d]
Explanation: Allows any block where the adjacent block is between 0 and
45 degrees.
Example: /[3][20]
Explanation: Allows any block where the adjacent block is between 3 and
20 blocks below
Desc: inside the player’s selection
Desc: Restrict to initial x axis
Desc: If there is a solid block
Desc: Always true
Desc: Always false
Desc: above a specific block
Desc: Restrict to walls (any block n,e,s,w of air)
Desc: Restrict to initial z axis
Desc: Restrict to initial y axis
Desc: below a specific block
Desc: Use simplex noise as the mask
Desc: If there is a solid block
Desc: Replace the surface of blocks