Build a multi-layered sliding vault door using block_display entities with smooth transformation interpolation, rotating gears, and steam particles.
Machines & MechanismsIndustrialTechnologyOrangeGoldBlackMap MakingAdventure MapDecorationBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Glowing outlines21+ commands
Traditional piston doors in Minecraft move one rough block at a time. This creation uses block_display entities and transformation interpolation to build a smooth, multi-layered mechanical vault gate. Separate layers of stone doors, copper grates, and glowing locking gears glide apart at different speeds to reveal a gold vault inside.
As the mechanism unlocks, the central gears rotate and retract vertically while vents release bursts of smoke and flame particles across the frame.
/scoreboard objectives add c9_t dummy/scoreboard players set #tick c9_t 0/fill ~-6 ~ ~-2 ~6 ~8 ~4 deepslate_bricks/fill ~-4 ~1 ~-2 ~4 ~6 ~3 air/fill ~-3 ~1 ~2 ~3 ~5 ~3 gold_block/fill ~-5 ~ ~-1 ~5 ~7 ~-1 chiseled_deepslate/fill ~-4 ~1 ~-1 ~4 ~6 ~-1 air/summon block_display ~ ~1 ~ {Tags:["c9_gate","c9_left_main"],brightness:{sky:15,block:15},interpolation_duration:30,block_state:{Name:"minecraft:polished_blackstone_bricks"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4.0f,6.0f,0.9f],translation:[-4.0f,0.0f,-1.45f]}}/summon block_display ~ ~1 ~ {Tags:["c9_gate","c9_right_main"],brightness:{sky:15,block:15},interpolation_duration:30,block_state:{Name:"minecraft:polished_blackstone_bricks"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4.0f,6.0f,0.9f],translation:[0.0f,0.0f,-1.45f]}}/summon block_display ~ ~1 ~ {Tags:["c9_gate","c9_gear_top"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},interpolation_duration:15,block_state:{Name:"minecraft:lodestone"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.4f],translation:[-0.8f,3.2f,-1.7f]}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 140.. run scoreboard players set #tick c9_t 0/execute if score #tick c9_t matches 1 unless entity @e[tag=c9_left_plate] run summon block_display ~ ~1 ~ {Tags:["c9_gate","c9_left_plate"],Glowing:1b,glow_color_override:16744231,brightness:{sky:15,block:15},interpolation_duration:22,block_state:{Name:"minecraft:waxed_copper_grate"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.5f,4.8f,1.15f],translation:[-2.5f,0.6f,-1.57f]}}/execute if score #tick c9_t matches 1 unless entity @e[tag=c9_right_plate] run summon block_display ~ ~1 ~ {Tags:["c9_gate","c9_right_plate"],Glowing:1b,glow_color_override:16744231,brightness:{sky:15,block:15},interpolation_duration:22,block_state:{Name:"minecraft:waxed_copper_grate"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.5f,4.8f,1.15f],translation:[0.0f,0.6f,-1.57f]}}/execute if score #tick c9_t matches 1 unless entity @e[tag=c9_gear_bot] run summon block_display ~ ~1 ~ {Tags:["c9_gate","c9_gear_bot"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},interpolation_duration:15,block_state:{Name:"minecraft:lodestone"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.4f],translation:[-0.8f,1.2f,-1.7f]}}/execute if score #tick c9_t matches 10 run data merge entity @e[tag=c9_gear_top,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0.3826834f,0.9238795f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,1.4f],translation:[0.0f,4.5f,-1.7f]}}/execute if score #tick c9_t matches 10 run data merge entity @e[tag=c9_gear_bot,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,-0.3826834f,0.9238795f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,1.4f],translation:[0.0f,-0.1f,-1.7f]}}/execute if score #tick c9_t matches 20 run data merge entity @e[tag=c9_left_plate,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.5f,4.8f,1.15f],translation:[-5.8f,0.6f,-1.57f]}}/execute if score #tick c9_t matches 20 run data merge entity @e[tag=c9_right_plate,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.5f,4.8f,1.15f],translation:[3.3f,0.6f,-1.57f]}}/execute if score #tick c9_t matches 26 run data merge entity @e[tag=c9_left_main,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4.0f,6.0f,0.9f],translation:[-7.8f,0.0f,-1.45f]}}/execute if score #tick c9_t matches 26 run data merge entity @e[tag=c9_right_main,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4.0f,6.0f,0.9f],translation:[3.8f,0.0f,-1.45f]}}/execute if score #tick c9_t matches 10..60 run particle minecraft:campfire_cosy_smoke ~ ~1.2 ~-1.8 2.5 0.2 0.2 0.02 3 force/execute if score #tick c9_t matches 10..50 run particle minecraft:flame ~ ~3.5 ~-1.8 0.4 2.2 0.2 0.05 8 force/execute if score #tick c9_t matches 95 run kill @e[tag=c9_left_plate]setup #3 Builds the outer vault housing out of deepslate bricks, which is then hollowed out and filled with gold blocks in the back chamber.setup #8 Summons the left primary blast door using a block_display entity scaled to 4x6 blocks with a 30-tick interpolation duration for smooth sliding.loop #6 At tick 10, the top locking gear rotates 45 degrees on the Z axis using a quaternion rotation while sliding upward into the ceiling frame.loop #8 At tick 20, the outer copper grate shields begin sliding left and right faster than the inner stone doors, creating a layered parallax motion.loop #10 At tick 26, the heavy inner blackstone slabs slide open into the side walls, exposing the gold vault behind them.


Recorded on our own test server: 47 frames at about 9.4 fps. Our image check saw: A deepslate brick vault door slides open in multiple layers, revealing glowing orange copper grates, rotating gears, and a gold-walled interior.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To trigger the vault gate when a player approaches instead of on a repeating timer, replace the scoreboard clock in the first two loop commands with a proximity check: /execute if entity @a[distance=..6] run scoreboard players add #tick c9_t 1, and reset or reverse the transformations when no player is within range.
/kill @e[tag=c9_gate]/fill ~-6 ~ ~-2 ~6 ~8 ~4 air/scoreboard objectives remove c9_tYes, block_display entities are purely visual and have no collision box. To block players when closed, you can fill the doorway with barrier blocks and clear them when the gate opens.
Change the interpolation_duration value on each block_display entity. Higher numbers make the doors glide more slowly, while lower numbers make them snap open faster.
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Kinetic Moiré Pattern Interference SculptureMachines & MechanismsMedium23 cmds