Build a 7-block-tall monolith archway with smooth sub-block sliding stone doors, glowing cyan runes, and atmospheric dust particles using display entities.
Machines & MechanismsMysticMedievalCyanWhiteAdventure MapMap MakingDecorationBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands
Traditional piston doors are restricted by grid alignment and noisy redstone components. This creation builds a 7-block-tall monolith archway and uses smooth sub-block entity motion to slide two heavy stone doors cleanly into the outer pillars.
As the monolith unlocks, glowing cyan runes light up the seam, heavy smoke billows from the floor tracks, and magical energy fills the archway before the doors slam shut again.
/scoreboard objectives add c9_timer dummy/fill ~-7 ~ ~-2 ~7 ~ ~2 minecraft:polished_deepslate/fill ~-6 ~1 ~-1 ~6 ~8 ~1 minecraft:deepslate_tiles/fill ~-3 ~1 ~-1 ~3 ~7 ~1 minecraft:air/fill ~-5 ~1 ~ ~-4 ~7 ~ minecraft:reinforced_deepslate/fill ~4 ~1 ~ ~5 ~7 ~ minecraft:reinforced_deepslate/fill ~-6 ~8 ~-1 ~6 ~9 ~1 minecraft:deepslate_bricks/fill ~-2 ~8 ~ ~2 ~8 ~ minecraft:sea_lantern/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gate","c9_ctrl"],Invisible:1b,NoGravity:1b,Marker:1b}/summon minecraft:block_display ~-3.5 ~1 ~-0.4 {Tags:["c9_gate","c9_left"],Glowing:1b,glow_color_override:43775,teleport_duration:2,transformation:{translation:[0f,0f,0f],scale:[3.5f,7f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:chiseled_deepslate"}}/execute unless entity @e[tag=c9_right] run summon minecraft:block_display ~ ~1 ~-0.4 {Tags:["c9_gate","c9_right"],Glowing:1b,glow_color_override:43775,teleport_duration:2,transformation:{translation:[0f,0f,0f],scale:[3.5f,7f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:chiseled_deepslate"}}/scoreboard players add @e[tag=c9_ctrl] c9_timer 1/execute as @e[tag=c9_ctrl,scores={c9_timer=161..}] run scoreboard players set @s c9_timer 1/execute if entity @e[tag=c9_ctrl,scores={c9_timer=1..20}] run particle minecraft:dust{color:[0.0,0.9,1.0],scale:2.0} ~ ~4 ~ 0.1 2.5 0.6 0 15/execute if entity @e[tag=c9_ctrl,scores={c9_timer=21..70}] as @e[tag=c9_left] at @s run tp @s ~-0.06 ~ ~/execute if entity @e[tag=c9_ctrl,scores={c9_timer=21..70}] as @e[tag=c9_right] at @s run tp @s ~0.06 ~ ~/execute if entity @e[tag=c9_ctrl,scores={c9_timer=21..70}] run particle minecraft:campfire_cosy_smoke ~ ~1.1 ~ 2.5 0.1 0.5 0.01 3/execute if entity @e[tag=c9_ctrl,scores={c9_timer=21..70}] run particle minecraft:soul_fire_flame ~ ~1.2 ~ 2.0 0.2 0.5 0.02 4/execute if entity @e[tag=c9_ctrl,scores={c9_timer=71..100}] run particle minecraft:end_rod ~ ~4 ~ 1.5 2.2 0.2 0.02 8/execute if entity @e[tag=c9_ctrl,scores={c9_timer=101..150}] as @e[tag=c9_left] at @s run tp @s ~0.06 ~ ~/execute if entity @e[tag=c9_ctrl,scores={c9_timer=101..150}] as @e[tag=c9_right] at @s run tp @s ~-0.06 ~ ~/execute if entity @e[tag=c9_ctrl,scores={c9_timer=150}] run particle minecraft:explosion ~ ~4 ~ 0.2 2.0 0.2 0 5setup #10 Summons the left sliding door using a <code>block_display</code> scaled to 3.5 blocks wide, 7 blocks tall, and 0.8 blocks thick. Setting <code>teleport_duration:2</code> makes the entity interpolate its movement smoothly between ticks.loop #1 Checks if the right door exists and summons it on the first tick of the loop so both doors start perfectly aligned in the middle of the frame.loop #5 During ticks 21 to 70 (2.5 seconds), teleports the left door 0.06 blocks outward every tick, sliding it 3 blocks cleanly inside the outer pillar.loop #10 During ticks 101 to 150, reverses the direction by moving the doors 0.06 blocks inward per tick until they meet in the centre.


Recorded on our own test server: 69 frames at about 9.7 fps. Our image check saw: A stone brick archway has two cyan-outlined stone doors sliding sideways into the pillars while cyan particles, smoke, and white sparkles appear in the center.
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 player walks near it instead of looping on a timer, replace the timer increment command with /execute if entity @a[distance=..6] run scoreboard players add @e[tag=c9_ctrl,scores={c9_timer=..70}] c9_timer 1 to open up to tick 70, and step the score back down when no player is within 6 blocks.
/kill @e[tag=c9_gate]/fill ~-7 ~ ~-2 ~7 ~9 ~2 minecraft:air/scoreboard objectives remove c9_timerBlock display entities do not have collision boxes of their own. If you want physical collision while closed, you can fill and clear barrier blocks inside the doorway when the timer reaches the closed and open states.
The block_display entities use the teleport_duration NBT tag set to 2 ticks, which tells the Minecraft client to smoothly interpolate each 0.06-block step.
▶Smooth Hinged Portal DoorMachines & MechanismsEasy24 cmds
▶Gothic Cathedral Organ Pipe SymphonyMachines & MechanismsHard22 cmds
▶Self-Folding Damask Steel Katana ForgeMachines & MechanismsHard24 cmds
▶Self-Playing Hurdy-Gurdy Wheel CrankingMachines & MechanismsMedium23 cmds
▶Alchemical Transmutation Circle & Armillary SphereMachines & MechanismsMedium23 cmds
▶Animated Guillotine with Block DisplaysMachines & MechanismsMedium24 cmds