Cinematic Vault Opening with Rotating Lock Rings

Build a giant gilded blackstone vault door with concentric gold and oxidized copper lock rings that spin, spark, and slide open to reveal a treasure room.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
Gilded blackstone vault doors sliding open with a rotating gold lock mechanism and flying sparks. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialRoyalNetherBlackGoldGreenAdventure MapCinematicMap MakingBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands

Every grand dungeon or heist map deserves a memorable entrance to its treasure chamber. Instead of a basic piston door, this creation constructs a massive gilded blackstone vault door out of block display entities and plays a full mechanical unlocking sequence right in front of you.

Two concentric gold and oxidized copper lock rings spin on the front of the doors while throwing sparks and glowing dust. Once the lock aligns, a burst of energy triggers the heavy vault doors to slide smoothly apart, revealing a bright treasure room of gold and emerald blocks inside before resetting.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_time dummy
  2. /scoreboard players set #t c9_time 0
  3. /fill ~-6 ~ ~-3 ~6 ~8 ~2 polished_blackstone_bricks
  4. /fill ~-4 ~1 ~-2 ~4 ~7 ~2 air
  5. /fill ~-4 ~1 ~-2 ~4 ~7 ~-2 gold_block
  6. /fill ~-2 ~2 ~-2 ~2 ~6 ~-2 emerald_block
  7. /fill ~-5 ~ ~2 ~-5 ~8 ~2 gilded_blackstone
  8. /fill ~5 ~ ~2 ~5 ~8 ~2 gilded_blackstone
  9. /summon block_display ~ ~4 ~1.6 {Tags:["c9_v","c9_dl"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},interpolation_duration:2,block_state:{Name:"minecraft:gilded_blackstone"},transformation:{translation:[-4.0f,-3.0f,-0.4f],scale:[4.0f,6.0f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /summon block_display ~ ~4 ~1.6 {Tags:["c9_v","c9_dr"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},interpolation_duration:2,block_state:{Name:"minecraft:gilded_blackstone"},transformation:{translation:[0.0f,-3.0f,-0.4f],scale:[4.0f,6.0f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}

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

  1. /scoreboard players add #t c9_time 1
  2. /execute if score #t c9_time matches 140.. run scoreboard players set #t c9_time 0
  3. /execute if score #t c9_time matches 1..48 unless entity @e[tag=c9_r1] run summon block_display ~ ~4 ~2.3 {Tags:["c9_v","c9_r1"],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-1.6f,-1.6f,-0.3f],scale:[3.2f,3.2f,0.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  4. /execute if score #t c9_time matches 1..48 unless entity @e[tag=c9_r2] run summon block_display ~ ~4 ~2.6 {Tags:["c9_v","c9_r2"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:oxidized_cut_copper"},transformation:{translation:[-0.9f,-0.9f,-0.3f],scale:[1.8f,1.8f,0.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /execute if score #t c9_time matches 1..45 as @e[tag=c9_r1] at @s run tp @s ~ ~ ~ ~8 ~6
  6. /execute if score #t c9_time matches 1..45 as @e[tag=c9_r2] at @s run tp @s ~ ~ ~ ~-12 ~-9
  7. /execute if score #t c9_time matches 1..45 run particle dust{color:[1.0,0.8,0.1],scale:2.0} ~ ~4 ~2.9 1.8 1.8 0.3 0 12 force
  8. /execute if score #t c9_time matches 1..45 run particle lava ~ ~4 ~2.9 1.2 1.2 0.2 0 4 force
  9. /execute if score #t c9_time matches 48 run particle totem_of_undying ~ ~4 ~2.9 0.6 0.6 0.6 0.6 80 force
  10. /execute if score #t c9_time matches 49 run kill @e[tag=c9_r1]
  11. /execute if score #t c9_time matches 49 run kill @e[tag=c9_r2]
  12. /execute if score #t c9_time matches 50 run data merge entity @e[tag=c9_dl,limit=1] {interpolation_duration:35,start_interpolation:0,transformation:{translation:[-7.8f,-3.0f,-0.4f],scale:[4.0f,6.0f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  13. /execute if score #t c9_time matches 50 run data merge entity @e[tag=c9_dr,limit=1] {interpolation_duration:35,start_interpolation:0,transformation:{translation:[3.8f,-3.0f,-0.4f],scale:[4.0f,6.0f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  14. /execute if score #t c9_time matches 120 as @e[tag=c9_dl] run data merge entity @s {interpolation_duration:18,start_interpolation:0,transformation:{translation:[-4.0f,-3.0f,-0.4f],scale:[4.0f,6.0f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}

How it works

Frames from the test run

Cinematic Vault Opening with Rotating Lock Rings - frame 1Cinematic Vault Opening with Rotating Lock Rings - frame 2Cinematic Vault Opening with Rotating Lock Rings - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A large gilded blackstone vault door with glowing outlines opens to reveal a gold and emerald interior while a gold and copper locking bar rotates with spark 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 at the center of a flat open area where you want the vault door to appear.
  2. Run each of the 10 setup commands in order to build the blackstone frame, gold and emerald treasure wall, and the two heavy vault door panels.
  3. Place 14 Repeating Command Blocks set to Always Active near the build.
  4. Paste one loop command into each repeating command block.
  5. Watch the golden and oxidized copper lock rings spin, spark, burst with totem particles, and slide the vault doors open.

Use it with real players

To trigger the vault only when a player stands near the entrance holding a key item, replace the automatic loop reset in command 2 with /execute if entity @a[distance=..6,nbt={SelectedItem:{id:"minecraft:trial_key"}}] if score #t c9_time matches 0 run scoreboard players set #t c9_time 1 and stop the counter from advancing when #t is 0.

Remove it again 3 commands

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

FAQ

Why use block display entities instead of pistons for a vault door?

Block displays can scale to giant sizes, glow with custom colors, rotate at any angle for the lock mechanism, and slide smoothly over multiple blocks without bulky redstone wiring.

Can players walk through the vault door when it opens?

Yes! Because block display entities do not have solid collision boxes by default, players can walk straight into the treasure room as soon as the doors slide apart.

Commands used

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

Similar creations

Join 9Minecraft News & Guides