Mix calculator. For //set and //replace.
Pick blocks, set their share and copy a ready WorldEdit command for random mixes: textured walls, paths and terrain without typing the pattern by hand.
stone60.0%andesite25.0%cobblestone15.0%
Weights add up to 100, so they read like normal percentages. The result is random per block, so small areas will not match exactly.
//set 60%stone, 25%andesite, 15%cobblestoneHow to use it
- Add the blocks you want in the mix.
- Set the share of each block.
- Copy the //set or //replace command and run it on your selection.
What you get
Numbers are weights, not exact percentages: 3 and 1 give 75% and 25%.
Copy the finished //set or //replace pattern.
A wrong mix is one //undo away.
Questions and answers
How do percentages work in WorldEdit?
The number before each block is a weight. WorldEdit divides each weight by the total, so 60%stone,40%andesite and 3%stone,2%andesite give the same result.
Do the percentages have to add up to 100?
No. They are relative weights, so any positive numbers work.
Can I use block states in a mix?
Yes. Write the state after the block, for example 50%oak_log[axis=x],50%oak_planks.
Is the mix exact?
No. Each block is chosen at random with its weight, so small areas can differ from the percentages.