Build a towering walking mech in vanilla Minecraft using block display entities that smoothly swings its legs, bobs its iron chassis, and sweeps a red scanner.
Moving StructuresTechnologyIndustrialWhiteRedBlueCinematicBoss FightMap MakingBlock displaysArmor standsSmooth animation (interpolation)Rotation math21+ commands
Watch a towering robotic walker patrol your world completely on its own. Built from scaled block_display entities attached to an invisible controller, this mech smoothly swings its massive legs, bobs its heavy iron chassis, and sweeps the ground ahead with a glowing red scanner visor.
With every heavy footstep, dust clouds and dirt chunks fly up from the ground while blue exhaust flames vent from its rear engines and shoulder-mounted cannons lock onto targets.
/scoreboard objectives add c9_tick dummy/summon armor_stand ~ ~ ~-3.5 {Tags:["c9_mech","c9_core"],Invisible:1b,NoGravity:1b,Rotation:[-90f,0f]}/summon block_display ~ ~ ~ {Tags:["c9_mech","c9_torso"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:9,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-1.6f,2.6f,-1.1f],scale:[3.2f,3.0f,2.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~ ~ {Tags:["c9_mech","c9_visor"],Glowing:1b,glow_color_override:16711680,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:9,block_state:{Name:"minecraft:redstone_block"},transformation:{translation:[-1.2f,4.3f,0.2f],scale:[2.4f,0.7f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~ ~ {Tags:["c9_mech","c9_core_glow"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:9,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.7f,3.1f,-1.3f],scale:[1.4f,1.4f,2.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~ ~ {Tags:["c9_mech","c9_l_leg"],Glowing:1b,glow_color_override:16753920,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:9,block_state:{Name:"minecraft:netherite_block"},transformation:{translation:[-2.5f,0.0f,-0.6f],scale:[1.0f,2.8f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~ ~ {Tags:["c9_mech","c9_r_leg"],Glowing:1b,glow_color_override:16753920,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:9,block_state:{Name:"minecraft:netherite_block"},transformation:{translation:[1.5f,0.0f,-0.6f],scale:[1.0f,2.8f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~ ~ {Tags:["c9_mech","c9_l_gun"],Glowing:1b,glow_color_override:11184810,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:9,block_state:{Name:"minecraft:polished_deepslate"},transformation:{translation:[-2.7f,3.8f,-0.8f],scale:[1.1f,1.1f,3.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~ ~ {Tags:["c9_mech","c9_r_gun"],Glowing:1b,glow_color_override:11184810,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:9,block_state:{Name:"minecraft:polished_deepslate"},transformation:{translation:[1.6f,3.8f,-0.8f],scale:[1.1f,1.1f,3.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add @e[tag=c9_core] c9_tick 1/execute as @e[tag=c9_core,scores={c9_tick=20..}] run scoreboard players set @s c9_tick 0/execute as @e[tag=c9_core] at @s run tp @s ^ ^ ^0.18 ~3.0 ~/execute as @e[tag=c9_core] at @s run tp @e[tag=c9_mech,tag=!c9_core] ~ ~ ~ ~ ~/execute as @e[tag=c9_core,scores={c9_tick=1}] run execute as @e[tag=c9_l_leg] run data merge entity @s {start_interpolation:0,transformation:{translation:[-2.5f,0.5f,0.9f],scale:[1.0f,2.8f,1.2f],left_rotation:[-0.28f,0f,0f,0.96f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_core,scores={c9_tick=1}] run execute as @e[tag=c9_r_leg] run data merge entity @s {start_interpolation:0,transformation:{translation:[1.5f,0.0f,-1.1f],scale:[1.0f,2.8f,1.2f],left_rotation:[0.25f,0f,0f,0.968f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_core,scores={c9_tick=11}] run execute as @e[tag=c9_l_leg] run data merge entity @s {start_interpolation:0,transformation:{translation:[-2.5f,0.0f,-1.1f],scale:[1.0f,2.8f,1.2f],left_rotation:[0.25f,0f,0f,0.968f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_core,scores={c9_tick=11}] run execute as @e[tag=c9_r_leg] run data merge entity @s {start_interpolation:0,transformation:{translation:[1.5f,0.5f,0.9f],scale:[1.0f,2.8f,1.2f],left_rotation:[-0.28f,0f,0f,0.96f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_core,scores={c9_tick=1}] run execute as @e[tag=c9_torso] run data merge entity @s {start_interpolation:0,transformation:{translation:[-1.6f,2.85f,-1.1f],scale:[3.2f,3.0f,2.2f],left_rotation:[0f,0f,0.04f,0.999f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_core,scores={c9_tick=11}] run execute as @e[tag=c9_torso] run data merge entity @s {start_interpolation:0,transformation:{translation:[-1.6f,2.5f,-1.1f],scale:[3.2f,3.0f,2.2f],left_rotation:[0f,0f,-0.04f,0.999f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_core,scores={c9_tick=9}] at @s run particle block{block_state:{Name:"minecraft:grass_block"}} ^2.0 ^0.1 ^0.5 0.5 0.2 0.5 0.15 45 force/execute as @e[tag=c9_core,scores={c9_tick=19}] at @s run particle block{block_state:{Name:"minecraft:grass_block"}} ^-2.0 ^0.1 ^0.5 0.5 0.2 0.5 0.15 45 force/execute as @e[tag=c9_core] at @s run particle dust{color:[1.0,0.05,0.05],scale:2.5} ^ ^4.6 ^2.6 1.2 0.1 0.8 0 10 force/execute as @e[tag=c9_core] at @s run particle soul_fire_flame ^ ^3.8 ^-1.6 0.4 0.3 0.3 0.04 5 forcesetup #2 Summons the invisible armor stand controller tagged <code>c9_core</code> slightly off-center so that its circular patrol path stays centered on the stage.setup #6 Summons the left netherite leg using lowercase block names and full sky/block brightness so the dark armor remains clearly visible at any time of day.loop #3 Moves the core controller forward by 0.18 blocks and rotates it 3 degrees per tick using single-target relative teleport syntax, creating a smooth 3.5-block radius patrol circle.loop #5 At tick 1 of the walk cycle, swings the left leg forward and tilts it upward using quaternion <code>left_rotation</code> while <code>interpolation_duration:9</code> blends the motion smoothly over 9 ticks.loop #9 Heaves the main iron torso up and tilts it slightly side-to-side with each stride to give the mech realistic weight.loop #13 Projects a wide red laser scanner field in front of the visor using red dust particles positioned with local coordinates.


Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A blocky iron and netherite mech with glowing outlines walks across a grassy field while emitting red particles, blue flames, and dirt chunks.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To pilot the mech yourself instead of having it patrol in a circle, replace loop command 3 with /execute as @e[tag=c9_core] at @s facing entity @p eyes run tp @s ^ ^ ^0.18 ~ ~ so the mech turns and walks toward wherever you stand, or teleport @e[tag=c9_core] directly to a riding player's position and rotation.
/kill @e[tag=c9_mech]/scoreboard objectives remove c9_tickEach block_display part has interpolation_duration set to 9 ticks and teleport_duration set to 2 ticks. Whenever start_interpolation:0 is merged into the entity every 10 ticks, Minecraft smoothly blends the position, scale, and rotation over the next half second.
To make the patrol circle wider, decrease the ~3.0 rotation angle in the third loop command (for example, ~1.5 doubles the radius). To scale the mech itself, adjust the scale and translation arrays inside the setup and loop transformation NBT.
▶Victorian Zoetrope Animation CarouselMoving StructuresMedium22 cmds
▶Pneumatic Bank Vault Time-Lock UnboltingMoving StructuresHard24 cmds
▶Steampunk Dirigible Mooring Mast DockingMoving StructuresExpert24 cmds
▶Steampunk Leviathan Breach & SubmergeMoving StructuresExpert23 cmds
▶Art Deco Skyscraper Spire TelescopingMoving StructuresHard24 cmds
▶Colossal Automaton StrideMoving StructuresExpert23 cmds