Automated Sliding Elevator Doors

Build smooth, modern sliding elevator doors in Minecraft Java Edition using block display entities, transformation interpolation, and particle effects.

Java EditionHolograms & Display EntitiesEasy24 commandsTested on a real 26.2 & 26.3 server
Glowing copper elevator doors slide open and closed on a glass kiosk with green and red indicator particles. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-4 ~-1 ~-2 ~4 ~5 ~2 minecraft:deepslate_tiles
  3. /fill ~-3 ~ ~-2 ~3 ~4 ~2 minecraft:air
  4. /fill ~-3 ~-1 ~-1 ~3 ~-1 ~1 minecraft:smooth_quartz
  5. /fill ~-3 ~5 ~-1 ~3 ~5 ~1 minecraft:sea_lantern
  6. /fill ~-3 ~ ~-2 ~3 ~4 ~2 minecraft:cyan_stained_glass outline
  7. /fill ~-2 ~ ~-2 ~2 ~3 ~2 minecraft:air
  8. /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"}}
  9. /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"}}
  10. /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}}}

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

  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"}}
  2. /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"}}
  3. /scoreboard players add #clock c9_timer 1
  4. /execute if score #clock c9_timer matches 100.. run scoreboard players set #clock c9_timer 0
  5. /execute if score #clock c9_timer matches 1..25 as @e[tag=c9_actor] at @s run tp @s ~ ~ ~0.18
  6. /execute if score #clock c9_timer matches 55..79 as @e[tag=c9_actor] at @s run tp @s ~ ~ ~-0.18
  7. /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]}}
  8. /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]}}
  9. /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]}}
  10. /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]}}
  11. /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
  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
  13. /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
  14. /execute if score #clock c9_timer matches 75..82 run particle minecraft:cloud ~ ~2.0 ~ 0.1 1.5 2.1 0.03 15

How it works

Frames from the test run

Automated Sliding Elevator Doors - frame 1Automated Sliding Elevator Doors - frame 2Automated Sliding Elevator Doors - frame 3

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.

Build it in your world

  1. Stand at the center of a flat area where you want your elevator lobby built.
  2. Run each of the 10 setup commands in order to build the deepslate and glass elevator frame, summon the copper door panels, and place the passenger.
  3. Place a line of 14 repeating command blocks set to Always Active near the stage.
  4. Paste one loop command into each repeating command block.
  5. Watch the elevator doors glide apart with green indicator lights and rail sparks as the passenger enters, then close with a burst of steam.

Use it with real players

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.

Remove it again 5 commands

  1. /kill @e[tag=c9_door]
  2. /kill @e[tag=c9_actor]
  3. /scoreboard objectives remove c9_timer
  4. /fill ~-4 ~ ~-2 ~4 ~5 ~2 minecraft:air
  5. /fill ~-4 ~-1 ~-2 ~4 ~-1 ~2 minecraft:grass_block

FAQ

Do block display doors physically block players from walking through?

No, 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.

How do I change the material of the elevator doors?

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.

Commands used

/data/execute/fill/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides