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.
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.
/scoreboard objectives add c9_time dummy/scoreboard players set #t c9_time 0/fill ~-6 ~ ~-3 ~6 ~8 ~2 polished_blackstone_bricks/fill ~-4 ~1 ~-2 ~4 ~7 ~2 air/fill ~-4 ~1 ~-2 ~4 ~7 ~-2 gold_block/fill ~-2 ~2 ~-2 ~2 ~6 ~-2 emerald_block/fill ~-5 ~ ~2 ~-5 ~8 ~2 gilded_blackstone/fill ~5 ~ ~2 ~5 ~8 ~2 gilded_blackstone/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]}}/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]}}/scoreboard players add #t c9_time 1/execute if score #t c9_time matches 140.. run scoreboard players set #t c9_time 0/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]}}/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]}}/execute if score #t c9_time matches 1..45 as @e[tag=c9_r1] at @s run tp @s ~ ~ ~ ~8 ~6/execute if score #t c9_time matches 1..45 as @e[tag=c9_r2] at @s run tp @s ~ ~ ~ ~-12 ~-9/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/execute if score #t c9_time matches 1..45 run particle lava ~ ~4 ~2.9 1.2 1.2 0.2 0 4 force/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/execute if score #t c9_time matches 49 run kill @e[tag=c9_r1]/execute if score #t c9_time matches 49 run kill @e[tag=c9_r2]/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]}}/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]}}/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]}}setup #9 Summons the left half of the vault door using a scaled <code>gilded_blackstone</code> block display entity positioned at the front entrance of the vault frame.loop #3 Spawns the outer golden lock wheel in front of the vault door at the start of the cycle with a bright gold glow outline.loop #5 Rotates the outer gold lock ring continuously during the first 45 ticks while the inner copper dial counter-rotates.loop #12 Uses display entity transformation interpolation over 35 ticks to smoothly slide the left vault door open once the lock rings finish spinning and burst.


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.
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.
/kill @e[tag=c9_v]/fill ~-6 ~ ~-3 ~6 ~8 ~3 air/scoreboard objectives remove c9_timeBlock 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.
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.
▶Clockwork Mythic Vault UnsealingMachines & MechanismsMedium24 cmds
▶Colossal Mechanical Vault GateMachines & MechanismsMedium24 cmds
▶Seamless Sliding Vault GateMachines & MechanismsEasy24 cmds
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Victorian Carousel of Mythical BeastsMachines & MechanismsHard24 cmds