Haunted Shifting Floor

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.

Java EditionHolograms & Display EntitiesMedium22 commandsTested on a real 26.2 & 26.3 server
Deepslate floor tiles with cyan outlines slide apart to reveal a glowing soul fire pit beneath. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 9 commands

  1. /fill ~-6 ~-4 ~-8 ~6 ~-1 ~8 minecraft:deepslate_tiles
  2. /fill ~-5 ~-3 ~-7 ~5 ~-1 ~7 minecraft:air
  3. /fill ~-5 ~-3 ~-7 ~5 ~-3 ~7 minecraft:soul_soil
  4. /fill ~-5 ~-2 ~-7 ~5 ~-2 ~7 minecraft:soul_fire
  5. /fill ~-3 ~-1 ~-7 ~3 ~-1 ~7 minecraft:barrier
  6. /fill ~-6 ~ ~-8 ~-4 ~ ~8 minecraft:polished_deepslate_slab
  7. /fill ~4 ~ ~-8 ~6 ~ ~8 minecraft:polished_deepslate_slab
  8. /summon minecraft:marker ~ ~ ~-7 {Tags:["c9_gen"]}
  9. /summon minecraft:marker ~ ~ ~-10 {Tags:["c9_wave"]}

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

  1. /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}
  2. /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}
  3. /execute as @e[tag=c9_gen] at @s run tp @s ~ ~ ~1
  4. /execute if entity @e[tag=c9_gen,distance=..15] unless entity @e[tag=c9_gen,distance=..7.5] run kill @e[tag=c9_gen]
  5. /execute as @e[tag=c9_wave] at @s run tp @s ~ ~ ~0.25
  6. /execute if entity @e[tag=c9_wave,distance=..25] unless entity @e[tag=c9_wave,distance=..11] run tp @e[tag=c9_wave] ~ ~ ~-10
  7. /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]}}
  8. /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]}}
  9. /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]}}
  10. /execute at @e[tag=c9_R] run fill ~-2 ~ ~ ~1 ~ ~ minecraft:barrier replace minecraft:air
  11. /execute at @e[tag=c9_wave] run fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:air replace minecraft:barrier
  12. /execute at @e[tag=c9_wave] run particle minecraft:soul_fire_flame ~ ~-1.5 ~ 1.8 0.4 2.2 0.03 10 force
  13. /execute at @e[tag=c9_wave] run particle minecraft:sculk_soul ~ ~-0.5 ~ 1.5 0.5 2.0 0.02 4 force

How it works

Frames from the test run

Haunted Shifting Floor - frame 1Haunted Shifting Floor - frame 2Haunted Shifting Floor - frame 3

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.

Build it in your world

  1. Stand at the center of a flat area where you want the hallway built.
  2. Run each command from the setup list once in chat to carve out the soul fire pit, place the borders, and spawn the generator and wave markers.
  3. Place a line of 13 repeating command blocks set to Always Active near your build.
  4. Paste the 13 loop commands into the repeating command blocks in order.
  5. Watch the floor tiles generate down the hall and start sliding open as the spectral wave passes through.

Use it with real players

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.

Remove it again 6 commands

  1. /kill @e[tag=c9_tile]
  2. /kill @e[tag=c9_gen]
  3. /kill @e[tag=c9_wave]
  4. /fill ~-6 ~-4 ~-8 ~6 ~-1 ~8 minecraft:dirt
  5. /fill ~-6 ~-1 ~-8 ~6 ~-1 ~8 minecraft:grass_block
  6. /fill ~-6 ~ ~-8 ~6 ~ ~8 minecraft:air

FAQ

Why can players walk on the floor when block displays have no hitbox?

The 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.

How do I change the speed of the floor opening?

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.

Commands used

/data/execute/fill/kill/particle/summon/tp

Similar creations

Join 9Minecraft News & Guides