Seamless Sliding Vault Gate

Build a smooth-gliding copper and gold vault door using block_display transformation interpolation, revealing a glowing emerald and gold treasury from both sides.

Java EditionHolograms & Display EntitiesEasy24 commandsTested on a real 26.2 & 26.3 server
Twin copper vault doors slide open with steam particles to reveal a glowing emerald treasury inside. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialRoyalOrangeGoldGreenMap MakingAdventure MapDecorationBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Sounds21+ commands

Standard redstone piston doors snap from block to block, which can look choppy in large builds. This creation uses scaled block_display entities and built-in transformation interpolation to glide two heavy vault panels smoothly apart, revealing a glowing treasury inside.

As the copper and gold lock spins and retracts, steam particles hiss from the seam and the twin doors slide smoothly into the stone archway. The open-arch treasury design lets you see the golden core clearly from any angle before the blast doors seal shut again.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_vault dummy
  2. /scoreboard players set timer c9_vault 0
  3. /fill ~-6 ~ ~-2 ~6 ~6 ~2 deepslate_tiles
  4. /fill ~-5 ~1 ~-2 ~5 ~5 ~2 sea_lantern
  5. /fill ~-4 ~1 ~-2 ~4 ~5 ~2 air
  6. /fill ~-2 ~ ~-1 ~2 ~ ~1 gold_block
  7. /setblock ~ ~1 ~ emerald_block
  8. /summon block_display ~ ~1 ~ {Tags:["c9_gate","c9_left"],Glowing:1b,glow_color_override:16755200,interpolation_duration:25,brightness:{sky:15,block:15},block_state:{Name:"minecraft:chiseled_copper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4f,5f,1.4f],translation:[-4f,0f,-0.7f]}}
  9. /summon block_display ~ ~1 ~ {Tags:["c9_gate","c9_right"],Glowing:1b,glow_color_override:16755200,interpolation_duration:25,brightness:{sky:15,block:15},block_state:{Name:"minecraft:chiseled_copper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4f,5f,1.4f],translation:[0f,0f,-0.7f]}}
  10. /summon block_display ~ ~3.5 ~ {Tags:["c9_gate","c9_lock"],Glowing:1b,glow_color_override:16776960,interpolation_duration:15,brightness:{sky:15,block:15},block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,2.0f],translation:[-0.8f,-0.8f,-1.0f]}}

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

  1. /scoreboard players add timer c9_vault 1
  2. /execute if score timer c9_vault matches 110.. run scoreboard players set timer c9_vault 0
  3. /execute if score timer c9_vault matches 5 run data merge entity @e[type=block_display,tag=c9_lock,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0.707f,0.707f],right_rotation:[0f,0f,0f,1f],scale:[1.1f,1.1f,2.0f],translation:[0f,-0.78f,-1.0f]}}
  4. /execute if score timer c9_vault matches 5 run playsound block.vault.activate master @a ~ ~3 ~ 1 0.8
  5. /execute if score timer c9_vault matches 18 run data merge entity @e[type=block_display,tag=c9_left,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,5f,1.4f],translation:[-5.2f,0f,-0.7f]}}
  6. /execute if score timer c9_vault matches 18 run data merge entity @e[type=block_display,tag=c9_right,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,5f,1.4f],translation:[4.0f,0f,-0.7f]}}
  7. /execute if score timer c9_vault matches 18 run data merge entity @e[type=block_display,tag=c9_lock,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0.707f,0.707f],right_rotation:[0f,0f,0f,1f],scale:[0.01f,0.01f,0.01f],translation:[0f,0f,0f]}}
  8. /execute if score timer c9_vault matches 18 run playsound block.iron_door.open master @a ~ ~3 ~ 1 0.5
  9. /execute if score timer c9_vault matches 15..45 run particle cloud ~ ~3.5 ~ 0.2 1.8 1.5 0.04 5 force
  10. /execute if score timer c9_vault matches 20..75 run particle totem_of_undying ~ ~2.5 ~ 2.0 1.2 1.5 0.1 6 force
  11. /execute if score timer c9_vault matches 70 run data merge entity @e[type=block_display,tag=c9_left,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4f,5f,1.4f],translation:[-4f,0f,-0.7f]}}
  12. /execute if score timer c9_vault matches 70 run data merge entity @e[type=block_display,tag=c9_right,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4f,5f,1.4f],translation:[0f,0f,-0.7f]}}
  13. /execute if score timer c9_vault matches 70 run playsound block.iron_door.close master @a ~ ~3 ~ 1 0.5
  14. /execute if score timer c9_vault matches 90 run data merge entity @e[type=block_display,tag=c9_lock,limit=1] {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,2.0f],translation:[-0.8f,-0.8f,-1.0f]}}

How it works

Frames from the test run

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

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: Two large copper vault doors with a gold lock slide smoothly apart with steam particles, revealing an emerald block on gold floor inside a stone frame.

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 area where you want your vault archway to appear.
  2. Run each of the 10 setup commands in chat one by one to construct the deepslate and sea lantern frame, the treasure pedestal, and the three glowing block_display door parts.
  3. Place a repeating command block set to Always Active and paste the first loop command into it.
  4. Chain the remaining 13 loop commands into Always Active chain command blocks connected to the repeating block.
  5. Watch the gold lock twist and retract while the copper panels glide smoothly open and closed on a continuous cycle.

Use it with real players

To make the vault open automatically only when a player approaches, remove the first two timer loop commands and instead run the opening /data merge commands inside /execute if entity @a[distance=..6], and the closing commands inside /execute unless entity @a[distance=..6]. Add a row of barrier blocks across the doorway when closed and replace them with air when open so players can walk through.

Remove it again 3 commands

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

FAQ

Can players walk directly through block_display entities?

Yes, block_display entities are purely visual and have no collision hitbox. If you want the closed door to block players in survival, fill the doorway with barrier blocks while closed and clear them with air while open.

How do I make the vault doors slide faster or slower?

Change the interpolation_duration value on the summoned block_display entities in the setup commands. A higher number of ticks makes the sliding motion slower and heavier.

Commands used

/data/execute/fill/particle/playsound/scoreboard/setblock/summon

Similar creations

Join 9Minecraft News & Guides