Autonomous Morphing Mech

Build a command-driven blue, red, and gold truck in Minecraft that autonomously transforms into a giant glowing 10-block-tall robotic mech warrior.

Java EditionComplex Contraptions & CinematicsHard24 commandsTested on a real 26.2 & 26.3 server
A custom block display robot mech with glowing gold and red parts stands on a grassy plain. Download the GIF Video & GIF © www.9minecraft.net

TransformationsTechnologyBlueRedGoldCinematicDecorationMap MakingBlock displaysSmooth animation (interpolation)21+ commands

The Autonomous Morphing Mech is a multi-part block_display creation that shifts between a heavy armored truck and a towering 10-block-tall robotic guardian right in the center of your world. Driven by a scoreboard clock and smooth matrix interpolation, each section of the vehicle—wheels, chassis, cabin, and gold armor—slides, rotates, and locks into place piece by piece.

In vehicle mode, it sits low to the ground as a compact blue, red, and gold truck with four blackstone tires. When the transformation cycle triggers, the chassis lifts skyward, the rear and front wheels fold inward to become reinforced boots and shin guards, the side panels swing down into massive articulated arms with gold gauntlets, and a glowing sea lantern head rises from the top while firing a forward plasma beam.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /summon marker ~ ~ ~ {Tags:["c9_core"]}
  3. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_pelvis"],Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-1.5f,1.0f,-2.0f],scale:[3.0f,1.0f,4.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  4. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_chest"],Glowing:1b,glow_color_override:255,block_state:{Name:"minecraft:blue_concrete"},transformation:{translation:[-1.5f,2.0f,-2.5f],scale:[3.0f,1.8f,5.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_core_chest"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.8f,2.2f,1.6f],scale:[1.6f,1.2f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_head"],Glowing:1b,glow_color_override:16711680,block_state:{Name:"minecraft:red_concrete"},transformation:{translation:[-1.0f,3.6f,-0.8f],scale:[2.0f,1.0f,2.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  7. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_visor"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.8f,3.8f,0.6f],scale:[1.6f,0.6f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  8. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_leg_l"],block_state:{Name:"minecraft:polished_blackstone"},transformation:{translation:[1.1f,0.0f,-2.2f],scale:[1.2f,1.6f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_leg_r"],block_state:{Name:"minecraft:polished_blackstone"},transformation:{translation:[-2.3f,0.0f,-2.2f],scale:[1.2f,1.6f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_shin_l"],block_state:{Name:"minecraft:polished_blackstone"},transformation:{translation:[1.1f,0.0f,0.6f],scale:[1.2f,1.6f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}

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

  1. /execute as @e[tag=c9_core,limit=1] run scoreboard players add @s c9_t 1
  2. /execute as @e[tag=c9_core,scores={c9_t=140..}] run scoreboard players set @s c9_t 1
  3. /execute if entity @e[tag=c9_core,scores={c9_t=1}] unless entity @e[tag=c9_shin_r] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_shin_r"],block_state:{Name:"minecraft:polished_blackstone"},transformation:{translation:[-2.3f,0.0f,0.6f],scale:[1.2f,1.6f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  4. /execute if entity @e[tag=c9_core,scores={c9_t=1}] unless entity @e[tag=c9_arm_l] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_arm_l"],Glowing:1b,glow_color_override:16711680,block_state:{Name:"minecraft:red_concrete"},transformation:{translation:[1.5f,1.6f,-2.0f],scale:[1.0f,1.6f,4.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /execute if entity @e[tag=c9_core,scores={c9_t=1}] unless entity @e[tag=c9_arm_r] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_arm_r"],Glowing:1b,glow_color_override:16711680,block_state:{Name:"minecraft:red_concrete"},transformation:{translation:[-2.5f,1.6f,-2.0f],scale:[1.0f,1.6f,4.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /execute if entity @e[tag=c9_core,scores={c9_t=1}] unless entity @e[tag=c9_fist_l] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_fist_l"],Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[1.4f,1.5f,0.8f],scale:[1.2f,1.4f,1.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  7. /execute if entity @e[tag=c9_core,scores={c9_t=1}] unless entity @e[tag=c9_fist_r] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_fist_r"],Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-2.6f,1.5f,0.8f],scale:[1.2f,1.4f,1.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  8. /execute if entity @e[tag=c9_core,scores={c9_t=15}] as @e[tag=c9_mech] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-2.0f,4.2f,-1.2f],scale:[4.0f,3.5f,2.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /execute if entity @e[tag=c9_core,scores={c9_t=16}] run execute as @e[tag=c9_pelvis] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{translation:[-1.4f,3.0f,-1.0f],scale:[2.8f,1.3f,2.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /execute if entity @e[tag=c9_core,scores={c9_t=17}] as @e[tag=c9_mech] run execute if entity @s[tag=c9_head] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-1.1f,7.7f,-1.1f],scale:[2.2f,2.2f,2.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  11. /execute if entity @e[tag=c9_core,scores={c9_t=18}] as @e[tag=c9_mech] run execute if entity @s[tag=c9_visor] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-0.9f,8.3f,-1.3f],scale:[1.8f,0.8f,2.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  12. /execute if entity @e[tag=c9_core,scores={c9_t=19}] as @e[tag=c9_mech] run execute if entity @s[tag=c9_core_chest] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-1.0f,5.2f,-1.4f],scale:[2.0f,1.8f,2.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  13. /execute if entity @e[tag=c9_core,scores={c9_t=20}] as @e[tag=c9_mech] run execute if entity @s[tag=c9_leg_l] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{translation:[0.5f,0.0f,-1.0f],scale:[1.5f,3.2f,2.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  14. /execute if entity @e[tag=c9_core,scores={c9_t=21}] as @e[tag=c9_mech] run execute if entity @s[tag=c9_leg_r] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{translation:[-2.0f,0.0f,-1.0f],scale:[1.5f,3.2f,2.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}

How it works

Frames from the test run

Autonomous Morphing Mech - frame 1Autonomous Morphing Mech - frame 2Autonomous Morphing Mech - frame 3

Recorded on our own test server: 46 frames at about 9.1 fps. Our image check saw: A multi-part block display robot figure made of gold, red, blue, and black blocks with glowing outlines shifts and transforms between a tall upright robot and a lower vehicle-like shape.

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. Create a flat clear area and stand at the exact center block where you want your mech to transform.
  2. Run each of the 10 setup commands in chat or in an impulse command block to create the scoreboard and assemble the initial armored truck.
  3. Place a line of 14 repeating command blocks (set to Always Active) near the stage.
  4. Paste one loop command into each repeating command block in order.
  5. Watch as the truck smoothly shifts its wheels, cabin, and armor plates upward into an upright glowing mech warrior.

Use it with real players

To let a player trigger the transformation manually instead of running on a loop, remove the second loop command and replace the first loop command with /execute if entity @a[distance=..8,nbt={SelectedItem:{id:"minecraft:redstone_torch"}}] as @e[tag=c9_core] run scoreboard players add @s c9_t 1 so holding a Redstone Torch nearby unfolds the mech.

Remove it again 3 commands

  1. /kill @e[tag=c9_mech]
  2. /kill @e[tag=c9_core]
  3. /scoreboard objectives remove c9_t

FAQ

Why does the mech use block_display entities instead of /clone?

Block display entities support smooth matrix interpolation, allowing the truck's wheels, chassis, and head to slide and stretch fluidly over 20 ticks rather than snapping block-by-block.

Can I change the colors of the mech armor?

Yes! Simply replace blue_concrete, red_concrete, or gold_block in the setup and loop summon commands with any block ID you prefer.

Commands used

/data/execute/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides