Build a seamless quicksand trap in Minecraft using block display entities and commands that slowly pulls unsuspecting mobs under the desert floor.
Animated BlocksNatureYellowAdventure MapMap MakingPvPBlock displaysSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
Traditional quicksand traps in Minecraft rely on cobwebs, which always look obvious to anyone walking by. By using block display entities stretched over a hidden pit, you can create a patch of sand that looks completely normal from the outside.
In this setup, desert husks spawn at the edge of an oasis and wander across the false floor. As soon as they step onto the display blocks, they are gripped by an invisible force, slowly sinking beneath the swirling grains until they suffocate underground.
/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_sink dummy/fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 sandstone/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 sand/fill ~-4 ~-3 ~-4 ~4 ~-3 ~4 sandstone/fill ~-3 ~-2 ~-3 ~3 ~-1 ~3 air/setblock ~-4 ~ ~-4 dead_bush/setblock ~4 ~ ~-3 cactus/summon block_display ~-3 ~-1.01 ~-3 {Tags:["c9_qs","c9_disp"],block_state:{Name:"minecraft:sand"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[7f,1.02f,7f],translation:[0f,0f,0f]}}/summon marker ~ ~ ~ {Tags:["c9_ctrl","c9_qs"]}/scoreboard players add @e[tag=c9_ctrl] c9_t 1/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 140.. run scoreboard players set @e[tag=c9_ctrl] c9_t 0/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run summon husk ~-4.5 ~ ~ {Tags:["c9_victim","c9_qs"],CustomName:{"text":"Wanderer","color":"gold"},Glowing:1b}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 70 run summon husk ~ ~ ~-4.5 {Tags:["c9_victim","c9_qs"],CustomName:{"text":"Explorer","color":"yellow"},Glowing:1b}/execute as @e[tag=c9_victim] at @s unless score @s c9_sink matches 1.. run tp @s ~ ~ ~ facing ~ ~ ~/execute as @e[tag=c9_victim] at @s unless score @s c9_sink matches 1.. run tp @s ^ ^ ^0.09/execute positioned ~-2.6 ~-3 ~-2.6 as @e[tag=c9_victim,dx=4.2,dy=4,dz=4.2] unless score @s c9_sink matches 1.. run scoreboard players set @s c9_sink 1/execute as @e[tag=c9_victim,scores={c9_sink=1..130}] run scoreboard players add @s c9_sink 1/execute as @e[tag=c9_victim,scores={c9_sink=1..130}] run data merge entity @s {NoAI:1b,Silent:1b}/execute as @e[tag=c9_victim,scores={c9_sink=1..120}] at @s run tp @s ~ ~-0.018 ~ ~4 ~/execute at @e[tag=c9_victim,scores={c9_sink=1..95}] run particle block{block_state:{Name:"minecraft:sand"}} ~ ~0.2 ~ 0.35 0.05 0.35 0.1 6/execute at @e[tag=c9_victim,scores={c9_sink=1..95}] run particle dust{color:[0.85,0.78,0.55],scale:1.4} ~ ~0.1 ~ 0.3 0.05 0.3 0.01 2/execute as @e[tag=c9_victim,scores={c9_sink=85..125}] at @s run damage @s 2 minecraft:in_wall/kill @e[tag=c9_victim,scores={c9_sink=126..}]setup #9 Summons a single <code>block_display</code> entity with the appearance of sand and scales it to 7x1.02x7 blocks so it covers the entire 7x7 hollow pit without any hitbox.loop #7 Detects when a wandering mob enters the 7x7 pit area using a volume selector (<code>dx=4.2,dy=4,dz=4.2</code>) and starts their individual <code>c9_sink</code> timer.loop #9 Disables the mob's AI once trapped so it stops trying to jump or swim out, letting our teleport command control its vertical movement smoothly.loop #10 Teleports the trapped mob down by <code>0.018</code> blocks every tick while slightly rotating it, creating a slow, struggling spiral motion into the sand.loop #13 Once the mob's head dips below the block display surface (around 85 ticks into sinking), deals <code>in_wall</code> suffocation damage until the mob perishes.


Recorded on our own test server: 57 frames at about 9.5 fps. Our image check saw: A husk with a glowing outline walks onto a large stretched sand block display entity and sinks down into it before taking damage.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make this trap catch real players and survival mobs instead of just the demo husks, delete loop commands 2 through 5 (which spawn and steer the demo husks). Then replace tag=c9_victim in loop commands 6 through 13 with type=!block_display,type=!marker,type=!item, and replaces the NoAI:1b merge with /effect give @s slowness 2 5 true so players can feel the heavy pull of the sand.
/kill @e[tag=c9_qs]/scoreboard objectives remove c9_t/scoreboard objectives remove c9_sink/fill ~-6 ~-3 ~-6 ~6 ~-1 ~6 grass_block/fill ~-6 ~ ~-6 ~6 ~2 ~6 airthe moment the mob touches the edge of the pit, its AI is turned off with NoAI:1b. Entities without AI do not experience normal gravity, allowing the repeating teleport command to lower them at a controlled, steady speed.
Yes! Change minecraft:sand in setup command 9 (the block_display) and loop command 11 (the block particle) to minecraft:mud or minecraft:soul_sand to match any biome.
/damage/data/execute/fill/kill/particle/scoreboard/setblock/summon/tp
▶Levitating Bonsai Season CycleAnimated BlocksMedium24 cmds
▶Self-Assembling Terrarium in a BottleAnimated BlocksHard21 cmds
▶Automated Regrowing Mystical TreeAnimated BlocksMedium20 cmds
▶Botanical Blossom TransformationAnimated BlocksEasy24 cmds
▶Crystalline Geode Blooming SequenceAnimated BlocksMedium24 cmds
▶Micro-Block DioramaAnimated BlocksMedium24 cmds