Seamless Vault Hatch

Build a raised 3x3 copper and deepslate vault hatch that unlatches, spins its glowing central core, and smoothly slides four heavy panels apart.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A custom copper and deepslate vault hatch opening smoothly with glowing block displays. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsTechnologyIndustrialOrangeBlackCyanAdventure MapMap MakingDecorationBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands

Traditional redstone piston doors are snappy and loud, but display entities allow for smooth mechanical motion. This creation builds a raised 3x3 vault hatch framed in polished deepslate and copper that unlatches, rotates its glowing central core, drops down into the floor, and slides four heavy panels outward into the frame.

Using block display transformations and interpolation, the entire opening and closing cycle runs automatically with steam and spark particles.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-4 ~-3 ~-4 ~4 ~1 ~4 minecraft:polished_deepslate
  3. /fill ~-3 ~1 ~-3 ~3 ~1 ~3 minecraft:waxed_copper_block
  4. /fill ~-2 ~1 ~-2 ~2 ~1 ~2 minecraft:deepslate_tiles
  5. /fill ~-1 ~-2 ~-1 ~1 ~1 ~1 minecraft:air
  6. /fill ~-1 ~-3 ~-1 ~1 ~-3 ~1 minecraft:ochre_froglight
  7. /summon minecraft:block_display ~ ~1 ~ {Tags:["c9_v","c9_c"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:waxed_chiseled_copper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[-0.5f,0f,-0.5f]}}
  8. /summon minecraft:block_display ~ ~1 ~ {Tags:["c9_v","c9_n"],Glowing:1b,glow_color_override:3978398,block_state:{Name:"minecraft:waxed_oxidized_cut_copper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2f,0.95f,1f],translation:[-1.5f,0.02f,-1.5f]}}
  9. /summon minecraft:block_display ~ ~1 ~ {Tags:["c9_v","c9_s"],Glowing:1b,glow_color_override:3978398,block_state:{Name:"minecraft:waxed_oxidized_cut_copper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2f,0.95f,1f],translation:[-0.5f,0.02f,0.5f]}}
  10. /summon minecraft:block_display ~ ~1 ~ {Tags:["c9_v","c9_e"],Glowing:1b,glow_color_override:3978398,block_state:{Name:"minecraft:waxed_oxidized_cut_copper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,0.95f,2f],translation:[0.5f,0.02f,-1.5f]}}

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

  1. /execute unless entity @e[tag=c9_w] run summon minecraft:block_display ~ ~1 ~ {Tags:["c9_v","c9_w"],Glowing:1b,glow_color_override:3978398,block_state:{Name:"minecraft:waxed_oxidized_cut_copper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,0.95f,2f],translation:[-1.5f,0.02f,-0.5f]}}
  2. /scoreboard players add #t c9_t 1
  3. /execute if score #t c9_t matches 130.. run scoreboard players set #t c9_t 0
  4. /execute if score #t c9_t matches 10 as @e[tag=c9_c] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0f,0.3827f,0f,0.9239f],right_rotation:[0f,0f,0f,1f],scale:[1f,1.2f,1f],translation:[0f,0.25f,-0.7071f]}}
  5. /execute if score #t c9_t matches 10 run particle minecraft:wax_on ~ ~2.2 ~ 0.6 0.2 0.6 0.1 30 force
  6. /execute if score #t c9_t matches 30 as @e[tag=c9_c] run data merge entity @s {start_interpolation:0,interpolation_duration:22,transformation:{left_rotation:[0f,0.7071f,0f,0.7071f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[0.4f,-1.8f,-0.4f]}}
  7. /execute if score #t c9_t matches 30 as @e[tag=c9_n] run data merge entity @s {start_interpolation:0,interpolation_duration:22,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2f,0.95f,1f],translation:[-1.5f,-0.25f,-2.45f]}}
  8. /execute if score #t c9_t matches 30 as @e[tag=c9_s] run data merge entity @s {start_interpolation:0,interpolation_duration:22,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2f,0.95f,1f],translation:[-0.5f,-0.25f,1.45f]}}
  9. /execute if score #t c9_t matches 30 as @e[tag=c9_e] run data merge entity @s {start_interpolation:0,interpolation_duration:22,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,0.95f,2f],translation:[1.45f,-0.25f,-1.5f]}}
  10. /execute if score #t c9_t matches 30 as @e[tag=c9_w] run data merge entity @s {start_interpolation:0,interpolation_duration:22,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,0.95f,2f],translation:[-2.45f,-0.25f,-0.5f]}}
  11. /execute if score #t c9_t matches 30..85 run particle minecraft:campfire_cosy_smoke ~ ~1.2 ~ 0.6 0.4 0.6 0.01 2 force
  12. /execute if score #t c9_t matches 85 as @e[tag=c9_c] run data merge entity @s {start_interpolation:0,interpolation_duration:22,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1f,1f,1f],translation:[-0.5f,0f,-0.5f]}}
  13. /execute if score #t c9_t matches 85 as @e[tag=c9_n] run data merge entity @s {start_interpolation:0,interpolation_duration:22,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2f,0.95f,1f],translation:[-1.5f,0.02f,-1.5f]}}
  14. /execute if score #t c9_t matches 85 as @e[tag=c9_s] run data merge entity @s {start_interpolation:0,interpolation_duration:22,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2f,0.95f,1f],translation:[-0.5f,0.02f,0.5f]}}

How it works

Frames from the test run

Seamless Vault Hatch - frame 1Seamless Vault Hatch - frame 2Seamless Vault Hatch - frame 3

Recorded on our own test server: 70 frames at about 9.9 fps. Our image check saw: A copper and deepslate floor hatch animates open and closed using glowing outlined block display entities, with a rotating core and smoke 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 your flat building area where you want the raised 3x3 vault hatch to sit.
  2. Run each of the 10 setup commands in order to build the deepslate and copper frame, hollow out the lighted shaft, and summon the display panels.
  3. Place 14 repeating command blocks (set to Always Active) near the center and paste one loop command into each.
  4. Make sure the command blocks execute relative to the center coordinates of the vault hatch.
  5. Watch the central copper lock unlatch, spin 45 degrees, and drop down while the heavy door panels slide smoothly into the floor frame.

Use it with real players

To make the hatch open only when a player stands near it instead of looping on a timer, replace the timer reset with /execute if entity @a[distance=..5] run scoreboard players add #t c9_t 1 and trigger the closing animation when no player is within 5 blocks.

Remove it again 5 commands

  1. /kill @e[tag=c9_v]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-4 ~-3 ~-4 ~4 ~-1 ~4 minecraft:dirt
  4. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 minecraft:grass_block
  5. /fill ~-4 ~ ~-4 ~4 ~1 ~4 minecraft:air

FAQ

Can players fall through the hatch while it is closed?

Block display entities do not have built-in collision boxes. If you want players to walk on the closed door, summon shulkers or place and remove barrier blocks at ~-1 ~1 ~-1 to ~1 ~1 ~1 synchronized with the scoreboard timer.

How do I change how fast the vault door opens?

Change the interpolation_duration value inside the data merge commands. A smaller number of ticks makes the panels move faster, while a higher number creates a slower, heavier movement.

Commands used

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

Similar creations

Join 9Minecraft News & Guides