World transforms.
The transforms a generated world can stack: replace, randomize, layers, skygrid, strip, and cut.
Run on each chunk, in order.
A generated world's transforms run after the base shape and its decorations, each over the whole chunk, in the order they are stacked.
Replace blocks
Blocks of some kinds become others.
Fields
- These blocks (from)
- kinds of block, tags included, required. Ids and tags.
- Become one of (to)
- kinds of block, required. Ids; one is picked at random.
- Chance (chance)
- a whole number, 1 to 100, optional. The percentage swapped; all when left out.
- Decided (per)
- block or chunk, optional. Each block for itself, or once a chunk.
Random blocks
Every block that isn't air becomes one of some kinds, picked per block, chunk, layer or column.
Fields
- Blocks (blocks)
- kinds of block, or "any", required. Ids, or any block that can be placed.
- Chance (chance)
- a whole number, 1 to 100, optional. The percentage changed; all when left out.
- Picked (per)
- block, chunk, layer or column, optional. Once per block, chunk, layer or column.
- Liquids too (liquids)
- yes or no, optional. Change water and lava as well.
Layer cake
Every block of a height becomes one kind, the same in every chunk.
Fields
- Blocks (blocks)
- kinds of block, or "any", required. Ids, or any block that can be placed.
- From height (from)
- a whole number, -64 to 319, optional. The lowest height changed.
- To height (to)
- a whole number, -64 to 319, optional. The highest height changed.
Skygrid
Everything goes; one random block stands at every point of a grid.
Fields
- Spacing (spacing)
- a whole number, 2 to 16, required. Blocks between grid points, 2 to 16.
- Blocks (blocks)
- kinds of block, or "any", required. Ids, or any block that can be placed.
- From height (from)
- a whole number, -64 to 319, optional. The lowest height of the grid.
- To height (to)
- a whole number, -64 to 319, optional. The highest height of the grid.
One strip
Only a strip of the world stays; the rest is air.
Fields
- Along (axis)
- x or z, required. Which way the strip runs.
- Width (width)
- a whole number, 1 to 64, required. How many blocks wide, 1 to 64.
- Starting at (at)
- a whole number, -30000000 to 30000000, optional. The coordinate the strip starts from; 0 when left out.
Cut
Everything below or above a height goes.
Fields
- Below (below)
- a whole number, -64 to 320, optional. Remove everything under this height.
- Above (above)
- a whole number, -64 to 320, optional. Remove everything over this height.