Hydraulic Transformers Mecha Conversion

A stationary futuristic semi-truck built from block displays violently shifts panels, folds wheels into its calves, and rises into a giant glowing battle mech.

Java EditionComplex Contraptions & CinematicsExpert24 commandsTested on a real 26.2 & 26.3 server
A glowing block display semi-truck transforms into a standing bipedal robot in Minecraft at night. Download the GIF Video & GIF © www.9minecraft.net

TransformationsTechnologyIndustrialRedBlueBlackCinematicBoss FightMap MakingBlock displaysSmooth animation (interpolation)21+ commands

Watch a heavy semi-truck made of glowing block displays unlock its hydraulic clamps and smoothly fold into a towering bipedal robot. Every part of the truck—from the red cab chest and blue rear chassis to the four obsidian tires and dual golden exhaust pipes—rotates and interpolates in real time using display entity transformation matrices.

Steam bursts from the pistons, anvil clangs echo as the joints lock into place, and an energon power core ignites in the chest once the mech reaches full height before folding back into vehicle mode on an endless loop.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard players set #tick c9_timer 0
  3. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_cab"],Glowing:1b,glow_color_override:16724787,block_state:{Name:"minecraft:red_concrete"},transformation:{translation:[-1.5f,0.6f,-2.5f],scale:[3.0f,2.2f,2.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  4. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_glass"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{translation:[-1.3f,1.5f,-2.65f],scale:[2.6f,1.0f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_leg_l"],Glowing:1b,glow_color_override:3368703,block_state:{Name:"minecraft:blue_concrete"},transformation:{translation:[-1.4f,0.6f,0.0f],scale:[1.3f,1.2f,4.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_leg_r"],Glowing:1b,glow_color_override:3368703,block_state:{Name:"minecraft:blue_concrete"},transformation:{translation:[0.1f,0.6f,0.0f],scale:[1.3f,1.2f,4.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  7. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_arm_l"],Glowing:1b,glow_color_override:16733525,block_state:{Name:"minecraft:red_nether_bricks"},transformation:{translation:[-2.1f,0.8f,-2.0f],scale:[0.7f,1.6f,2.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  8. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_arm_r"],Glowing:1b,glow_color_override:16733525,block_state:{Name:"minecraft:red_nether_bricks"},transformation:{translation:[1.4f,0.8f,-2.0f],scale:[0.7f,1.6f,2.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_head"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.6f,1.2f,-1.5f],scale:[1.2f,1.2f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /summon block_display ~ ~ ~ {Tags:["c9_mech","c9_wheel_fl"],block_state:{Name:"minecraft:obsidian"},transformation:{translation:[-1.85f,0.0f,-2.0f],scale:[0.5f,1.3f,1.3f],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 unless entity @e[tag=c9_wheel_fr] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_wheel_fr"],block_state:{Name:"minecraft:obsidian"},transformation:{translation:[1.35f,0.0f,-2.0f],scale:[0.5f,1.3f,1.3f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  2. /execute unless entity @e[tag=c9_wheel_bl] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_wheel_bl"],block_state:{Name:"minecraft:obsidian"},transformation:{translation:[-1.75f,0.0f,1.8f],scale:[0.5f,1.3f,1.3f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  3. /execute unless entity @e[tag=c9_wheel_br] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_wheel_br"],block_state:{Name:"minecraft:obsidian"},transformation:{translation:[1.25f,0.0f,1.8f],scale:[0.5f,1.3f,1.3f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  4. /execute unless entity @e[tag=c9_pipe_l] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_pipe_l"],Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-1.7f,1.0f,-0.4f],scale:[0.4f,3.2f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /execute unless entity @e[tag=c9_pipe_r] run summon block_display ~ ~ ~ {Tags:["c9_mech","c9_pipe_r"],Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[1.3f,1.0f,-0.4f],scale:[0.4f,3.2f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /scoreboard players add #tick c9_timer 1
  7. /execute if score #tick c9_timer matches 160.. run scoreboard players set #tick c9_timer 1
  8. /execute if score #tick c9_timer matches 20 as @e[tag=c9_leg_l] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{translation:[-1.7f,0.0f,-0.6f],scale:[1.5f,5.5f,1.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /execute if score #tick c9_timer matches 20 as @e[tag=c9_leg_r] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{translation:[0.2f,0.0f,-0.6f],scale:[1.5f,5.5f,1.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /execute if score #tick c9_timer matches 20 as @e[tag=c9_cab] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{translation:[-2.0f,5.5f,-1.1f],scale:[4.0f,3.6f,2.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  11. /execute if score #tick c9_timer matches 20 as @e[tag=c9_glass] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{translation:[-1.7f,6.4f,-1.3f],scale:[3.4f,1.8f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  12. /execute if score #tick c9_timer matches 25 as @e[tag=c9_arm_l] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{translation:[-3.4f,4.2f,-0.7f],scale:[1.3f,4.5f,1.3f],left_rotation:[0.15f,0f,-0.1f,0.98f],right_rotation:[0f,0f,0f,1f]}}
  13. /execute if score #tick c9_timer matches 25 as @e[tag=c9_arm_r] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{translation:[2.1f,4.2f,-0.7f],scale:[1.3f,4.5f,1.3f],left_rotation:[-0.25f,0f,0.1f,0.96f],right_rotation:[0f,0f,0f,1f]}}
  14. /execute if score #tick c9_timer matches 30 as @e[tag=c9_head] run data merge entity @s {start_interpolation:0,interpolation_duration:30,transformation:{translation:[-0.8f,9.1f,-0.8f],scale:[1.6f,1.6f,1.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}

How it works

Frames from the test run

Hydraulic Transformers Mecha Conversion - frame 1Hydraulic Transformers Mecha Conversion - frame 2Hydraulic Transformers Mecha Conversion - frame 3

Recorded on our own test server: 45 frames at about 8.9 fps. Our image check saw: A semi-truck made of glowing red, blue, and obsidian block displays unfolds and transforms into a standing bipedal robot with a sea lantern head.

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. Run each command in the Setup list once in chat while standing at the center of your stage.
  2. Place a line of 14 Repeating Command Blocks set to Always Active.
  3. Paste one Loop command into each repeating command block in order.
  4. Watch the semi-truck automatically transform into a battle mech!
  5. To reset or remove the mech, run the cleanup commands below.

Use it with real players

To let a player trigger the conversion on demand instead of looping automatically, replace the timer reset at tick 160 with a check for a player holding a lever or custom item: /execute if entity @a[distance=..15,nbt={SelectedItem:{id:"minecraft:lever"}}] run scoreboard players add #tick c9_timer 1.

Remove it again 2 commands

  1. /kill @e[tag=c9_mech]
  2. /scoreboard objectives remove c9_timer

FAQ

Why does the truck transform so smoothly without teleporting?

Block display entities support built-in client-side interpolation (`interpolation_duration:35`), allowing Minecraft to smoothly animate scale, translation, and rotation between two keyframes.

Will this lag my server?

No, the entire mech uses only 13 block display entities and updates their NBT data only at specific tick keyframes.

Commands used

/data/execute/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides