Build an automated Ancient Shrine Gate in Minecraft using block displays and interpolation. Two glowing stone doors slide apart with dust and soul particles.
Animated BlocksMysticMedievalDarkCyanBlueBlackAdventure MapMap MakingCinematicBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Sounds21+ commands
This command creation builds an ancient stone archway with two massive sliding doors etched with glowing cyan runes. Using Minecraft's block display entities and smooth transformation interpolation, the heavy doors rumble open with mechanical precision while kicking up clouds of dust and soul energy before sealing shut again.
Because the doors are made of scaled block displays rather than real blocks, they move smoothly across several blocks without any choppy block-by-block teleportation. A central soul fire keystone powers the mechanism and bursts with glowing particles whenever the seal unlocks.
/scoreboard objectives add c9_timer dummy/scoreboard players set #gate c9_timer 0/fill ~-6 ~-1 ~-3 ~6 ~-1 ~3 polished_deepslate/fill ~-5 ~ ~ ~5 ~8 ~ deepslate_bricks/fill ~-3 ~ ~ ~3 ~6 ~ air/fill ~-5 ~ ~-1 ~-4 ~7 ~1 chiseled_deepslate/fill ~4 ~ ~-1 ~5 ~7 ~1 chiseled_deepslate/fill ~-5 ~7 ~-1 ~5 ~8 ~1 polished_deepslate/setblock ~ ~7 ~-1 soul_lantern/summon marker ~ ~ ~ {Tags:["c9_ent","c9_ctrl"]}/execute if entity @e[tag=c9_ctrl] unless entity @e[tag=c9_door] run summon block_display ~ ~ ~ {Tags:["c9_ent","c9_door","c9_left"],block_state:{Name:"minecraft:polished_deepslate"},transformation:{translation:[-3.0f,0.0f,-0.4f],scale:[3.0f,7.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 entity @e[tag=c9_ctrl] unless entity @e[tag=c9_right] run summon block_display ~ ~ ~ {Tags:["c9_ent","c9_door","c9_right"],block_state:{Name:"minecraft:polished_deepslate"},transformation:{translation:[0.0f,0.0f,-0.4f],scale:[3.0f,7.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 entity @e[tag=c9_ctrl] unless entity @e[tag=c9_rune_l] run summon block_display ~ ~ ~ {Tags:["c9_ent","c9_rune_l"], glowing:1b,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-2.0f,1.0f,-0.45f],scale:[0.8f,5.0f,0.9f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if entity @e[tag=c9_ctrl] unless entity @e[tag=c9_rune_r] run summon block_display ~ ~ ~ {Tags:["c9_ent","c9_rune_r"],glowing:1b,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[1.2f,1.0f,-0.45f],scale:[0.8f,5.0f,0.9f],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_timer 1/execute if score #gate c9_timer matches 200.. run scoreboard players set #gate c9_timer 0/execute if score #gate c9_timer matches 20 run playsound minecraft:block.beacon.activate master @a ~ ~3 ~ 2 0.6/execute if score #gate c9_timer matches 20 run particle soul_fire_flame ~ ~3.5 ~ 2 2 0.5 0.05 60 force/execute if score #gate c9_timer matches 30 run data modify entity @e[tag=c9_left,limit=1] transformation.translation set value [-5.8f,0.0f,-0.4f]/execute if score #gate c9_timer matches 30 run data modify entity @e[tag=c9_right,limit=1] transformation.translation set value [2.8f,0.0f,-0.4f]/execute if score #gate c9_timer matches 30 run data modify entity @e[tag=c9_rune_l,limit=1] transformation.translation set value [-4.8f,1.0f,-0.45f]/execute if score #gate c9_timer matches 30 run data modify entity @e[tag=c9_rune_r,limit=1] transformation.translation set value [4.0f,1.0f,-0.45f]/execute if score #gate c9_timer matches 130 run kill @e[tag=c9_ent,type=block_display]/execute if score #gate c9_timer matches 30..90 run particle dust{color:[0.0,0.85,1.0],scale:1.8} ~ ~3.5 ~ 3 3 0.6 0.02 10 force/execute if score #gate c9_timer matches 30..90 run particle campfire_cosy_smoke ~ ~0.2 ~ 3 0.1 0.5 0.01 4 force/execute if score #gate c9_timer matches 30 as @e[tag=c9_ent,type=block_display] run data merge entity @s {interpolation_duration:60,start_interpolation:0}loop #1 Summons the left stone door panel using a <code>block_display</code> entity scaled to 3 blocks wide, 7 blocks tall, and 0.8 blocks thick whenever it is not already present.loop #3 Creates the glowing cyan rune strip embedded inside the left door by stretching a full-brightness <code>sea_lantern</code> display entity slightly thicker than the door.loop #9 At tick 30, updates the X translation of the left door from <code>-3.0f</code> to <code>-5.8f</code> so it slides into the outer stone pillars.loop #16 Applies an <code>interpolation_duration</code> of 60 ticks (3 seconds) to all four door display pieces simultaneously so they glide smoothly to their open positions.


Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: A dark stone archway with two sliding doors featuring glowing sea lantern strips opens and closes while emitting dust and blue soul 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 only when a real player approaches instead of on an automatic loop, replace the scoreboard timer increment in the loop with /execute if entity @a[distance=..8] if score #gate c9_timer matches ..90 run scoreboard players add #gate c9_timer 1, and reset it when no players are nearby.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_timer/fill ~-6 ~-1 ~-3 ~6 ~8 ~3 air/fill ~-6 ~-1 ~-3 ~6 ~-1 ~3 grass_blockBlock display entities do not have built-in collision boxes. If you want physical collision when the gate is shut, you can place and remove barrier blocks inside the doorway at tick 30 and tick 130.
Change the <code>interpolation_duration:60</code> value in the final loop command. A higher number makes the stone doors slide slower, while a smaller number opens them faster.
/data/execute/fill/kill/particle/playsound/scoreboard/setblock/summon
▶Levitating Shattered Obelisk Magnetic ReassemblyAnimated BlocksHard24 cmds
▶Shattered Sword Reforging RitualAnimated BlocksMedium24 cmds
▶Automated Castle ConstructionAnimated BlocksHard19 cmds
▶Awakened Deep Dark PortalAnimated BlocksMedium24 cmds
▶Block Display MiniaturizerAnimated BlocksMedium24 cmds
▶Boss Arena Gate RevealAnimated BlocksMedium24 cmds