Build smooth, modern sliding elevator doors in Minecraft Java Edition using block display entities, transformation interpolation, and particle effects.
Animated BlocksTechnologyIndustrialCyanOrangeGreenMap MakingDecorationServer LobbyBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Glowing outlines21+ commands
Traditional redstone piston doors are bulky and restricted to full-block movements. By using block display entities with smooth transformation interpolation, you can build sleek elevator doors that glide seamlessly into the walls when someone approaches.
In this demonstration, a glowing four-sided elevator kiosk features smooth copper doors on both the front and back, bright arrival indicator lights, mechanical rail sparks, and pneumatic steam vents as a passenger walks inside and back out.
/scoreboard objectives add c9_timer dummy/fill ~-4 ~-1 ~-2 ~4 ~5 ~2 minecraft:deepslate_tiles/fill ~-3 ~ ~-2 ~3 ~4 ~2 minecraft:air/fill ~-3 ~-1 ~-1 ~3 ~-1 ~1 minecraft:smooth_quartz/fill ~-3 ~5 ~-1 ~3 ~5 ~1 minecraft:sea_lantern/fill ~-3 ~ ~-2 ~3 ~4 ~2 minecraft:cyan_stained_glass outline/fill ~-2 ~ ~-2 ~2 ~3 ~2 minecraft:air/summon minecraft:block_display ~ ~ ~-2 {Tags:["c9_door","c9_left"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.0f,4.0f,0.3f],translation:[-2.0f,0.0f,0.35f]},block_state:{Name:"minecraft:cut_copper"}}/summon minecraft:block_display ~ ~ ~-2 {Tags:["c9_door","c9_right"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.0f,4.0f,0.3f],translation:[0.0f,0.0f,0.35f]},block_state:{Name:"minecraft:cut_copper"}}/summon minecraft:armor_stand ~ ~ ~-4.5 {Tags:["c9_actor"],NoGravity:1b,Glowing:1b,ShowArms:1b,equipment:{head:{id:"minecraft:player_head",count:1},chest:{id:"minecraft:golden_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}/execute unless entity @e[tag=c9_back] run summon minecraft:block_display ~ ~ ~2 {Tags:["c9_door","c9_left","c9_back"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.0f,4.0f,0.3f],translation:[-2.0f,0.0f,-0.65f]},block_state:{Name:"minecraft:cut_copper"}}/execute if score #clock c9_timer matches 1 unless entity @e[tag=c9_back_r] run summon minecraft:block_display ~ ~ ~2 {Tags:["c9_door","c9_right","c9_back_r"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.0f,4.0f,0.3f],translation:[0.0f,0.0f,-0.65f]},block_state:{Name:"minecraft:cut_copper"}}/scoreboard players add #clock c9_timer 1/execute if score #clock c9_timer matches 100.. run scoreboard players set #clock c9_timer 0/execute if score #clock c9_timer matches 1..25 as @e[tag=c9_actor] at @s run tp @s ~ ~ ~0.18/execute if score #clock c9_timer matches 55..79 as @e[tag=c9_actor] at @s run tp @s ~ ~ ~-0.18/execute if score #clock c9_timer matches 10 as @e[tag=c9_left] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.4f,4.0f,0.3f],translation:[-2.4f,0.0f,0.35f]}}/execute if score #clock c9_timer matches 10 as @e[tag=c9_right] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.4f,4.0f,0.3f],translation:[2.0f,0.0f,0.35f]}}/execute if score #clock c9_timer matches 60 as @e[tag=c9_left] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.0f,4.0f,0.3f],translation:[-2.0f,0.0f,0.35f]}}/execute if score #clock c9_timer matches 60 as @e[tag=c9_right] run data merge entity @s {start_interpolation:0,interpolation_duration:18,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.0f,4.0f,0.3f],translation:[0.0f,0.0f,0.35f]}}/execute if score #clock c9_timer matches 10..59 run particle minecraft:dust{color:[0.1,1.0,0.3],scale:2.0} ~ ~4.3 ~ 1.2 0.1 2.2 0 12/execute if score #clock c9_timer matches 60..99 run particle minecraft:dust{color:[1.0,0.2,0.1],scale:2.0} ~ ~4.3 ~ 1.2 0.1 2.2 0 12/execute if score #clock c9_timer matches 10..28 run particle minecraft:electric_spark ~ ~4.0 ~ 1.8 0.1 2.1 0.05 10/execute if score #clock c9_timer matches 75..82 run particle minecraft:cloud ~ ~2.0 ~ 0.1 1.5 2.1 0.03 15setup #8 Summons the left sliding door panel using a <code>block_display</code> entity scaled to 2 blocks wide, 4 blocks tall, and 0.3 blocks thick, with full brightness and cyan glowing.setup #10 Summons the passenger stand-in using the <code>equipment</code> NBT compound so the armor and player head render properly in Java 26.x.loop #7 At tick 10, merges a new <code>transformation</code> into the left door panels with <code>start_interpolation:0</code> and <code>interpolation_duration:18</code>, smoothly sliding and folding them open over 18 ticks.loop #9 At tick 60, interpolates the left door panels back to their closed width of <code>2.0f</code> and center alignment.loop #11 Displays bright green arrival indicator particles above both door frames while the doors are open, switching to red in command 11 when closing.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A small deepslate and glass kiosk with glowing cyan-outlined copper doors that smoothly slide open and closed, emitting green and red particles around a villager inside.
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 doors open automatically when a real player walks up to the elevator instead of using a timer, remove the clock and actor commands and test for proximity with /execute if entity @a[distance=..3.5] as @e[tag=c9_left] run data merge entity @s ... for the open state, and /execute unless entity @a[distance=..3.5] as @e[tag=c9_left] run data merge entity @s ... for the closed state.
/kill @e[tag=c9_door]/kill @e[tag=c9_actor]/scoreboard objectives remove c9_timer/fill ~-4 ~ ~-2 ~4 ~5 ~2 minecraft:air/fill ~-4 ~-1 ~-2 ~4 ~-1 ~2 minecraft:grass_blockNo, block display entities are purely visual. If you want physical collision while closed, fill the doorway with barrier blocks when the doors finish closing and replace them with air when opening.
Change block_state:{Name:"minecraft:cut_copper"} in the summon commands to any block you like, such as minecraft:iron_block, minecraft:quartz_block, or minecraft:tinted_glass.
▶Animated Garage Door CycleAnimated BlocksEasy24 cmds
▶Rapid-Rise Skyscraper GeneratorAnimated BlocksMedium21 cmds
▶Subterranean House RiseAnimated BlocksHard24 cmds
▶Tumbling Gravity CubeAnimated BlocksMedium24 cmds
▶Endless Descent Optical IllusionAnimated BlocksMedium24 cmds
▶Self-Assembling Iron SpireAnimated BlocksHard24 cmds