Automate road building in Minecraft with a glowing cobblestone orb that glides and weaves across grass, painting textured winding trails and lanterns.
Spawners & GeneratorsMedievalNatureGreenGoldWhiteBuilding ToolMap MakingDecorationBlock displaysArmor standsBlock building (fill/setblock/clone)Rotation math21+ commands
Building natural, winding roads by hand takes a lot of time and constant block-swapping in your hotbar. The Wandering Trail Weaver automates pathmaking with a glowing orb of cobblestone and lanterns that glides above the ground, swaying side to side like a snake while painting a textured trail behind it.
As the weaver travels, it blends cobblestone, mossy cobblestone, gravel, and stone bricks into the grass below, while occasionally placing roadside fence lanterns and sparkling with golden dust and stone chips.
/scoreboard objectives add c9_timer dummy/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 stone_bricks/setblock ~ ~-1 ~ chiseled_stone_bricks/summon armor_stand ~ ~ ~ {Tags:["c9_center"],Invisible:1b,NoGravity:1b,Marker:1b}/summon armor_stand ~ ~ ~ {Tags:["c9_weaver"],Invisible:1b,NoGravity:1b,Marker:1b,Glowing:1b,ArmorItems:[{},{},{},{id:"minecraft:mossy_cobblestone",count:1}],Rotation:[35.0f,0.0f]}/summon block_display ~ ~0.6 ~ {Tags:["c9_orb"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:cobblestone"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,1.3f,1.3f],translation:[-0.65f,-0.65f,-0.65f]}}/summon block_display ~ ~1.6 ~ {Tags:["c9_core"],Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.0f,1.0f,1.0f],translation:[-0.5f,-0.5f,-0.5f]}}/scoreboard players set @e[tag=c9_weaver] c9_timer 0/execute as @e[tag=c9_weaver] run scoreboard players add @s c9_timer 1/execute as @e[tag=c9_weaver,scores={c9_timer=45..}] run scoreboard players set @s c9_timer 1/execute as @e[tag=c9_weaver,scores={c9_timer=1..22}] at @s run tp @s ^ ^ ^0.18 ~4.2 ~/execute as @e[tag=c9_weaver,scores={c9_timer=23..44}] at @s run tp @s ^ ^ ^0.18 ~-3.4 ~/execute as @e[tag=c9_weaver] at @s unless entity @e[tag=c9_center,distance=..11] run tp @s ~ ~ ~ facing entity @e[tag=c9_center,limit=1]/execute as @e[tag=c9_weaver] at @s run tp @e[tag=c9_orb] ~ ~0.7 ~ ~8 ~/execute as @e[tag=c9_weaver] at @s run tp @e[tag=c9_core] ~ ~1.6 ~ ~-10 ~/execute at @e[tag=c9_weaver] run fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 cobblestone replace grass_block/execute at @e[tag=c9_weaver,scores={c9_timer=5..15}] run setblock ^0.8 ^-1 ^ mossy_cobblestone/execute at @e[tag=c9_weaver,scores={c9_timer=18..28}] run setblock ^-0.8 ^-1 ^ gravel/execute at @e[tag=c9_weaver,scores={c9_timer=32..40}] run setblock ^ ^-1 ^ stone_bricks/execute at @e[tag=c9_weaver,scores={c9_timer=22}] if block ^2 ^-1 ^ grass_block run setblock ^2 ^ ^ oak_fence/execute at @e[tag=c9_weaver,scores={c9_timer=22}] if block ^2 ^ ^ oak_fence run setblock ^2 ^1 ^ lantern/execute at @e[tag=c9_weaver] run particle dust{color:[1.0,0.8,0.2],scale:2.0} ~ ~1.0 ~ 0.5 0.4 0.5 0 8setup #6 Summons a large, glowing cobblestone <code>block_display</code> entity scaled to 1.3x size and centered on its coordinates so it spins cleanly above the trail.loop #3 During the first half of the timer cycle (ticks 1 to 22), the weaver glides forward using local coordinates (<code>^ ^ ^0.18</code>) while turning right by 4.2 degrees per tick.loop #5 Checks if the weaver has wandered more than 11 blocks away from the <code>c9_center</code> anchor; if so, it immediately turns back toward the center to weave an intersecting network of roads.loop #8 Replaces a 3x3 patch of <code>grass_block</code> beneath the orb with base cobblestone, while subsequent commands mix in mossy cobblestone, gravel, and stone bricks along the curve.


Recorded on our own test server: 58 frames at about 9.7 fps. Our image check saw: A glowing cluster of cobblestone and lanterns glides across a flat grass platform, leaving behind a winding stone path composed of cobblestone, mossy cobblestone, gravel, stone bricks, and lamp posts with yellow particles trailing behind it.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To guide the weaver manually instead of letting it roam on its own, replace loop commands 3, 4, and 5 with /execute as @e[tag=c9_weaver] at @s facing entity @p[distance=2..] feet run tp @s ^ ^ ^0.2 ~ ~. The glowing orb will smoothly follow behind you wherever you walk and pave a textured road along your footsteps.
/kill @e[tag=c9_weaver]/kill @e[tag=c9_center]/kill @e[tag=c9_orb]/kill @e[tag=c9_core]/scoreboard objectives remove c9_timerCurrently it glides on a flat horizontal plane. To make it climb hills, add two extra repeating commands that teleport c9_weaver up 1 block if it detects a solid block directly in front of it, or down 1 block if there is air beneath its path.
Edit loop commands 8 through 11 and swap out cobblestone, mossy_cobblestone, gravel, and stone_bricks for your preferred palette, such as mud_bricks, packed_mud, and coarse_dirt.
▶Automated Rustic Roof BuilderSpawners & GeneratorsHard24 cmds
▶Self-Building Wooden CabinSpawners & GeneratorsEasy21 cmds
▶Self-Weaving Cobblestone CrossroadsSpawners & GeneratorsMedium26 cmds
▶Hurdy-Gurdy Rosin-Wheel Boss SummonerSpawners & GeneratorsHard24 cmds
▶Marionette Wooden-Crossbar String Puppeteer SpawnerSpawners & GeneratorsHard24 cmds
▶Automated Crop HarvesterSpawners & GeneratorsMedium24 cmds