Mechanical Sci-Fi Iris Airlock

Build an 8-blade sci-fi circular iris airlock in vanilla Minecraft using block display transformation matrices, smooth interpolation, and steam effects.

Java EditionHolograms & Display EntitiesHard24 commandsTested on a real 26.2 & 26.3 server
A mechanical iris airlock door made of copper and iron blades opens inside a deepslate frame. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsTechnologyIndustrialOrangeCyanBlackMap MakingAdventure MapDecorationBlock displaysSmooth animation (interpolation)Riding & passengersSummoned mobsBlock building (fill/setblock/clone)Sounds21+ commands

Standard piston doors can only push full blocks along flat grid lines, leaving curved sci-fi blast doors out of reach. This command creation uses eight block_display blades mounted around a circular perimeter inside a dark deepslate and iron bulkhead, complete with a glowing central lock core.

On an automated cycle, the orange core twists to unlock, pressurized smoke vents across the catwalk, and all eight metallic blades spiral smoothly outward to reveal a glowing cyan portal before sealing shut again.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-6 ~ ~-2 ~6 ~10 ~2 minecraft:polished_deepslate
  3. /fill ~-5 ~1 ~-1 ~5 ~9 ~1 minecraft:iron_block
  4. /fill ~-3 ~2 ~-2 ~3 ~8 ~2 minecraft:air
  5. /fill ~-3 ~1 ~-5 ~3 ~1 ~5 minecraft:polished_deepslate_slab[type=top]
  6. /fill ~-4 ~9 ~-2 ~4 ~9 ~2 minecraft:sea_lantern
  7. /summon minecraft:block_display ~0.5 ~5.5 ~0.5 {Tags:["c9_all","c9_core"],Glowing:1b,glow_color_override:16744192,brightness:{sky:15,block:15},block_state:{Name:"minecraft:shroomlight"},transformation:{left_rotation:[0f,0f,0.3827f,0.9239f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,0.9f],translation:[0f,-1.27f,-0.45f]}}
  8. /summon minecraft:block_display ~0.5 ~5.5 ~0.5 {Tags:["c9_all","c9_b"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0.9239f,0.3827f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f],translation:[3.2f,0f,-0.28f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_all","c9_b"],Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_oxidized_cut_copper"},transformation:{left_rotation:[0f,0f,1f,0f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f],translation:[2.26f,2.26f,-0.24f]}},{id:"minecraft:block_display",Tags:["c9_all","c9_b"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0.9239f,-0.3827f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f],translation:[0f,3.2f,-0.2f]}}]}
  9. /summon minecraft:block_display ~0.5 ~5.5 ~0.5 {Tags:["c9_all","c9_b"],Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_oxidized_cut_copper"},transformation:{left_rotation:[0f,0f,0.7071f,-0.7071f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f],translation:[-2.26f,2.26f,-0.16f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_all","c9_b"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0.3827f,-0.9239f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f],translation:[-3.2f,0f,-0.12f]}},{id:"minecraft:block_display",Tags:["c9_all","c9_b"],Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_oxidized_cut_copper"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f],translation:[-2.26f,-2.26f,-0.08f]}}]}
  10. /summon minecraft:block_display ~0.5 ~5.5 ~0.5 {Tags:["c9_all","c9_b"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0.3827f,0.9239f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f],translation:[0f,-3.2f,-0.04f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_all","c9_b"],Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:waxed_oxidized_cut_copper"},transformation:{left_rotation:[0f,0f,0.7071f,0.7071f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f],translation:[2.26f,-2.26f,0f]}}]}

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

  1. /scoreboard players add #t c9_t 1
  2. /execute if score #t c9_t matches 140.. run scoreboard players set #t c9_t 0
  3. /execute if score #t c9_t matches 8 run data merge entity @e[tag=c9_core,limit=1] {start_interpolation:0,interpolation_duration:14,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,1.3f,1.1f],translation:[-0.65f,-0.65f,-0.55f]}}
  4. /execute if score #t c9_t matches 22 as @e[tag=c9_b] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{right_rotation:[0f,0f,-0.6756f,0.7373f],scale:[2.0f,2.0f,0.42f]}}
  5. /execute if score #t c9_t matches 22 run data merge entity @e[tag=c9_core,limit=1] {start_interpolation:0,interpolation_duration:16,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.01f,0.01f,0.01f],translation:[0f,0f,0f]}}
  6. /execute if score #t c9_t matches 90 as @e[tag=c9_b] run data merge entity @s {start_interpolation:0,interpolation_duration:32,transformation:{right_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,0.42f]}}
  7. /execute if score #t c9_t matches 118 run data merge entity @e[tag=c9_core,limit=1] {start_interpolation:0,interpolation_duration:14,transformation:{left_rotation:[0f,0f,0.3827f,0.9239f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,0.9f],translation:[0f,-1.27f,-0.45f]}}
  8. /execute if score #t c9_t matches 8 run playsound minecraft:block.beacon.activate master @a ~0.5 ~5.5 ~0.5 2 1.2
  9. /execute if score #t c9_t matches 22 run playsound minecraft:block.piston.contract master @a ~0.5 ~5.5 ~0.5 2 0.5
  10. /execute if score #t c9_t matches 90 run playsound minecraft:block.piston.extend master @a ~0.5 ~5.5 ~0.5 2 0.5
  11. /execute if score #t c9_t matches 122 run playsound minecraft:block.iron_trapdoor.close master @a ~0.5 ~5.5 ~0.5 2 0.6
  12. /execute if score #t c9_t matches 20..55 run particle minecraft:campfire_cosy_smoke ~0.5 ~2.2 ~0.5 1.8 0.2 0.8 0.02 4
  13. /execute if score #t c9_t matches 42..90 run particle minecraft:dust{color:[0.1,0.9,1.0],scale:1.8} ~0.5 ~5.5 ~0.5 1.4 1.4 0.3 0 8
  14. /execute unless score #t c9_t matches 26..87 run particle minecraft:electric_spark ~0.5 ~5.5 ~0.5 1.8 1.8 0.6 0.15 5

