Colossal Mechanical Vault Gate

Build a ten-block tall mechanical vault gate in vanilla Minecraft using block displays that rotate a golden lock, retract copper bars, and slide open.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A massive mechanical vault gate framed in deepslate bricks opens to reveal glowing treasure blocks inside. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialTechnologyRoyalGoldGreenPurpleAdventure MapMap MakingServer LobbyBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)21+ commands

This command creation builds a ten-block tall mechanical vault gate framed in deepslate bricks and copper. Instead of static blocks, the door panels, four heavy copper locking bars, and a glowing central golden lock are made from smooth-moving block display entities.

When the mechanism triggers, the golden core rotates 90 degrees and sinks into the door while releasing steam particles. Next, the four copper locking bars slide outward into the frame, and the two massive reinforced door panels retract and part sideways to reveal a brightly lit treasure chamber filled with gold, emerald, and amethyst blocks.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_vt dummy
  2. /fill ~-7 ~ ~-5 ~7 ~11 ~1 deepslate_bricks
  3. /fill ~-5 ~1 ~-4 ~5 ~10 ~-1 sea_lantern
  4. /fill ~-4 ~1 ~-4 ~4 ~9 ~-1 gold_block
  5. /fill ~-3 ~2 ~-3 ~3 ~8 ~-1 amethyst_block
  6. /fill ~-2 ~3 ~-3 ~2 ~7 ~-1 emerald_block
  7. /fill ~-5 ~1 ~ ~5 ~10 ~1 air
  8. /summon block_display ~ ~ ~ {Tags:["c9_v","c9_v_dl"],brightness:{sky:15,block:15},interpolation_duration:20,block_state:{Name:"minecraft:reinforced_deepslate"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[5f,10f,1f],translation:[-5f,1f,-0.5f]}}
  9. /summon block_display ~ ~ ~ {Tags:["c9_v","c9_v_dr"],brightness:{sky:15,block:15},interpolation_duration:20,block_state:{Name:"minecraft:reinforced_deepslate"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[5f,10f,1f],translation:[0f,1f,-0.5f]}}
  10. /summon block_display ~ ~6 ~ {Tags:["c9_v","c9_v_core"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},interpolation_duration:20,block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.6f,2.6f,1.8f],translation:[-1.3f,-1.3f,-0.8f]}}

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

  1. /scoreboard players add #t c9_vt 1
  2. /execute if score #t c9_vt matches 160.. run scoreboard players set #t c9_vt 1
  3. /execute if score #t c9_vt matches 1 unless entity @e[tag=c9_v_bl] run summon block_display ~ ~ ~ {Tags:["c9_v","c9_v_bl"],Glowing:1b,glow_color_override:16744231,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4.8f,1.2f,1.4f],translation:[-5f,7.5f,-0.6f]}}
  4. /execute if score #t c9_vt matches 1 unless entity @e[tag=c9_v_bl2] run summon block_display ~ ~ ~ {Tags:["c9_v","c9_v_bl"],Glowing:1b,glow_color_override:16744231,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4.8f,1.2f,1.4f],translation:[-5f,3.3f,-0.6f]}}
  5. /execute if score #t c9_vt matches 1 unless entity @e[tag=c9_v_br] run summon block_display ~ ~ ~ {Tags:["c9_v","c9_v_br"],Glowing:1b,glow_color_override:16744231,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4.8f,1.2f,1.4f],translation:[0.2f,7.5f,-0.6f]}}
  6. /execute if score #t c9_vt matches 1 unless entity @e[tag=c9_v_br2] run summon block_display ~ ~ ~ {Tags:["c9_v","c9_v_br","c9_v_br2","c9_v_bl2"],Glowing:1b,glow_color_override:16744231,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[4.8f,1.2f,1.4f],translation:[0.2f,3.3f,-0.6f]}}
  7. /execute if score #t c9_vt matches 10 as @e[tag=c9_v_core] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0f,0f,0.7071f,0.7071f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.8f],translation:[0f,-1.13f,-1.2f]}}
  8. /execute if score #t c9_vt matches 10..80 run particle end_rod ~ ~6 ~0.8 4 4 0.3 0.05 6 force
  9. /execute if score #t c9_vt matches 28 as @e[tag=c9_v_bl] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,1.2f,1.4f],translation:[-5.4f,5.4f,-0.6f]}}
  10. /execute if score #t c9_vt matches 28 as @e[tag=c9_v_br] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,1.2f,1.4f],translation:[4.8f,5.4f,-0.6f]}}
  11. /execute if score #t c9_vt matches 45 as @e[tag=c9_v_dl] run data merge entity @s {start_interpolation:0,interpolation_duration:30,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,10f,1f],translation:[-5.5f,1f,-0.8f]}}
  12. /execute if score #t c9_vt matches 45 as @e[tag=c9_v_dr] run data merge entity @s {start_interpolation:0,interpolation_duration:30,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,10f,1f],translation:[4.9f,1f,-0.8f]}}
  13. /execute if score #t c9_vt matches 45..75 run particle cloud ~ ~1.5 ~0.5 4.5 0.3 0.2 0.03 12 force
  14. /execute if score #t c9_vt matches 135 as @e[tag=c9_v_dl] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[5f,10f,1f],translation:[-5f,1f,-0.5f]}}

How it works

Frames from the test run

Colossal Mechanical Vault Gate - frame 1Colossal Mechanical Vault Gate - frame 2Colossal Mechanical Vault Gate - frame 3

Recorded on our own test server: 57 frames at about 9.4 fps. Our image check saw: A large deepslate brick frame encloses a vault filled with emerald, amethyst, gold, and sea lantern blocks, while heavy reinforced deepslate door panels with a glowing golden core open and close with white particle effects.

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 facing north or south where you want the vault gate to appear.
  2. Run each of the 10 setup commands in order in chat (or place them in impulse command blocks) to build the deepslate frame, treasure vault interior, door panels, and central golden core.
  3. Place 14 repeating command blocks in a line or column nearby, set them all to Needs Redstone first, and paste one loop command into each block.
  4. Switch all 14 repeating command blocks to Always Active to start the automated mechanical opening cycle.
  5. Watch the golden lock turn and retract, followed by the four glowing copper bars and the massive twin vault doors sliding apart.

Use it with real players

To make the vault gate open only when a player walks up to it instead of cycling automatically, replace the first loop command with /execute if entity @a[distance=..10] if score #t c9_vt matches ..110 run scoreboard players add #t c9_vt 1 so the sequence advances and holds open while a player stands within 10 blocks.

Remove it again 3 commands

  1. /kill @e[tag=c9_v]
  2. /fill ~-7 ~ ~-5 ~7 ~11 ~1 air
  3. /scoreboard objectives remove c9_vt

FAQ

Why do the door panels slide smoothly instead of teleporting block by block?

They are block_display entities rather than placed blocks. Using the start_interpolation and interpolation_duration NBT tags tells Minecraft to animate the scale and translation smoothly over the specified number of ticks.

Can I walk through the vault doorway when it opens?

Yes! Because the doorway opening is filled with air blocks during setup and the moving doors are non-solid block_display entities, players can walk right into the treasure room once the panels slide open.

Commands used

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

Similar creations

Join 9Minecraft News & Guides