Build an industrial copper and deepslate vault door in Minecraft Java using display entities that spin a central locking wheel, pop outward, and slide open.
Machines & MechanismsIndustrialTechnologyOrangeBlackWhiteMap MakingAdventure MapDecorationBlock displaysItem displaysSmooth animation (interpolation)Block building (fill/setblock/clone)21+ commands
Traditional piston doors are boxy and noisy, but display entities allow for clean, fluid motion. This command setup constructs a massive industrial vault archway out of deepslate tiles and copper with a heavy blast door that pops outward on hinges, spins a central gear wheel, and slides smoothly to the side.
Because the door is hollow all the way through on both the north and south faces, you can watch the glowing vault portal inside from any angle as steam vents and friction sparks fly off the tracks.
/scoreboard objectives add c9_t dummy/scoreboard players set #door c9_t 0/fill ~-6 ~ ~-1 ~6 ~7 ~1 deepslate_tiles/fill ~-4 ~ ~-1 ~4 ~6 ~1 chiseled_copper/fill ~-3 ~1 ~-1 ~3 ~5 ~1 air/fill ~-3 ~1 ~ ~3 ~1 ~ sea_lantern/summon block_display ~ ~3 ~ {Tags:["c9_all","c9_core"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[-3.0f,-2.0f,-1.1f],scale:[6.0f,4.0f,2.2f]}}/summon block_display ~ ~3 ~ {Tags:["c9_all","c9_rim"],Glowing:1b,glow_color_override:16744192,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[-2.2f,-1.2f,-1.3f],scale:[4.4f,2.4f,2.6f]}}/summon item_display ~ ~3 ~ {Tags:["c9_all","c9_wheel"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},item:{id:"minecraft:lodestone",count:1},transformation:{left_rotation:[0.0f,0.0f,0.383f,0.924f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[0.0f,0.0f,0.0f],scale:[2.2f,2.2f,3.1f]}}/summon item_display ~ ~3 ~ {Tags:["c9_all","c9_hub"],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:waxed_copper_grate",count:1},transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[0.0f,0.0f,0.0f],scale:[2.6f,2.6f,3.4f]}}/scoreboard players add #door c9_t 1/execute if score #door c9_t matches 140.. run scoreboard players set #door c9_t 0/execute if score #door c9_t matches 5 as @e[tag=c9_wheel] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0.0f,0.0f,0.924f,0.383f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[0.0f,0.0f,0.0f],scale:[2.2f,2.2f,4.1f]}}/execute if score #door c9_t matches 5 as @e[tag=c9_hub] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0.0f,0.0f,0.707f,0.707f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[0.0f,0.0f,0.0f],scale:[2.6f,2.6f,4.4f]}}/execute if score #door c9_t matches 8 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[-3.0f,-2.0f,-1.6f],scale:[6.0f,4.0f,3.2f]}}/execute if score #door c9_t matches 8 as @e[tag=c9_rim] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[-2.2f,-1.2f,-1.8f],scale:[4.4f,2.4f,3.6f]}}/execute if score #door c9_t matches 5..25 run particle campfire_cosy_smoke ~ ~3 ~ 3.2 0.2 1.6 0.03 8 force/execute if score #door c9_t matches 26 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,interpolation_duration:32,transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[2.8f,-2.0f,-1.6f],scale:[6.0f,4.0f,3.2f]}}/execute if score #door c9_t matches 26 as @e[tag=c9_rim] run data merge entity @s {start_interpolation:0,interpolation_duration:32,transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[3.6f,-1.2f,-1.8f],scale:[4.4f,2.4f,3.6f]}}/execute if score #door c9_t matches 26 as @e[tag=c9_wheel] run data merge entity @s {start_interpolation:0,interpolation_duration:32,transformation:{left_rotation:[0.0f,0.0f,1.0f,0.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[5.8f,0.0f,0.0f],scale:[2.2f,2.2f,4.1f]}}/execute if score #door c9_t matches 26 as @e[tag=c9_hub] run data merge entity @s {start_interpolation:0,interpolation_duration:32,transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[5.8f,0.0f,0.0f],scale:[2.6f,2.6f,4.4f]}}/execute if score #door c9_t matches 26..58 run particle lava ~1.5 ~1.1 ~ 2.0 0.1 1.5 0.1 5 force/execute if score #door c9_t matches 58..88 run particle end_rod ~ ~3 ~ 1.8 1.4 0.5 0.02 6 force/execute if score #door c9_t matches 90 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,interpolation_duration:36,transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[-3.0f,-2.0f,-1.1f],scale:[6.0f,4.0f,2.2f]}}setup #5 Carves out an open doorway tunnel all the way through the deepslate and copper frame so the sliding vault door is clearly visible from both sides.setup #9 Summons an <code>item_display</code> holding a lodestone tilted at 45 degrees with a cyan glow override to serve as the central vault wheel.loop #3 At tick 5, uses <code>interpolation_duration:18</code> to smoothly spin the central gear wheel and pop it outward along the Z axis before the heavy door unseals.loop #8 At tick 26, translates the heavy iron blast door 5.8 blocks to the side over 32 ticks (1.6 seconds), clearing the archway completely.


Recorded on our own test server: 51 frames at about 8.4 fps. Our image check saw: A deepslate tile and copper archway with an iron block door that rotates a glowing copper grate wheel and slides open to the right with smoke and flame particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the vault door open only when a player approaches instead of looping automatically, replace the first two timer commands in the loop with /execute if entity @a[distance=..8] if score #door c9_t matches ..58 run scoreboard players add #door c9_t 1 so the sequence advances when someone steps near the vault.
/kill @e[tag=c9_all]/fill ~-6 ~ ~-1 ~6 ~7 ~1 air/scoreboard objectives remove c9_tDisplay entities do not have built-in collision boxes. If you want physical collision while closed, you can place and clear barrier blocks inside the doorway frame timed to the scoreboard.
Edit the interpolation_duration value inside the tick 26 data merge commands. A smaller number makes the door slide faster, while a higher number gives it a heavier, slower movement.
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Kinetic Moiré Pattern Interference SculptureMachines & MechanismsMedium23 cmds