Ancient Shrine Gate

Build an automated Ancient Shrine Gate in Minecraft using block displays and interpolation. Two glowing stone doors slide apart with dust and soul particles.

Java EditionHolograms & Display EntitiesMedium26 commandsTested on a real 26.2 & 26.3 server
Dark stone sliding doors with glowing cyan strips open inside an ancient archway, releasing dust and blue particles. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard players set #gate c9_timer 0
  3. /fill ~-6 ~-1 ~-3 ~6 ~-1 ~3 polished_deepslate
  4. /fill ~-5 ~ ~ ~5 ~8 ~ deepslate_bricks
  5. /fill ~-3 ~ ~ ~3 ~6 ~ air
  6. /fill ~-5 ~ ~-1 ~-4 ~7 ~1 chiseled_deepslate
  7. /fill ~4 ~ ~-1 ~5 ~7 ~1 chiseled_deepslate
  8. /fill ~-5 ~7 ~-1 ~5 ~8 ~1 polished_deepslate
  9. /setblock ~ ~7 ~-1 soul_lantern
  10. /summon marker ~ ~ ~ {Tags:["c9_ent","c9_ctrl"]}

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

  1. /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]}}
  2. /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]}}
  3. /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]}}
  4. /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]}}
  5. /scoreboard players add #gate c9_timer 1
  6. /execute if score #gate c9_timer matches 200.. run scoreboard players set #gate c9_timer 0
  7. /execute if score #gate c9_timer matches 20 run playsound minecraft:block.beacon.activate master @a ~ ~3 ~ 2 0.6
  8. /execute if score #gate c9_timer matches 20 run particle soul_fire_flame ~ ~3.5 ~ 2 2 0.5 0.05 60 force
  9. /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]
  10. /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]
  11. /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]
  12. /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]
  13. /execute if score #gate c9_timer matches 130 run kill @e[tag=c9_ent,type=block_display]
  14. /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
  15. /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
  16. /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}

How it works

Frames from the test run

Ancient Shrine Gate - frame 1Ancient Shrine Gate - frame 2Ancient Shrine Gate - frame 3

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.

Build it in your world

  1. Stand on a flat open area of your world where you want the shrine gate to stand.
  2. Run each of the 10 setup commands in chat or in impulse command blocks at the centre of your build area to construct the stone frame and scoreboard.
  3. Place a stack of 16 repeating/chain command blocks (1 Repeating Always Active at the base, followed by 15 Chain Always Active blocks pointing into each other).
  4. Wrap or align your command execution at the centre of the gate frame, or paste the 16 loop commands into the repeating chain.
  5. Watch the gate charge up with soul flames every 10 seconds and slide open with cyan dust and floor smoke.

Use it with real players

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.

Remove it again 4 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-6 ~-1 ~-3 ~6 ~8 ~3 air
  4. /fill ~-6 ~-1 ~-3 ~6 ~-1 ~3 grass_block

FAQ

Can players walk through the block display doors when they are closed?

Block 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.

How do I change how fast the heavy doors slide open?

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.

Commands used

/data/execute/fill/kill/particle/playsound/scoreboard/setblock/summon

Similar creations

Join 9Minecraft News & Guides