Build a heavy deepslate and copper airlock door that glides smoothly open and closed using block display entities and transformation interpolation.
Machines & MechanismsTechnologyIndustrialBlackOrangeCyanMap MakingAdventure MapDecorationBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)21+ commands
Traditional redstone piston doors are chunky and noisy, moving only one full block at a time. Using Minecraft's block_display entities and transformation interpolation, you can build a heavy stone and copper airlock whose panels glide seamlessly into the surrounding frame.
In this setup, a five-block wide doorway is sealed by four interlocking panels and a glowing central locking core. A repeating scoreboard timer drives the cycle automatically: the central lock twists and retracts upward, steam and sparks burst from the seam, and the heavy doors slide smoothly open and closed without being killed or reset.
/scoreboard objectives add c9_timer dummy/fill ~-5 ~ ~-2 ~5 ~6 ~2 deepslate_tiles/fill ~-4 ~1 ~-2 ~4 ~5 ~2 chiseled_copper/fill ~-2 ~1 ~-2 ~2 ~4 ~2 air/fill ~-5 ~ ~-3 ~5 ~ ~3 polished_deepslate/fill ~-2 ~ ~-1 ~2 ~ ~1 iron_block/setblock ~-3 ~5 ~-2 ochre_froglight/setblock ~3 ~5 ~-2 ochre_froglight/setblock ~ ~5 ~-2 verdant_froglight/summon marker ~ ~ ~ {Tags:["c9_airlock","c9_ctrl"]}/execute unless entity @e[tag=c9_L1] run summon block_display ~ ~1 ~ {Tags:["c9_airlock","c9_L1"],brightness:{sky:15,block:15},interpolation_duration:30,block_state:{Name:"minecraft:polished_deepslate"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,4.0f,1.2f],translation:[-2.5f,0.0f,-0.6f]}}/execute unless entity @e[tag=c9_L2] run summon block_display ~ ~1 ~ {Tags:["c9_airlock","c9_L2"],brightness:{sky:15,block:15},interpolation_duration:30,block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,4.0f,0.9f],translation:[-1.3f,0.0f,-0.45f]}}/execute unless entity @e[tag=c9_R2] run summon block_display ~ ~1 ~ {Tags:["c9_airlock","c9_R2"],brightness:{sky:15,block:15},interpolation_duration:30,block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,4.0f,0.9f],translation:[0.0f,0.0f,-0.45f]}}/execute unless entity @e[tag=c9_R1] run summon block_display ~ ~1 ~ {Tags:["c9_airlock","c9_R1"],brightness:{sky:15,block:15},interpolation_duration:30,block_state:{Name:"minecraft:polished_deepslate"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,4.0f,1.2f],translation:[1.2f,0.0f,-0.6f]}}/execute unless entity @e[tag=c9_bolt] run summon block_display ~ ~1 ~ {Tags:["c9_airlock","c9_bolt"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},interpolation_duration:20,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.9f,1.2f,1.4f],translation:[-0.45f,1.4f,-0.7f]}}/scoreboard players add @e[tag=c9_ctrl] c9_timer 1/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 120.. run scoreboard players set @e[tag=c9_ctrl] c9_timer 0/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 15 run data merge entity @e[tag=c9_L1,limit=1] {start_interpolation:0,interpolation_duration:30,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,4.0f,1.2f],translation:[-3.8f,0.0f,-0.6f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 15 run data merge entity @e[tag=c9_L2,limit=1] {start_interpolation:0,interpolation_duration:30,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,4.0f,0.9f],translation:[-3.7f,0.0f,-0.45f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 15 run data merge entity @e[tag=c9_R2,limit=1] {start_interpolation:0,interpolation_duration:30,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,4.0f,0.9f],translation:[2.4f,0.0f,-0.45f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 15 run data merge entity @e[tag=c9_R1,limit=1] {start_interpolation:0,interpolation_duration:30,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,4.0f,1.2f],translation:[2.5f,0.0f,-0.6f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 15 run data merge entity @e[tag=c9_bolt,limit=1] {start_interpolation:0,interpolation_duration:25,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.4f,0.6f,1.5f],translation:[-0.2f,3.3f,-0.75f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 75 run kill @e[tag=c9_airlock,type=block_display]/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 15..45 run particle cloud ~ ~2.5 ~ 0.2 1.5 0.5 0.03 3 forceloop #1 Summons the outer-left deepslate door panel if it does not exist yet. Its scale is stretched to 1.3 blocks wide and 4 blocks tall, and full brightness keeps it prevented from turning dark when sliding inside solid frame blocks.loop #5 Creates the central sea lantern lock bolt with an orange glow override so the seal point stands out against the copper panels.loop #8 At tick 15, merges a new translation vector and sets <code>start_interpolation:0</code> with <code>interpolation_duration:30</code>, causing the outer-left panel to glide smoothly into the left wall over 1.5 seconds.loop #12 Shrinks and slides the glowing central locking bolt upward into the lintel while the main copper and deepslate panels part ways.loop #14 Vents white steam clouds along the vertical door seam while the panels are sliding open.


Recorded on our own test server: 56 frames at about 9.3 fps. Our image check saw: A deepslate and copper airlock structure with four panels and a glowing central lock smoothly sliding open across the frames.
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 airlock open only when a player approaches instead of running on a timer, replace the timer check if score @e[tag=c9_ctrl,limit=1] c9_timer matches 15 with if entity @a[distance=..4] for the open state, and use unless entity @a[distance=..4] to merge the closed translation coordinates back into each panel. If you also want physical collision when the door is closed, place and remove barrier blocks inside the doorway with /fill ~-2 ~1 ~ ~2 ~4 ~ barrier synchronized with the door state.
/kill @e[tag=c9_airlock]/scoreboard objectives remove c9_timer/fill ~-5 ~ ~-3 ~5 ~6 ~3 airWhen a block_display entity slides inside a solid block wall, it normally samples the light level inside that solid block and turns pitch black. Setting sky and block brightness to 15 keeps the panels evenly lit throughout their slide.
Yes, block_display entities are purely visual and have no hitbox. For survival doors, pair the opening animation with a /fill command that clears or places barrier blocks in the doorway.
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Kinetic Moiré Pattern Interference SculptureMachines & MechanismsMedium23 cmds