Watch a thirty-segment brass and iron mechanical centipede crawl in a smooth figure-eight with phase-shifted leg wave kinematics and golden sparks.
Creatures & ModelsTechnologyIndustrialOrangeGoldWhiteDecorationLearningCinematicParticlesBlock displaysSmooth animation (interpolation)Scoreboard timersExecute chainsRiding & passengersSummoned mobsRotation math21+ commands
A thirty-segment mechanical centipede built from scaled copper, gold, and iron block_display entities glides across the grass in a continuous figure-eight. Each segment trails one tick behind the next, creating a seamless articulated spine with glowing sea lantern eyes leading the way.
Every leg pair runs on a phase-shifted 12-tick stride cycle with smooth client-side interpolation, sending rippling waves of brass and iron footsteps down the length of the creature while amber sparks rise from the flexing joints.
/scoreboard objectives add c9_sys dummy/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_w dummy/scoreboard players set #tick c9_sys 1/summon minecraft:block_display ~ ~ ~ {Tags:["c9_part","c9_body"],Rotation:[45f,0f],block_state:{Name:"minecraft:gold_block"},teleport_duration:2,brightness:{sky:15,block:15},transformation:[0.78f,0f,0f,-0.39f,0f,0.52f,0f,0.22f,0f,0f,0.72f,-0.36f,0f,0f,0f,1f]}/summon minecraft:block_display ~ ~ ~ {Tags:["c9_part","c9_eye"],Rotation:[45f,0f],block_state:{Name:"minecraft:sea_lantern"},teleport_duration:2,brightness:{sky:15,block:15},transformation:[0.16f,0f,0f,-0.32f,0f,0.16f,0f,0.44f,0f,0f,0.16f,0.25f,0f,0f,0f,1f]}/summon minecraft:block_display ~ ~ ~ {Tags:["c9_part","c9_eye"],Rotation:[45f,0f],block_state:{Name:"minecraft:sea_lantern"},teleport_duration:2,brightness:{sky:15,block:15},transformation:[0.16f,0f,0f,0.16f,0f,0.16f,0f,0.44f,0f,0f,0.16f,0.25f,0f,0f,0f,1f]}/summon minecraft:block_display ~ ~ ~ {Tags:["c9_part","c9_legL"],Rotation:[45f,0f],block_state:{Name:"minecraft:iron_block"},teleport_duration:2,brightness:{sky:15,block:15},transformation:[0.13f,0f,0f,-0.55f,0f,0.62f,0f,0f,0f,0f,0.13f,-0.06f,0f,0f,0f,1f]}/summon minecraft:block_display ~ ~ ~ {Tags:["c9_part","c9_legR"],Rotation:[45f,0f],block_state:{Name:"minecraft:iron_block"},teleport_duration:2,brightness:{sky:15,block:15},transformation:[0.13f,0f,0f,0.42f,0f,0.62f,0f,0f,0f,0f,0.13f,-0.06f,0f,0f,0f,1f]}/scoreboard players add @e[tag=c9_part] c9_t 1/scoreboard players set @e[tag=c9_part,scores={c9_t=154..}] c9_t 0/scoreboard players add @e[tag=c9_part] c9_w 1/scoreboard players set @e[tag=c9_part,scores={c9_w=12..}] c9_w 0/execute as @e[tag=c9_part] at @s if score @s c9_t matches 11..64 run tp @s ^ ^ ^0.3816 ~5 ~/execute as @e[tag=c9_part] at @s if score @s c9_t matches 88..141 run tp @s ^ ^ ^0.3816 ~-5 ~/execute as @e[tag=c9_part] at @s unless score @s c9_t matches 11..64 unless score @s c9_t matches 88..141 run tp @s ^ ^ ^0.38 ~ ~/execute as @e[tag=c9_legL,scores={c9_w=0}] run data merge entity @s {interpolation_duration:6,start_interpolation:0,transformation:[0.13f,0f,0f,-0.55f,0f,0.56f,0.055f,0.18f,0f,-0.26f,0.118f,0.2f,0f,0f,0f,1f]}/execute as @e[tag=c9_legL,scores={c9_w=6}] run data merge entity @s {interpolation_duration:6,start_interpolation:0,transformation:[0.13f,0f,0f,-0.55f,0f,0.56f,-0.055f,0f,0f,0.26f,0.118f,-0.32f,0f,0f,0f,1f]}/execute as @e[tag=c9_legR,scores={c9_w=6}] run data merge entity @s {interpolation_duration:6,start_interpolation:0,transformation:[0.13f,0f,0f,0.42f,0f,0.56f,0.055f,0.18f,0f,-0.26f,0.118f,0.2f,0f,0f,0f,1f]}/execute as @e[tag=c9_legR,scores={c9_w=0}] run data merge entity @s {interpolation_duration:6,start_interpolation:0,transformation:[0.13f,0f,0f,0.42f,0f,0.56f,-0.055f,0f,0f,0.26f,0.118f,-0.32f,0f,0f,0f,1f]}/execute at @e[tag=c9_body,scores={c9_w=0..1}] run particle minecraft:dust{color:[1.0,0.68,0.12],scale:1.3} ~ ~0.45 ~ 0.18 0.12 0.18 0 1/scoreboard players add #tick c9_sys 1/execute if score #tick c9_sys matches 2..30 run summon area_effect_cloud ~ ~ ~ {WaitTime:0,Duration:1,Radius:0f,Passengers:[{id:"minecraft:block_display",Tags:["c9_part","c9_body"],Rotation:[45f,0f],block_state:{Name:"minecraft:waxed_cut_copper"},teleport_duration:2,brightness:{sky:15,block:15},transformation:[0.68f,0f,0f,-0.34f,0f,0.44f,0f,0.22f,0f,0f,0.58f,-0.29f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_part","c9_legL"],Rotation:[45f,0f],block_state:{Name:"minecraft:iron_block"},teleport_duration:2,brightness:{sky:15,block:15},transformation:[0.13f,0f,0f,-0.55f,0f,0.62f,0f,0f,0f,0f,0.13f,-0.06f,0f,0f,0f,1f]},{id:"minecraft:block_display",Tags:["c9_part","c9_legR"],Rotation:[45f,0f],block_state:{Name:"minecraft:iron_block"},teleport_duration:2,brightness:{sky:15,block:15},transformation:[0.13f,0f,0f,0.42f,0f,0.62f,0f,0f,0f,0f,0.13f,-0.06f,0f,0f,0f,1f]}]}setup #5 <p>Summons the centipede's larger gold head segment at the center facing <code>45</code> degrees, with <code>teleport_duration:2</code> for smooth motion interpolation and full <code>brightness</code> so the metalwork stands out at night.</p>loop #5 <p>Commands 5 to 7 advance every part along a closed 154-tick figure-eight: straight crossings at <code>0.38</code> blocks per tick alternate with 54-tick 270-degree clockwise and counter-clockwise loops.</p>loop #8 <p>Commands 8 to 11 alternate each left and right iron leg between a lifted forward reach and a planted backward push every 6 ticks using <code>interpolation_duration:6</code>, producing a phase-shifted wave down all 30 segments.</p>loop #14 <p>Spawns segments 2 through 30 one per tick as passengers on a 1-tick <code>area_effect_cloud</code>, which automatically dismounts each new copper body and iron leg pair at the origin so every segment stays evenly spaced.</p>


Recorded on our own test server: 58 frames at about 9.5 fps. Our image check saw: A multi-segmented mechanical centipede made of copper, gold, and iron blocks curves smoothly across a flat grass platform.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
/kill @e[tag=c9_part]/scoreboard objectives remove c9_sys/scoreboard objectives remove c9_t/scoreboard objectives remove c9_wEach segment spawns one tick after the previous one so they naturally space themselves 0.38 blocks apart along the path and inherit a 1-tick phase offset for the leg wave.
No. The straight speed (0.38) and turning speed (0.3816) are balanced against the 5-degree turn angle so both loops close back at the center on every 154-tick cycle.
▶Clumsy AutomatonCreatures & ModelsMedium24 cmds
▶Cybernetic Eye Dilating Laser ScanCreatures & ModelsMedium24 cmds
▶Autonomous Strider AutomatonCreatures & ModelsHard24 cmds
▶Kinematic Galloping ConstructCreatures & ModelsExpert24 cmds
▶Striding Cybernetic TitanCreatures & ModelsExpert24 cmds
▶Clockwork Peacock Tail FanningCreatures & ModelsExpert24 cmds