Build a smooth mechanical vault doorway in Minecraft using block display entities, complete with a rotating copper lock core and sliding blast panels.
Machines & MechanismsIndustrialTechnologyBlackBlueOrangeAdventure MapMap MakingDecorationParticlesBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsGlowing outlines21+ commands
Traditional piston doors move in sudden, single-block steps. By combining a solid deepslate outer frame with scaled block_display entities for the moving parts, this creation builds a vault doorway that opens with smooth, continuous motion.
A central glowing copper lock twists and retracts upward before the two heavy iron blast doors slide into the surrounding walls, releasing bursts of electric sparks and ominous particles as the portal opens.
/scoreboard objectives add c9_tick dummy/fill ~-5 ~ ~-1 ~5 ~6 ~1 deepslate_tiles/fill ~-2 ~1 ~-1 ~2 ~5 ~1 air/fill ~-4 ~1 ~ ~-4 ~5 ~ oxidized_cut_copper/fill ~4 ~1 ~ ~4 ~5 ~ oxidized_cut_copper/fill ~-2 ~ ~ ~2 ~ ~ sea_lantern/summon marker ~ ~3 ~ {Tags:["c9_ent","c9_ctrl"]}/summon block_display ~ ~1 ~ {Tags:["c9_ent","c9_left"],interpolation_duration:20,Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-2.0f,0.0f,-0.4f],scale:[2.0f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon block_display ~ ~1 ~ {Tags:["c9_ent","c9_right"],interpolation_duration:20,Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{translation:[0.0f,0.0f,-0.4f],scale:[2.0f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon block_display ~ ~3 ~ {Tags:["c9_ent","c9_core"],interpolation_duration:15,Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_copper_bulb",Properties:{lit:"true"}},transformation:{translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/scoreboard players add @e[tag=c9_ctrl] c9_tick 1/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 110.. run scoreboard players set @e[tag=c9_ctrl] c9_tick 0/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 5 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,transformation:{translation:[0.0f,-0.85f,-0.6f],scale:[1.2f,1.2f,1.2f],left_rotation:[0.0f,0.0f,0.7071f,0.7071f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 20 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,transformation:{translation:[0.0f,1.8f,-0.6f],scale:[0.5f,0.5f,1.2f],left_rotation:[0.0f,0.0f,0.7071f,0.7071f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 25 as @e[tag=c9_left] run data merge entity @s {start_interpolation:0,transformation:{translation:[-3.95f,0.0f,-0.4f],scale:[0.3f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 25 as @e[tag=c9_right] run data merge entity @s {start_interpolation:0,transformation:{translation:[3.65f,0.0f,-0.4f],scale:[0.3f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 70 as @e[tag=c9_left] run data merge entity @s {start_interpolation:0,transformation:{translation:[-2.0f,0.0f,-0.4f],scale:[2.0f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 70 as @e[tag=c9_right] run data merge entity @s {start_interpolation:0,transformation:{translation:[0.0f,0.0f,-0.4f],scale:[2.0f,4.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 88 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,transformation:{translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 5..45 run particle electric_spark ~ ~3 ~ 1.8 1.8 0.5 0.1 8/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 25..70 run particle soul_fire_flame ~ ~2.5 ~ 1.2 1.5 0.3 0.02 6/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 5 run playsound block.vault.activate master @a ~ ~3 ~ 1.5 0.7/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 25 run playsound block.iron_door.open master @a ~ ~3 ~ 1.5 0.5/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 70 run playsound block.iron_door.close master @a ~ ~3 ~ 1.5 0.5setup #8 Summons the left blast panel as an iron block display entity scaled to 2x4x0.8 blocks with full brightness and cyan glowing outline, plus a 20-tick interpolation duration for smooth movement.setup #10 Summons the central lock core using a lit waxed copper bulb scaled to 1.2x1.2x1.2 blocks with an orange glow.loop #3 At tick 5, rotates the copper core 45 degrees into a diamond orientation using a quaternion in left_rotation and triggers smooth interpolation.loop #5 At tick 25, slides and compresses the left blast door into the side frame over 20 ticks by changing its translation and X scale.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A deepslate brick frame holds two iron doors with a glowing blue outline and a central copper bulb lock that retracts upward as the doors slide into the walls with soul fire 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 open only when a player approaches instead of looping on a timer, replace the first two scoreboard timer commands with a proximity check such as /execute if entity @a[distance=..5] to trigger the open states (ticks 5, 20, and 25), and /execute unless entity @a[distance=..5] to trigger the closing states (ticks 70 and 88). Note that block_display entities are non-solid visuals; if you want physical collision when closed, fill the doorway with barrier blocks when closed and clear them to air when opened.
/kill @e[tag=c9_ent]/fill ~-5 ~ ~-1 ~5 ~6 ~1 air/fill ~-2 ~ ~ ~2 ~ ~ grass_block/scoreboard objectives remove c9_tickYes, block_display entities do not have hitboxes by default. If you want to block players while the door is closed, place barrier blocks inside the frame during the closed phase and replace them with air during the open phase.
Change the interpolation_duration tag on the three block_display entities in the setup commands. Lower numbers make the panels slide faster, while higher numbers make the motion slower.
▶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