Build a sci-fi decontamination chamber in vanilla Minecraft with sliding blast doors, mist nozzles, laser scanners, and warning sirens.
Fountains & SpraysTechnologySpaceIndustrialWhiteGreenOrangeMap MakingAdventure MapDecorationBlock displaysArmor standsSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsGlowing outlines21+ commands
Step into a futuristic decontamination chamber built purely with vanilla commands. This automated airlock seals its heavy blast doors on a repeating schedule, locking an armored test subject inside while overhead nozzles flood the room with pressurized disinfectant mist and swirling chemical clouds.
During the sterilization cycle, a glowing green laser bar sweeps down from the ceiling to scan the chamber, while amber hazard beacons flash above the gateways. Every sequence is driven by a scoreboard timer and smooth block display animations, needing no mods or resource packs.
/scoreboard objectives add c9_timer dummy/scoreboard players set #airlock c9_timer 0/fill ~-3 ~ ~-4 ~3 ~5 ~4 iron_block hollow/fill ~-2 ~1 ~-4 ~2 ~4 ~4 air/fill ~-3 ~1 ~-2 ~3 ~4 ~2 cyan_stained_glass/fill ~-2 ~1 ~-3 ~2 ~4 ~3 air/fill ~-2 ~ ~-3 ~2 ~ ~3 polished_deepslate/fill ~-1 ~5 ~-2 ~1 ~5 ~2 sea_lantern/summon armor_stand ~ ~1 ~ {Tags:["c9_entity","c9_actor"],NoGravity:1b,ShowArms:1b,equipment:{head:{id:"minecraft:glass"},chest:{id:"minecraft:iron_chestplate"},legs:{id:"minecraft:iron_leggings"},feet:{id:"minecraft:iron_boots"}}}/summon block_display ~ ~1 ~ {Tags:["c9_entity","c9_scanner"],Glowing:1b,glow_color_override:65280,block_state:{Name:"minecraft:lime_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-2f,3.6f,-0.1f],scale:[4f,0.15f,0.2f]}}/scoreboard players add #airlock c9_timer 1/execute if score #airlock c9_timer matches 160.. run scoreboard players set #airlock c9_timer 0/execute if score #airlock c9_timer matches 20 run fill ~-1 ~1 ~-4 ~1 ~4 ~-4 iron_bars/execute if score #airlock c9_timer matches 20 run fill ~-1 ~1 ~4 ~1 ~4 ~4 iron_bars/execute if score #airlock c9_timer matches 20 run playsound block.iron_door.close master @a ~ ~2 ~ 1 0.7/execute if score #airlock c9_timer matches 140 run fill ~-1 ~1 ~-4 ~1 ~4 ~-4 air/execute if score #airlock c9_timer matches 140 run fill ~-1 ~1 ~4 ~1 ~4 ~4 air/execute if score #airlock c9_timer matches 140 run playsound block.iron_door.open master @a ~ ~2 ~ 1 0.7/execute if score #airlock c9_timer matches 25..135 run particle cloud ~ ~4.5 ~ 1.2 0.2 1.8 0.08 8 force/execute if score #airlock c9_timer matches 25..135 run particle dust{color:[0.2,1.0,0.8],scale:1.5} ~ ~2.5 ~ 1.4 1.2 2.0 0 12 force/execute if score #airlock c9_timer matches 20..140 run particle dust{color:[1.0,0.6,0.0],scale:2.0} ~ ~4.5 ~-4.3 0.6 0.1 0.1 0 5 force/execute if score #airlock c9_timer matches 20..140 run particle dust{color:[1.0,0.6,0.0],scale:2.0} ~ ~4.5 ~4.3 0.6 0.1 0.1 0 5 force/execute if score #airlock c9_timer matches 30 run data merge entity @e[tag=c9_scanner,limit=1] {start_interpolation:0,interpolation_duration:50,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-2f,0.2f,-0.1f],scale:[4f,0.15f,0.2f]}}/execute if score #airlock c9_timer matches 85 run data merge entity @e[tag=c9_scanner,limit=1] {start_interpolation:0,interpolation_duration:50,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-2f,3.6f,-0.1f],scale:[4f,0.15f,0.2f]}}setup #3 Builds the main 7x6x9 iron shell of the airlock chamber around the center of the stage.setup #10 Summons a glowing lime glass <code>block_display</code> stretched into a thin horizontal bar to act as the overhead laser scanner.loop #1 Advances the <code>c9_timer</code> scoreboard clock by 1 every tick. The full cycle takes 160 ticks (8 seconds).loop #3 At tick 20, seals the front entrance with iron bars and triggers a heavy door closing sound.loop #9 Between ticks 25 and 135, jets white <code>cloud</code> particles downward from the ceiling vents alongside cyan sterilization dust.loop #13 At tick 30, uses <code>interpolation_duration:50</code> to smoothly glide the laser scanner beam from the ceiling down to the floor over 2.5 seconds.


Recorded on our own test server: 64 frames at about 9.1 fps. Our image check saw: A white quartz chamber encloses an armored stand with iron bar doors, spraying orange, green, and white particles while a green laser bar moves down from the top.
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 clear status effects and sterilize real players inside the chamber, remove the dummy armor stand with /kill @e[tag=c9_actor] and add a repeating command block running /execute if score #airlock c9_timer matches 80 run effect clear @a[x=~-2,y=~1,z=~-3,dx=4,dy=3,dz=6] along with /execute if score #airlock c9_timer matches 80 run effect give @a[x=~-2,y=~1,z=~-3,dx=4,dy=3,dz=6] regeneration 4 1 true.
/kill @e[tag=c9_entity]/fill ~-3 ~ ~-4 ~3 ~5 ~4 air/scoreboard objectives remove c9_timerYes. Edit the RGB values inside <code>dust{color:[0.2,1.0,0.8],scale:1.5}</code> in the loop commands. The three numbers represent Red, Green, and Blue from 0.0 to 1.0.
The setup and loop commands use relative coordinates (<code>~ ~ ~</code>). If your repeating command blocks are not at the center of the room, prefix the block commands with <code>execute positioned X Y Z run</code> using the exact center coordinates of the chamber floor.
▶Diamond Compression BlastFountains & SpraysEasy19 cmds
▶Dynamic RGB Color Mixer ChamberFountains & SpraysMedium24 cmds
▶Countdown Doomsday BlastFountains & SpraysHard21 cmds
▶Floating Hourglass of Golden StardustFountains & SpraysMedium24 cmds
▶Fracturing Prince Rupert's Drop ExplosionFountains & SpraysHard24 cmds
▶Area Effect Laser ShowFountains & SpraysEasy23 cmds