Build a piston-free sci-fi vault gate using block display entities that smoothly unbolt, rotate, and slide apart with steam and spark particle effects.
Machines & MechanismsTechnologyIndustrialDarkBlackOrangeWhiteMap MakingAdventure MapDecorationBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Sounds21+ commands
Traditional redstone piston doors are fun, but they are restricted to the blocky grid and move in jerky one-block steps. By using block_display entities and transformation interpolation, you can build a heavy mechanical vault gate that slides smoothly at any speed and rotates its central locking mechanism in fluid angles.
In this setup, a deepslate archway holds two massive iron doors and a central copper lock core. Every few seconds, the central lock twists 90 degrees and retracts into the ceiling while the two thick metal panels slide cleanly into the stone pillars, kicking up mechanical sparks, heavy clanks, and steam clouds along the floor.
/scoreboard objectives add c9_t dummy/fill ~-5 ~ ~-1 ~5 ~7 ~1 minecraft:polished_deepslate/fill ~-4 ~ ~-1 ~4 ~6 ~1 minecraft:chiseled_deepslate/fill ~-3 ~ ~-1 ~3 ~5 ~1 minecraft:air/fill ~-5 ~-1 ~-2 ~5 ~-1 ~2 minecraft:deepslate_tiles/setblock ~-4 ~6 ~-1 minecraft:sea_lantern/setblock ~4 ~6 ~-1 minecraft:sea_lantern/summon minecraft:block_display ~ ~ ~ {Tags:["c9_gate","c9_left"],interpolation_duration:30,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-3.0f,0.0f,-0.4f],scale:[3.0f,5.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon minecraft:block_display ~ ~ ~ {Tags:["c9_gate","c9_right"],interpolation_duration:30,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[0.0f,0.0f,-0.4f],scale:[3.0f,5.0f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon minecraft:block_display ~ ~ ~ {Tags:["c9_gate","c9_core"],Glowing:1b,glow_color_override:16755200,interpolation_duration:20,block_state:{Name:"minecraft:chiseled_copper"},transformation:{translation:[-0.75f,1.75f,-0.6f],scale:[1.5f,1.5f,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 #gate c9_t 1/execute if score #gate c9_t matches 160.. run scoreboard players set #gate c9_t 0/execute if score #gate c9_t matches 10 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-0.75f,3.25f,-0.6f],scale:[1.5f,1.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 #gate c9_t matches 10 run playsound minecraft:block.vault.activate master @a ~ ~2.5 ~ 2 0.8/execute if score #gate c9_t matches 10 run particle minecraft:electric_spark ~ ~2.5 ~-0.7 0.5 0.5 0.2 0.1 35 force/execute if score #gate c9_t matches 25 as @e[tag=c9_left] run data merge entity @s {start_interpolation:0,interpolation_duration:30,transformation:{translation:[-4.8f,0.0f,-0.4f],scale:[2.0f,5.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 #gate c9_t matches 25 as @e[tag=c9_right] run data merge entity @s {start_interpolation:0,interpolation_duration:30,transformation:{translation:[2.8f,0.0f,-0.4f],scale:[2.0f,5.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 #gate c9_t matches 25 run playsound minecraft:block.iron_door.open master @a ~ ~2 ~ 2 0.5/execute if score #gate c9_t matches 25..55 run particle minecraft:campfire_cosy_smoke ~ ~0.1 ~ 2.5 0.1 0.3 0.01 3 force/execute if score #gate c9_t matches 90 as @e[tag=c9_left] run data merge entity @s {start_interpolation:0,interpolation_duration:30,transformation:{translation:[-3.0f,0.0f,-0.4f],scale:[3.0f,5.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 #gate c9_t matches 90 as @e[tag=c9_right] run data merge entity @s {start_interpolation:0,interpolation_duration:30,transformation:{translation:[0.0f,0.0f,-0.4f],scale:[3.0f,5.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 #gate c9_t matches 90 run playsound minecraft:block.iron_door.close master @a ~ ~2 ~ 2 0.5/execute if score #gate c9_t matches 120 as @e[tag=c9_core] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-0.75f,1.75f,-0.6f],scale:[1.5f,1.5f,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 #gate c9_t matches 120 run particle minecraft:wax_on ~ ~2.5 ~-0.7 0.5 0.5 0.2 0.1 30 forcesetup #8 Summons the left half of the gate as a single <code>iron_block</code> display stretched to 3 blocks wide, 5 blocks tall, and 0.8 blocks thick using the <code>scale</code> vector.setup #10 Summons the central locking gear out of <code>chiseled_copper</code> with an orange glowing outline (<code>glow_color_override:16755200</code>) positioned slightly proud of the iron door seams.loop #3 At tick 10, sets <code>start_interpolation:0</code> on the lock core and updates its quaternion rotation (<code>left_rotation:[0.0f,0.0f,0.7071f,0.7071f]</code>) to spin 90 degrees while sliding up.loop #6 At tick 25, slides the left panel into the deepslate pillar over 30 ticks (1.5 seconds) by shifting its X translation from <code>-3.0f</code> to <code>-4.8f</code> and compressing its width.loop #9 While the heavy panels are moving (ticks 25 to 55), emits thick <code>campfire_cosy_smoke</code> particles along the bottom threshold to simulate pneumatic steam.


Recorded on our own test server: 50 frames at about 7.0 fps. Our image check saw: A deepslate archway holds two smooth iron doors with a glowing copper central lock that rotates at an angle before the doors slide open with smoke 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 gate open automatically when a player walks up to it instead of running on an endless loop, replace the first two timer commands with proximity checks: use /execute if entity @a[distance=..5] if score #gate c9_t matches ..54 run scoreboard players add #gate c9_t 1 to advance the opening sequence up to tick 55 when someone is near, and set the score to 90 when no player is within 5 blocks so the doors slide shut.
/kill @e[tag=c9_gate]/scoreboard objectives remove c9_t/fill ~-5 ~ ~-1 ~5 ~7 ~1 minecraft:air/fill ~-5 ~-1 ~-2 ~5 ~-1 ~2 minecraft:grass_blockBlock display entities do not have collision boxes of their own. If you want the closed gate to physically block players, place barrier blocks inside the doorway at tick 120 and replace them with air at tick 25.
In Minecraft Java Edition, a display entity only animates smoothly to a new transformation when start_interpolation is explicitly set (usually to 0, meaning start on the current tick) in the same data merge command.
/data/execute/fill/particle/playsound/scoreboard/setblock/summon
▶Biomechanical Sculk Blast DoorMachines & MechanismsMedium24 cmds
▶Seamless Cyberpunk LiftMachines & MechanismsMedium24 cmds
▶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