How to Create Gradients in Minecraft with WorldEdit
Step-by-step WorldEdit gradient tutorial using //set with weighted percentages. Learn simple and weighted gradients, plus how to export from BlockBlend.
What Are Block Gradients?
A block gradient is a smooth transition between two or more block types across a surface. Instead of a wall being 100% Stone Bricks, a gradient might transition from Deepslate at the bottom through Stone to Calcite at the top. This technique adds realism, scale, and visual interest to large builds — and WorldEdit makes it practical at any scale.
Without WorldEdit, creating a gradient on a 200-block-tall tower means placing thousands of blocks by hand with careful counting. With it, a single command fills the selection with the exact distribution you specify.
The Basic //set Command
If you already know WorldEdit basics, you know //set stone fills a selection with stone. But //set accepts multiple blocks separated by commas:
//set stone_bricks,cobblestone,andesite
This fills the selection with an equal random mix of all three blocks — roughly 33% each. It is useful for adding texture to walls but it is not a gradient. Every block has the same probability everywhere in the selection.
Weighted Block Distribution
To control how much of each block appears, add percentage weights:
//set 60%stone_bricks,25%mossy_stone_bricks,15%cracked_stone_bricks
Now your wall is mostly Stone Bricks with organic-looking patches of moss and cracks. The percentages must add up to 100. This is the foundation of every gradient and texture technique in WorldEdit.
The BlockBlend CraftLab can generate these weighted commands for you automatically. Build your palette, adjust the slider for each block's weight, and copy the export string directly into your game chat.
Creating a Vertical Gradient
True gradients require multiple //set commands at different vertical slices. Here is the workflow for a stone-to-deepslate vertical gradient on a wall:
Step 1: Plan Your Bands
Divide your wall height into sections. For a 20-block wall, you might use four bands of 5 blocks each:
- Bottom (Y+0 to Y+4): Heavy deepslate
- Lower-mid (Y+5 to Y+9): Mixed
- Upper-mid (Y+10 to Y+14): Mostly stone
- Top (Y+15 to Y+19): Pure stone
Step 2: Select and Fill Each Band
Use //pos1 and //pos2 (or the wand tool) to select each horizontal slice, then apply weighted sets:
// Bottom band
//set 70%deepslate_bricks,20%deepslate_tiles,10%stone_bricks
// Lower-mid band
//set 40%deepslate_bricks,35%stone_bricks,25%andesite
// Upper-mid band
//set 15%deepslate_bricks,55%stone_bricks,30%andesite
// Top band
//set 5%deepslate_bricks,80%stone_bricks,15%polished_andesite
The key is overlapping block types between adjacent bands. Notice how deepslate_bricks appears in all four bands but decreases from 70% to 5%. Stone_bricks increases from 10% to 80%. This overlap eliminates hard lines between bands.
Step 3: Feather the Edges
For extra smoothness, add thin (1-2 block) transition layers between each main band with intermediate percentages. The more bands you use, the smoother the gradient — but diminishing returns kick in around 6-8 bands for most wall heights.
Horizontal and Radial Gradients
The same band technique works horizontally. For a floor gradient from planks to stone (like a transition from interior to exterior), select vertical slices along the X or Z axis and shift the percentages.
Radial gradients — like a crater rim or a circular plaza pattern — are trickier. Use WorldEdit's //cyl and //hcyl commands with different block sets at different radii:
//hcyl 30%obsidian,70%blackstone 10 // inner ring
//hcyl 50%blackstone,50%basalt 15 // middle ring
//hcyl 20%basalt,80%stone 20 // outer ring
Common Gradient Recipes
Here are field-tested gradients that work well for large builds:
- Ocean Monument Restoration: Prismarine → Dark Prismarine → Cyan Terracotta → Blue Concrete
- Volcanic Terrain: Magma Blocks → Blackstone → Basalt → Gray Concrete → Stone
- Autumn Forest Floor: Podzol → Coarse Dirt → Rooted Dirt → Moss Block
- Castle Aging: Mossy Cobblestone → Cobblestone → Stone Bricks → Smooth Stone
Exporting Gradients from BlockBlend
Manually calculating percentages for each band is tedious. The BlockBlend CraftLab automates this entirely. Add your start and end blocks, set the number of gradient steps, and the tool generates every WorldEdit command you need — with proper percentage weights pre-calculated.
Copy the commands, paste them into your game, and your gradient is done in seconds instead of minutes of manual math. The export format is compatible with WorldEdit, FAWE, and Axiom.
Ready to Build?
Put these techniques into practice with the BlockBlend CraftLab. Create palettes, preview blocks, and export WorldEdit commands.
Try in CraftLab