Articulated Centipede Mechanical Undulation

Watch a thirty-segment brass and iron mechanical centipede crawl in a smooth figure-eight with phase-shifted leg wave kinematics and golden sparks.

Java EditionHolograms & Display EntitiesExpert23 commandsTested on a real 26.2 & 26.3 server
A segmented copper and gold mechanical centipede with white iron legs curves across a dark grassy field. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_sys dummy
  2. /scoreboard objectives add c9_t dummy
  3. /scoreboard objectives add c9_w dummy
  4. /scoreboard players set #tick c9_sys 1
  5. /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]}
  6. /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]}
  7. /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]}
  8. /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]}
  9. /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]}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add @e[tag=c9_part] c9_t 1
  2. /scoreboard players set @e[tag=c9_part,scores={c9_t=154..}] c9_t 0
  3. /scoreboard players add @e[tag=c9_part] c9_w 1
  4. /scoreboard players set @e[tag=c9_part,scores={c9_w=12..}] c9_w 0
  5. /execute as @e[tag=c9_part] at @s if score @s c9_t matches 11..64 run tp @s ^ ^ ^0.3816 ~5 ~
  6. /execute as @e[tag=c9_part] at @s if score @s c9_t matches 88..141 run tp @s ^ ^ ^0.3816 ~-5 ~
  7. /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 ~ ~
  8. /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]}
  9. /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]}
  10. /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]}
  11. /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]}
  12. /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
  13. /scoreboard players add #tick c9_sys 1
  14. /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]}]}

How it works

Frames from the test run

Articulated Centipede Mechanical Undulation - frame 1Articulated Centipede Mechanical Undulation - frame 2Articulated Centipede Mechanical Undulation - frame 3

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.

Build it in your world

  1. Clear a flat 41x41 area of grass or stone and stand at the exact center block.
  2. Run all 9 setup commands once in chat (or from an impulse command block chain) to create the scoreboards and the armored head.
  3. Place 14 Repeating, Unconditional, Always Active command blocks underneath or beside the stage.
  4. Paste the 14 loop commands into the repeating command blocks in order so the tick advances cleanly.
  5. Wait about two seconds for all 30 segments to deploy and form the undulating figure-eight path.
  6. Run the remove commands whenever you want to clear the centipede and its scoreboards.

Remove it again 4 commands

  1. /kill @e[tag=c9_part]
  2. /scoreboard objectives remove c9_sys
  3. /scoreboard objectives remove c9_t
  4. /scoreboard objectives remove c9_w

FAQ

Why do the 30 segments take about 1.5 seconds to appear?

Each 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.

Does the centipede drift off the stage over time?

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.

Commands used

/data/execute/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides