Seamless Mechanical Vault Gateway

Build a smooth mechanical vault doorway in Minecraft using block display entities, complete with a rotating copper lock core and sliding blast panels.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A mechanical vault door with a copper lock sliding open inside a deepslate frame. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialTechnologyBlackBlueOrangeAdventure MapMap MakingDecorationParticlesBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsGlowing outlines21+ commands

Traditional piston doors move in sudden, single-block steps. By combining a solid deepslate outer frame with scaled block_display entities for the moving parts, this creation builds a vault doorway that opens with smooth, continuous motion.

A central glowing copper lock twists and retracts upward before the two heavy iron blast doors slide into the surrounding walls, releasing bursts of electric sparks and ominous particles as the portal opens.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-5 ~ ~-1 ~5 ~6 ~1 deepslate_tiles
  3. /fill ~-2 ~1 ~-1 ~2 ~5 ~1 air
  4. /fill ~-4 ~1 ~ ~-4 ~5 ~ oxidized_cut_copper
  5. /fill ~4 ~1 ~ ~4 ~5 ~ oxidized_cut_copper
  6. /fill ~-2 ~ ~ ~2 ~ ~ sea_lantern
  7. /summon marker ~ ~3 ~ {Tags:["c9_ent","c9_ctrl"]}
  8. /summon block_display ~ ~1 ~ {Tags:["c9_ent","c9_left"],interpolation_duration:20,Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-2.0f,0.0f,-0.4f],scale:[2.0f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  9. /summon block_display ~ ~1 ~ {Tags:["c9_ent","c9_right"],interpolation_duration:20,Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{translation:[0.0f,0.0f,-0.4f],scale:[2.0f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  10. /summon block_display ~ ~3 ~ {Tags:["c9_ent","c9_core"],interpolation_duration:15,Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_copper_bulb",Properties:{lit:"true"}},transformation:{translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}

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

  1. /scoreboard players add @e[tag=c9_ctrl] c9_tick 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 110.. run scoreboard players set @e[tag=c9_ctrl] c9_tick 0
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 5 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,transformation:{translation:[0.0f,-0.85f,-0.6f],scale:[1.2f,1.2f,1.2f],left_rotation:[0.0f,0.0f,0.7071f,0.7071f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 20 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,transformation:{translation:[0.0f,1.8f,-0.6f],scale:[0.5f,0.5f,1.2f],left_rotation:[0.0f,0.0f,0.7071f,0.7071f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 25 as @e[tag=c9_left] run data merge entity @s {start_interpolation:0,transformation:{translation:[-3.95f,0.0f,-0.4f],scale:[0.3f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  6. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 25 as @e[tag=c9_right] run data merge entity @s {start_interpolation:0,transformation:{translation:[3.65f,0.0f,-0.4f],scale:[0.3f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  7. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 70 as @e[tag=c9_left] run data merge entity @s {start_interpolation:0,transformation:{translation:[-2.0f,0.0f,-0.4f],scale:[2.0f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  8. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 70 as @e[tag=c9_right] run data merge entity @s {start_interpolation:0,transformation:{translation:[0.0f,0.0f,-0.4f],scale:[2.0f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  9. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 88 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,transformation:{translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  10. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 5..45 run particle electric_spark ~ ~3 ~ 1.8 1.8 0.5 0.1 8
  11. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 25..70 run particle soul_fire_flame ~ ~2.5 ~ 1.2 1.5 0.3 0.02 6
  12. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 5 run playsound block.vault.activate master @a ~ ~3 ~ 1.5 0.7
  13. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 25 run playsound block.iron_door.open master @a ~ ~3 ~ 1.5 0.5
  14. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 70 run playsound block.iron_door.close master @a ~ ~3 ~ 1.5 0.5

How it works

Frames from the test run

Seamless Mechanical Vault Gateway - frame 1Seamless Mechanical Vault Gateway - frame 2Seamless Mechanical Vault Gateway - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A deepslate brick frame holds two iron doors with a glowing blue outline and a central copper bulb lock that retracts upward as the doors slide into the walls with soul fire flame particles.

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 on a flat open area where you want the centre of the vault doorway to be.
  2. Run each command from the setup list once in chat or in an impulse command block positioned at the stage centre.
  3. Place 14 repeating command blocks set to Always Active (or chain them off one repeating command block).
  4. Paste one loop command into each block, making sure they execute relative to the exact same centre position.
  5. Watch the central copper lock rotate and retract while the iron blast doors smoothly slide open and closed.

Use it with real players

To make the vault open only when a player approaches instead of looping on a timer, replace the first two scoreboard timer commands with a proximity check such as /execute if entity @a[distance=..5] to trigger the open states (ticks 5, 20, and 25), and /execute unless entity @a[distance=..5] to trigger the closing states (ticks 70 and 88). Note that block_display entities are non-solid visuals; if you want physical collision when closed, fill the doorway with barrier blocks when closed and clear them to air when opened.

Remove it again 4 commands

  1. /kill @e[tag=c9_ent]
  2. /fill ~-5 ~ ~-1 ~5 ~6 ~1 air
  3. /fill ~-2 ~ ~ ~2 ~ ~ grass_block
  4. /scoreboard objectives remove c9_tick

FAQ

Can players walk through the blast panels while they are closed?

Yes, block_display entities do not have hitboxes by default. If you want to block players while the door is closed, place barrier blocks inside the frame during the closed phase and replace them with air during the open phase.

How do I make the door open faster or slower?

Change the interpolation_duration tag on the three block_display entities in the setup commands. Lower numbers make the panels slide faster, while higher numbers make the motion slower.

Commands used

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

Similar creations

Join 9Minecraft News & Guides