WorldEdit#
WorldEdit has many and many abilities this document only covers some of them.
Attention
Arguments surrounded by [ ]
are optional, those surrounded by < >
are required.
Other Resources#
Official WorldEdit Docs (Documents a WorldEdit version more recent than the one we use, so some things act differently)
Creating A Selection#
Selections are a fundamental part of WorldEdit and you need to learn it first by reading this.
Commands#
Only the most commonly used commmands are listed here.
//set#
Sets selection to the given pattern.
//set <pattern>
//replace#
Replaces “from” to “to”. “from” is a mask and “to” is a pattern.
//replace [from] <to>
//fill#
Fills a hole around the player to a pattern. For example, you can use it to create a flat roof on the inside of the walls of a building. Radius is the radius of the area to fill, and depth is the vertical height of the fill. Usually depth should not be set.
//fill <pattern> <radius> [depth]
Patterns#
A pattern determines what blocks a command places. For basics you only need to learn the single block pattern and random block pattern.
Detailed explanation of a pattern including advanced types of patterns. (Explanation uses 1.13+ names, keep in mind we use 1.12.2 IDs. It also contains features not present in our older version of WorldEdit)
Single Block Pattern#
In order to WorldEdit with a singular block, use a singular block ID.
Random Pattern#
In order to WorldEdit with multiple blocks in a random pattern, use multiple patterns/block IDs
You can specify weights by adding a x%
in front of the pattern.
Note
Percentage weights do not need to add up to 100. They are a ratio to each other.
Masks#
Masks determine what blocks a command effects
Detailed explanation of a mask, including advanced types of patterns. (Explanation uses 1.13+ names, keep in mind we use 1.12.2 IDs. It also contains features not present in our older version of WorldEdit)
Block Mask#
Works the same as a single block or random block pattern.
Negation Mask#
Adding a !
negates everything after it. Another way to look at it: the result does the opposite of the mask after the !
.
Offset Mask#
Adding a >
before another mask matches blocks above the mask, adding a <
matches blocks below the mask.