How it works

Frames from the test run

Mechanical Sci-Fi Iris Airlock - frame 1Mechanical Sci-Fi Iris Airlock - frame 2Mechanical Sci-Fi Iris Airlock - frame 3

Recorded on our own test server: 69 frames at about 9.8 fps. Our image check saw: Inside a deepslate and iron archway, eight glowing copper and iron block displays form a central iris door with an orange shroomlight core that twists and retracts outward amidst smoke and cyan 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 at the spot where you want the center of your airlock and run the 10 setup commands in order to build the bulkhead, walkway, central lock core, and eight iris blades.
  2. Place 14 repeating command blocks (or 1 repeating command block feeding a chain of 13 chain command blocks) nearby and set them all to Always Active.
  3. Paste one loop command into each block in order, using execute positioned <x> <y> <z> run ... if your command blocks are placed away from the airlock center.
  4. Switch the time to night or build the housing inside a dark corridor so the self-lit blades, glowing outlines, and cyan portal particles stand out clearly.
  5. Watch the 7-second mechanical cycle as the core unlocks, steam vents across the floor, and the eight blades spiral open and closed.

Use it with real players

To make the airlock open automatically when a player approaches instead of cycling on a timer, replace the scoreboard timer in the first two loop commands with a proximity check such as /execute if entity @a[distance=..6] to trigger the open merge commands and /execute unless entity @a[distance=..6] to trigger the close merge commands, adding a barrier block fill inside the doorway while closed so players can only walk through when the blades retract.

Remove it again 3 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-6 ~ ~-5 ~6 ~10 ~5 minecraft:air

FAQ

Why do all eight blades open in different directions from a single command?

Each blade stores its own hinge offset in translation and its own 45-degree angle in left_rotation during setup. Updating only right_rotation and uniform XY scale pivots every blade locally around its own outer pin while preserving its base angle.

Can players walk through the open airlock?

Yes. Block display entities have no collision hitbox on their own, and the central 7x7 opening is carved with air blocks above a slab walkway. For survival bases, you can fill and clear barrier blocks in sync with the open and close ticks.

Commands used

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

Similar creations

Join 9Minecraft News & Guides