Seamless Mechanical Vault Door with Block Displays

Build a multi-stage mechanical vault door in Minecraft Java Edition using block_display entities and smooth transformation interpolation.

Java EditionHolograms & Display EntitiesEasy24 commandsTested on a real 26.2 & 26.3 server
A custom mechanical vault door made of iron and gold block displays sliding open with particle effects. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialTechnologyWhiteGoldBlackMap MakingAdventure MapDecorationBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Sounds21+ commands

Traditional piston doors move on a strict one-block grid and make a lot of clanking noise. By using block_display entities and transformation interpolation, you can build a heavy mechanical vault door that smoothly spins a central locking wheel before sliding the massive blast doors apart to reveal a glowing diamond vault inside.

Because display entities can scale to fractional sizes and glide smoothly between positions, the door panels and golden locking mechanism move cleanly in front of the deepslate archway with steam, sparks, and golden treasure particles pouring out when the vault opens.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_vt dummy
  2. /fill ~-6 ~ ~-3 ~6 ~7 ~3 deepslate_tiles
  3. /fill ~-4 ~1 ~-2 ~4 ~5 ~2 sea_lantern
  4. /fill ~-3 ~1 ~-1 ~3 ~5 ~1 diamond_block
  5. /fill ~-3 ~1 ~-1 ~3 ~5 ~3 air
  6. /fill ~-4 ~ ~2 ~4 ~6 ~3 polished_deepslate
  7. /fill ~-3 ~1 ~2 ~3 ~5 ~3 air
  8. /summon block_display ~ ~ ~2.2 {Tags:["c9_v","c9_v_ctrl","c9_v_dl"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3.1f,5.0f,0.9f],translation:[-3.1f,1.0f,-0.4f]},block_state:{Name:"minecraft:iron_block"}}
  9. /summon block_display ~ ~ ~2.2 {Tags:["c9_v","c9_v_dr"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3.1f,5.0f,0.9f],translation:[0.0f,1.0f,-0.4f]},block_state:{Name:"minecraft:iron_block"}}
  10. /summon block_display ~ ~ ~2.6 {Tags:["c9_v","c9_v_wh"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,1.0f],translation:[-0.9f,2.6f,-0.4f]},block_state:{Name:"minecraft:gold_block"}}

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

  1. /execute as @e[tag=c9_v_ctrl] run scoreboard players add @s c9_vt 1
  2. /execute as @e[tag=c9_v_ctrl,scores={c9_vt=120..}] run scoreboard players set @s c9_vt 0
  3. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=5}] as @e[tag=c9_v_wh] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,1.0f],translation:[0.0f,2.23f,-0.4f]}}
  4. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=5}] run playsound minecraft:block.iron_trapdoor.open master @a ~ ~3 ~3 1.5 0.6
  5. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=5..23}] run particle electric_spark ~ ~3.5 ~3.3 0.8 0.8 0.2 0.2 10 force
  6. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=25}] as @e[tag=c9_v_dl] run data merge entity @s {start_interpolation:0,interpolation_duration:28,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3.1f,5.0f,0.9f],translation:[-5.8f,1.0f,-0.1f]}}
  7. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=25}] as @e[tag=c9_v_dr] run data merge entity @s {start_interpolation:0,interpolation_duration:28,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3.1f,5.0f,0.9f],translation:[2.7f,1.0f,-0.1f]}}
  8. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=25}] as @e[tag=c9_v_wh] run data merge entity @s {start_interpolation:0,interpolation_duration:28,transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,1.0f],translation:[-2.7f,2.23f,-0.1f]}}
  9. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=25}] run playsound minecraft:block.piston.contract master @a ~ ~3 ~3 1.5 0.5
  10. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=25..53}] run particle cloud ~ ~1.2 ~3.2 2.2 0.2 0.2 0.03 5 force
  11. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=35..85}] run particle dust{color:[1.0,0.85,0.2],scale:2.0} ~ ~3.2 ~1.5 1.5 1.5 1.0 0.02 8 force
  12. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=85}] as @e[tag=c9_v_dl] run data merge entity @s {start_interpolation:0,interpolation_duration:25,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3.1f,5.0f,0.9f],translation:[-3.1f,1.0f,-0.4f]}}
  13. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=85}] as @e[tag=c9_v_dr] run data merge entity @s {start_interpolation:0,interpolation_duration:25,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[3.1f,5.0f,0.9f],translation:[0.0f,1.0f,-0.4f]}}
  14. /execute if entity @e[tag=c9_v_ctrl,scores={c9_vt=85}] as @e[tag=c9_v_wh] run data merge entity @s {start_interpolation:0,interpolation_duration:25,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,1.0f],translation:[-0.9f,2.6f,-0.4f]}}

How it works

Frames from the test run

Seamless Mechanical Vault Door with Block Displays - frame 1Seamless Mechanical Vault Door with Block Displays - frame 2Seamless Mechanical Vault Door with Block Displays - frame 3

Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A large iron block display door with a rotating gold block center slides open into a deepslate frame with particle effects, revealing a sea lantern interior.

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 spot where you want the vault entrance and run the 10 setup commands in order to create the scoreboard, build the vault frame, and summon the three door display entities.
  2. Place a stack or line of 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks), all set to Always Active.
  3. Paste each loop command into the command blocks in order from 1 to 14.
  4. Watch the central golden wheel rotate and spark, followed by both iron blast doors sliding smoothly open to reveal the bright vault interior.
  5. When you want to remove the build, run the cleanup commands below.

Use it with real players

In the self-running demo, the scoreboard timer c9_vt loops continuously from 0 to 120 ticks. To make the door open only when a player approaches, replace the first two loop commands with proximity checks: increment c9_vt up to 55 when @a[distance=..6] is present, and set c9_vt to 85 when no player is within 6 blocks so the doors close automatically.

Remove it again 3 commands

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

FAQ

Can players walk through the block_display door while it is closed?

Display entities are purely visual and do not have collision boxes of their own. If you want physical collision in survival mode, place barrier blocks in the doorway during the closed phase and fill them with air when the timer reaches tick 35.

Why do the data merge commands include scale and rotation every time?

kept in sync when merging transformation data on display entities so the panels never reset their size or orientation mid-animation.

Commands used

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

Similar creations

Join 9Minecraft News & Guides