Kinetic Sliding Vault Gate

Build a multi-layered sliding vault door using block_display entities with smooth transformation interpolation, rotating gears, and steam particles.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A multi-layered Minecraft vault door with glowing orange grates and gears opens to reveal a gold room. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard players set #tick c9_t 0
  3. /fill ~-6 ~ ~-2 ~6 ~8 ~4 deepslate_bricks
  4. /fill ~-4 ~1 ~-2 ~4 ~6 ~3 air
  5. /fill ~-3 ~1 ~2 ~3 ~5 ~3 gold_block
  6. /fill ~-5 ~ ~-1 ~5 ~7 ~-1 chiseled_deepslate
  7. /fill ~-4 ~1 ~-1 ~4 ~6 ~-1 air
  8. /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]}}
  9. /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]}}
  10. /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]}}

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

  1. /scoreboard players add #tick c9_t 1
  2. /execute if score #tick c9_t matches 140.. run scoreboard players set #tick c9_t 0
  3. /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]}}
  4. /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]}}
  5. /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]}}
  6. /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]}}
  7. /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]}}
  8. /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]}}
  9. /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]}}
  10. /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]}}
  11. /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]}}
  12. /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
  13. /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
  14. /execute if score #tick c9_t matches 95 run kill @e[tag=c9_left_plate]

How it works

Frames from the test run

Kinetic Sliding Vault Gate - frame 1Kinetic Sliding Vault Gate - frame 2Kinetic Sliding Vault Gate - frame 3

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.

Build it in your world

  1. Stand at the center of a flat open area where you want the vault gate to appear.
  2. Run each of the 10 setup commands once in chat or via an impulse command block to build the vault frame and primary door panels.
  3. Place 14 command blocks in a connected chain: the first set to Repeat, Unconditional, Always Active, and the remaining 13 set to Chain, Unconditional, Always Active.
  4. Paste the 14 loop commands in order into the command blocks.
  5. Watch the locking gears rotate out of the way before the copper grates and stone blast doors glide open.

Use it with real players

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.

Remove it again 3 commands

  1. /kill @e[tag=c9_gate]
  2. /fill ~-6 ~ ~-2 ~6 ~8 ~4 air
  3. /scoreboard objectives remove c9_t

FAQ

Can players walk through the block_display door panels when they are closed?

Yes, 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.

How do I change the speed of the sliding doors?

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.

Commands used

/data/execute/fill/kill/particle/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides