Spellbound Quicksand Oasis Trap

Turn a peaceful desert oasis into an arcane quicksand whirlpool with spinning display entities, glowing runes, and orbital sinkhole physics in Minecraft.

Java EditionMagic & SpellsHard24 commandsTested on a real 26.2 & 26.3 server
Desert oasis palm springing into a quicksand trap Download the GIF Video & GIF © www.9minecraft.net

Earth & Nature MagicNatureMysticYellowBlueGreenAdventure MapPvPBoss FightBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands

What looks like a calm desert oasis with a palm tree and clear water suddenly springs to life as an arcane hazard. Glowing runes spin around the rim while the sandstone floor breaks apart into dozens of floating blocks, spiraling inward and downward into a churning quicksand vortex alongside the sinking tree.

This creation relies on block_display entities paired with local coordinate math (^ ^ ^) and facing commands to generate smooth orbital whirlpool physics without any mods or data packs.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:sandstone
  3. /fill ~-7 ~-1 ~-7 ~7 ~-1 ~7 minecraft:cut_sandstone
  4. /fill ~-5 ~-3 ~-5 ~5 ~-1 ~5 minecraft:chiseled_sandstone
  5. /fill ~-4 ~-2 ~-4 ~4 ~-1 ~4 minecraft:air
  6. /setblock ~ ~-3 ~ minecraft:sea_lantern
  7. /summon minecraft:marker ~ ~ ~ {Tags:["c9_all","c9_core"]}
  8. /summon minecraft:block_display ~ ~-0.8 ~ {Tags:["c9_all","c9_pond"],Glowing:1b,glow_color_override:43775,teleport_duration:2,block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{translation:[-3.2f,0f,-3.2f],scale:[6.4f,0.4f,6.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /summon minecraft:block_display ~ ~-1 ~ {Tags:["c9_all","c9_palm"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:jungle_log"},transformation:{translation:[-0.45f,0f,-0.45f],scale:[0.9f,5.2f,0.9f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /summon minecraft:block_display ~ ~4.0 ~ {Tags:["c9_all","c9_frond"],Glowing:1b,glow_color_override:5635925,teleport_duration:2,block_state:{Name:"minecraft:jungle_leaves",Properties:{persistent:"true"}},transformation:{translation:[-2.5f,0f,-2.5f],scale:[5.0f,1.1f,5.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}

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

  1. /execute as @e[tag=c9_core] run scoreboard players add @s c9_timer 1
  2. /execute as @e[tag=c9_core,scores={c9_timer=170..}] run scoreboard players set @s c9_timer 1
  3. /execute if entity @e[tag=c9_core,scores={c9_timer=1}] as @e[tag=c9_palm] run tp @s ~ ~-1 ~ 0 0
  4. /execute if entity @e[tag=c9_core,scores={c9_timer=1}] as @e[tag=c9_frond] run tp @s ~ ~4.0 ~ 0 0
  5. /execute if entity @e[tag=c9_core,scores={c9_timer=2..115}] as @e[tag=c9_core] at @s rotated ~28 ~ run tp @s ~ ~ ~ ~ ~
  6. /execute if entity @e[tag=c9_core,scores={c9_timer=2..100}] as @e[tag=c9_core] at @s positioned ^ ^ ^5.8 run summon minecraft:block_display ~ ~-0.3 ~ {Tags:["c9_all","c9_sand"],Glowing:1b,glow_color_override:16766720,teleport_duration:2,block_state:{Name:"minecraft:sand"},transformation:{translation:[-0.55f,-0.55f,-0.55f],scale:[1.1f,0.85f,1.1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  7. /execute if entity @e[tag=c9_core,scores={c9_timer=2..115}] as @e[tag=c9_core] at @s positioned ^ ^0.2 ^5.8 run particle minecraft:dust{color:[1.0,0.45,0.0],scale:2.4} ~ ~ ~ 0.25 0.25 0.25 0 8 force
  8. /execute if entity @e[tag=c9_core,scores={c9_timer=2..115}] as @e[tag=c9_sand] at @s facing ~ ~-2.4 ~ run tp @s ^0.48 ^-0.015 ^0.13 ~12 ~4
  9. /execute if entity @e[tag=c9_core,scores={c9_timer=2..115}] as @e[tag=c9_sand,distance=..1.2] run kill @s
  10. /execute if entity @e[tag=c9_core,scores={c9_timer=15..115}] as @e[tag=c9_pond] at @s run tp @s ~ ~ ~ ~14 ~
  11. /execute if entity @e[tag=c9_core,scores={c9_timer=25..115}] as @e[tag=c9_palm] at @s run tp @s ~ ~-0.035 ~ ~16 ~
  12. /execute if entity @e[tag=c9_core,scores={c9_timer=25..115}] as @e[tag=c9_frond] at @s run tp @s ~ ~-0.035 ~ ~-20 ~
  13. /execute if entity @e[tag=c9_core,scores={c9_timer=116..155}] as @e[tag=c9_sand] at @s facing ~ ~8 ~ run tp @s ^0.55 ^0.38 ^0.22 ~22 ~-12
  14. /execute if entity @e[tag=c9_core,scores={c9_timer=20..155}] run particle minecraft:totem_of_undying ~ ~0.5 ~ 2.4 1.6 2.4 0.35 18 force

How it works

Frames from the test run

Spellbound Quicksand Oasis Trap - frame 1Spellbound Quicksand Oasis Trap - frame 2Spellbound Quicksand Oasis Trap - frame 3

Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: A palm tree oasis on sand springs to life as glowing runes and sinking sand appear.

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 open area where you want the oasis trap to appear.
  2. Run each of the 10 setup commands in chat or in an impulse command block located at the stage center.
  3. Place a repeating command block set to Always Active at the exact same center position (or wrap the commands with execute positioned at the center).
  4. Chain 13 chain command blocks (Always Active, Unconditional) above or behind the repeating block and paste the 14 loop commands in order.
  5. Watch the oasis spin into an arcane quicksand whirlpool, swallow the palm tree, erupt in a sand geyser, and reset automatically.

Use it with real players

To make the quicksand trap pull real players into the sinkhole, add a repeating command block running /execute at @e[tag=c9_core,scores={c9_timer=20..115}] as @a[distance=..6] at @s facing ~ ~-2 ~ run tp @s ^0.18 ^ ^0.08 ~ ~ to drag nearby adventurers toward the center drain.

Remove it again 3 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-9 ~-3 ~-9 ~9 ~-1 ~9 minecraft:grass_block

FAQ

Why did my block display spin off-center when I changed its scale?

Block displays pivot around their minimum corner by default. To keep a display centered when rotating, set its X and Z translation values to negative half of its X and Z scale values.

Does this trap cause lag over time?

No. Sand display blocks are automatically deleted as soon as they reach the center drain of the whirlpool, and the entire cycle resets every 170 ticks.

Commands used

/execute/fill/kill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides