Multi-Layered Nested Vault

Build an animated mechanical safe in Minecraft using block display entities that retract copper bolts, split iron doors, and reveal a glowing core.

Java EditionComplex Contraptions & CinematicsMedium24 commandsTested on a real 26.2 & 26.3 server
A floating iron and copper vault opens over a pedestal with glowing amethyst and magical particles. Download the GIF Video & GIF © www.9minecraft.net

Moving StructuresTechnologyIndustrialOrangeWhitePurpleAdventure MapMap MakingCinematicBlock displaysSmooth animation (interpolation)Riding & passengersBlock building (fill/setblock/clone)Rotation math21+ commands

This command creation builds a floating mechanical safe right in front of you using block display entities and smooth transformation interpolation. On a repeating cycle, four copper locking bolts retract outward, the massive outer iron shell splits and slides apart in four directions, and a glowing amethyst inner container lowers to reveal a spinning beacon core surrounded by golden rings and magic particles.

Because everything uses display entity transformations, the heavy vault panels glide smoothly without clipping or teleport jitter, giving your world a clean sci-fi centerpiece.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-5 ~ ~-5 ~5 ~ ~5 polished_deepslate
  3. /fill ~-3 ~ ~-3 ~3 ~ ~3 chiseled_deepslate
  4. /fill ~-2 ~1 ~-2 ~2 ~1 ~2 iron_block
  5. /setblock ~ ~1 ~ sea_lantern
  6. /summon marker ~ ~2 ~ {Tags:["c9_m","c9_ctrl"]}
  7. /summon block_display ~ ~4.5 ~ {Tags:["c9_m","c9_core"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:beacon"},transformation:{translation:[-0.5f,-0.5f,-0.5f],scale:[1f,1f,1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},teleport_duration:2}
  8. /summon block_display ~ ~4.5 ~ {Tags:["c9_m","c9_ring"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.7f,-0.1f,-0.7f],scale:[1.4f,0.2f,1.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},teleport_duration:2}
  9. /summon block_display ~ ~4.5 ~ {Tags:["c9_m","c9_inner"],Glowing:1b,glow_color_override:11141375,block_state:{Name:"minecraft:amethyst_block"},transformation:{translation:[-1.2f,-1.2f,-1.2f],scale:[2.4f,2.4f,2.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /summon area_effect_cloud ~ ~4.5 ~ {Tags:["c9_m"],Duration:999999,Passengers:[{id:"minecraft:block_display",Tags:["c9_m","c9_s_n"],Glowing:1b,glow_color_override:14540253,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-1.6f,-1.6f,-1.6f],scale:[3.2f,3.2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_m","c9_s_s"],Glowing:1b,glow_color_override:14540253,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-1.6f,-1.6f,1.1f],scale:[3.2f,3.2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_m","c9_s_w"],Glowing:1b,glow_color_override:14540253,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-1.6f,-1.6f,-1.6f],scale:[0.5f,3.2f,3.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_m","c9_s_e"],Glowing:1b,glow_color_override:14540253,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[1.1f,-1.6f,-1.6f],scale:[0.5f,3.2f,3.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_m","c9_b_n"],Glowing:1b,glow_color_override:16744448,block_state:{Name:"minecraft:copper_block"},transformation:{translation:[-0.6f,-0.6f,-1.8f],scale:[1.2f,1.2f,0.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_m","c9_b_s"],Glowing:1b,glow_color_override:16744448,block_state:{Name:"minecraft:copper_block"},transformation:{translation:[-0.6f,-0.6f,1.2f],scale:[1.2f,1.2f,0.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_m","c9_b_w"],Glowing:1b,glow_color_override:16744448,block_state:{Name:"minecraft:copper_block"},transformation:{translation:[-1.8f,-0.6f,-0.6f],scale:[0.6f,1.2f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_m","c9_b_e"],Glowing:1b,glow_color_override:16744448,block_state:{Name:"minecraft:copper_block"},transformation:{translation:[1.2f,-0.6f,-0.6f],scale:[0.6f,1.2f,1.2f],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 @e[tag=c9_ctrl] c9_t 1
  2. /execute as @e[tag=c9_ctrl,scores={c9_t=140..}] run scoreboard players set @s c9_t 0
  3. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~6 ~4
  4. /execute as @e[tag=c9_ring] at @s run tp @s ~ ~ ~ ~-8 ~-6
  5. /execute if entity @e[tag=c9_ctrl,scores={c9_t=5}] as @e[tag=c9_b_n] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-0.6f,-0.6f,-3.6f],scale:[0.8f,0.8f,0.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /execute if entity @e[tag=c9_ctrl,scores={c9_t=5}] as @e[tag=c9_b_s] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-0.6f,-0.6f,3.0f],scale:[0.8f,0.8f,0.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  7. /execute if entity @e[tag=c9_ctrl,scores={c9_t=5}] as @e[tag=c9_b_w] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-3.6f,-0.6f,-0.6f],scale:[0.6f,0.8f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  8. /execute if entity @e[tag=c9_ctrl,scores={c9_t=5}] as @e[tag=c9_b_e] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[3.0f,-0.6f,-0.6f],scale:[0.6f,0.8f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /execute if entity @e[tag=c9_ctrl,scores={c9_t=20}] as @e[tag=c9_s_n] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-1.6f,0.2f,-3.2f],scale:[3.2f,3.2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /execute if entity @e[tag=c9_ctrl,scores={c9_t=20}] as @e[tag=c9_s_s] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-1.6f,0.2f,2.7f],scale:[3.2f,3.2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  11. /execute if entity @e[tag=c9_ctrl,scores={c9_t=20}] as @e[tag=c9_s_w] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-3.2f,0.2f,-1.6f],scale:[0.5f,3.2f,3.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  12. /execute if entity @e[tag=c9_ctrl,scores={c9_t=20}] as @e[tag=c9_s_e] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[2.7f,0.2f,-1.6f],scale:[0.5f,3.2f,3.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  13. /execute if entity @e[tag=c9_ctrl,scores={c9_t=35}] as @e[tag=c9_inner] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-1.3f,-2.4f,-1.3f],scale:[2.6f,0.3f,2.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  14. /execute if entity @e[tag=c9_ctrl,scores={c9_t=35..120}] run particle end_rod ~ ~4.5 ~ 1.2 1.2 1.2 0.05 3 force

How it works

Frames from the test run

Multi-Layered Nested Vault - frame 1Multi-Layered Nested Vault - frame 2Multi-Layered Nested Vault - frame 3

Recorded on our own test server: 50 frames at about 9.8 fps. Our image check saw: A floating iron and copper vault structure hovers over a pedestal, sliding open and lowering an amethyst block with blue and 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 where you want the vault pedestal to appear.
  2. Run each command from the setup list in order in your chat or in impulse command blocks positioned at the center.
  3. Place 14 repeating command blocks set to Always Active (or chain them together from one repeating block).
  4. Paste the loop commands into those blocks and make sure they execute positioned at the center of the pedestal.
  5. Watch the copper bolts unlock, the iron walls slide apart, and the inner amethyst layer fold down to reveal the spinning beacon core.

Use it with real players

To make the vault open only when a player approaches the pedestal instead of running on an automatic loop, replace the first loop command with /execute if entity @a[distance=..6] run scoreboard players add @e[tag=c9_ctrl,scores={c9_t=..60}] c9_t 1 so the sequence triggers on proximity.

Remove it again 3 commands

  1. /kill @e[tag=c9_m]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-5 ~ ~-5 ~5 ~1 ~5 air

FAQ

Why do the vault doors move smoothly without teleporting?

Block display entities support client-side transformation interpolation. Setting start_interpolation to 0 and interpolation_duration to 15 or 20 tells Minecraft to smoothly animate between the old and new position and scale.

Can I change the blocks used for the vault layers?

Yes. Change the block_state Name inside the setup commands from iron_block, copper_block, or amethyst_block to any block you like, and adjust glow_color_override to match.

Commands used

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

Similar creations

Join 9Minecraft News & Guides