Transform a deepslate hall into a haunted shifting floor where glowing cyan tiles slide apart to reveal a soul fire chasm as an invisible wave sweeps past.
Animated BlocksHorrorDarkNetherCyanBlueBlackAdventure MapMap MakingMini-gameBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands
The Haunted Shifting Floor turns a solid deepslate walkway into an animated trap. As an invisible wave moves down the corridor, the floor tiles light up with a bright cyan outline and smoothly slide apart to the left and right, exposing a glowing soul fire pit underneath before closing back up.
It uses block displays with smooth interpolation for the sliding tiles and swaps out invisible barrier blocks in real time so players can actually fall into the gap when the floor opens.
/fill ~-6 ~-4 ~-8 ~6 ~-1 ~8 minecraft:deepslate_tiles/fill ~-5 ~-3 ~-7 ~5 ~-1 ~7 minecraft:air/fill ~-5 ~-3 ~-7 ~5 ~-3 ~7 minecraft:soul_soil/fill ~-5 ~-2 ~-7 ~5 ~-2 ~7 minecraft:soul_fire/fill ~-3 ~-1 ~-7 ~3 ~-1 ~7 minecraft:barrier/fill ~-6 ~ ~-8 ~-4 ~ ~8 minecraft:polished_deepslate_slab/fill ~4 ~ ~-8 ~6 ~ ~8 minecraft:polished_deepslate_slab/summon minecraft:marker ~ ~ ~-7 {Tags:["c9_gen"]}/summon minecraft:marker ~ ~ ~-10 {Tags:["c9_wave"]}/execute as @e[tag=c9_gen] at @s run summon minecraft:block_display ~-3 ~-1 ~ {Tags:["c9_tile","c9_L"],glow_color_override:5636095,block_state:{Name:"minecraft:deepslate_tiles"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3f,1f,1f]},interpolation_duration:10}/execute as @e[tag=c9_gen] at @s run summon minecraft:block_display ~ ~-1 ~ {Tags:["c9_tile","c9_R"],glow_color_override:5636095,block_state:{Name:"minecraft:deepslate_tiles"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3f,1f,1f]},interpolation_duration:10}/execute as @e[tag=c9_gen] at @s run tp @s ~ ~ ~1/execute if entity @e[tag=c9_gen,distance=..15] unless entity @e[tag=c9_gen,distance=..7.5] run kill @e[tag=c9_gen]/execute as @e[tag=c9_wave] at @s run tp @s ~ ~ ~0.25/execute if entity @e[tag=c9_wave,distance=..25] unless entity @e[tag=c9_wave,distance=..11] run tp @e[tag=c9_wave] ~ ~ ~-10/execute as @e[tag=c9_tile] at @s unless entity @e[tag=c9_wave,distance=..4.2] run data merge entity @s {start_interpolation:0,Glowing:0b,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3f,1f,1f]}}/execute as @e[tag=c9_L] at @s if entity @e[tag=c9_wave,distance=..4.2] run data merge entity @s {start_interpolation:0,Glowing:1b,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-2.6f,0.05f,0f],scale:[3f,1f,1f]}}/execute as @e[tag=c9_R] at @s if entity @e[tag=c9_wave,distance=..4.2] run data merge entity @s {start_interpolation:0,Glowing:1b,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[2.6f,0.05f,0f],scale:[3f,1f,1f]}}/execute at @e[tag=c9_R] run fill ~-2 ~ ~ ~1 ~ ~ minecraft:barrier replace minecraft:air/execute at @e[tag=c9_wave] run fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:air replace minecraft:barrier/execute at @e[tag=c9_wave] run particle minecraft:soul_fire_flame ~ ~-1.5 ~ 1.8 0.4 2.2 0.03 10 force/execute at @e[tag=c9_wave] run particle minecraft:sculk_soul ~ ~-0.5 ~ 1.5 0.5 2.0 0.02 4 forceloop #1 The generator marker steps along the hallway once during the first 15 ticks, summoning paired left and right <code>block_display</code> tiles scaled 3 blocks wide with a cyan <code>glow_color_override</code>.loop #5 Moves the invisible <code>c9_wave</code> marker down the corridor at 0.25 blocks per tick, resetting it back to the start once it passes the far end of the hall.loop #8 When the wave marker comes within 4.2 blocks of a tile, the left and right display entities enable their cyan glow and interpolate 2.6 blocks outward to open the floor.loop #11 Clears the invisible barrier blocks right around the wave so entities and players can fall into the soul fire pit while the visual tiles are slid open.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A deepslate walkway splits open as cyan-outlined floor sections slide apart in a wave, revealing glowing blue soul fire and particles underneath.
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 floor react directly to players instead of an automatic wave, remove the c9_wave marker and replace @e[tag=c9_wave,distance=..4.2] with @a[distance=..3.5] in the loop commands so the floor opens right underneath anyone who tries to walk across.
/kill @e[tag=c9_tile]/kill @e[tag=c9_gen]/kill @e[tag=c9_wave]/fill ~-6 ~-4 ~-8 ~6 ~-1 ~8 minecraft:dirt/fill ~-6 ~-1 ~-8 ~6 ~-1 ~8 minecraft:grass_block/fill ~-6 ~ ~-8 ~6 ~ ~8 minecraft:airThe setup places a layer of invisible barrier blocks across the walkway, and the loop commands break and replace those barriers in sync with the sliding display tiles.
Change the 0.25 value in the wave teleport command to adjust how fast the wave travels, or change interpolation_duration on the block displays to make the tiles slide faster or slower.
▶Sculk and Bone Faction RevealAnimated BlocksMedium25 cmds
▶Pulsating Living Flesh FloorAnimated BlocksMedium24 cmds
▶Levitating Shattered Obelisk Magnetic ReassemblyAnimated BlocksHard24 cmds
▶Boss Arena Gate RevealAnimated BlocksMedium24 cmds
▶Flowing Sculk CorruptionAnimated BlocksMedium24 cmds
▶Spreading Liquid Sculk FloodAnimated BlocksMedium23 cmds