Sculk Spike Trap

A motion-activated Deep Dark hazard that detects footsteps with a calibrated sculk sensor and erupts with glowing pointed dripstone spikes and fangs.

Java EditionMobs & PetsMedium24 commandsTested on a real 26.2 & 26.3 server
Glowing dripstone spikes and evoker fangs erupt from a sculk trap beneath a skeleton. Download the GIF Video & GIF © www.9minecraft.net

Undead & HorrorDarkHorrorCyanBlackAdventure MapMap MakingPvPBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Sounds21+ commands

The Sculk Spike Trap turns a quiet patch of Deep Dark blocks into a reactive hazard. A glowing calibrated sculk sensor sits at the center of an ancient deepslate ruin, waiting for footsteps. When a wandering skeleton steps onto the sculk pad, the sensor fires a cyan vibration pulse and triggers an eruption of glowing pointed dripstone spikes and evoker fangs right beneath its feet.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 deepslate_tiles
  3. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 sculk
  4. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~-4 chiseled_deepslate
  5. /fill ~-4 ~-1 ~4 ~4 ~-1 ~4 chiseled_deepslate
  6. /setblock ~-4 ~ ~-4 sculk_catalyst
  7. /setblock ~4 ~ ~-4 sculk_catalyst
  8. /setblock ~-4 ~ ~4 sculk_catalyst
  9. /setblock ~4 ~ ~4 sculk_catalyst
  10. /setblock ~ ~ ~ calibrated_sculk_sensor

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

  1. /scoreboard players add #c9_main c9_t 1
  2. /execute if score #c9_main c9_t matches 100.. run scoreboard players set #c9_main c9_t 1
  3. /execute if score #c9_main c9_t matches 2 run kill @e[tag=c9_ent]
  4. /execute if score #c9_main c9_t matches 3 run summon skeleton ~-4.5 ~ ~ {Tags:["c9_ent","c9_skel"],CustomName:{"text":"Trespasser","color":"aqua"},equipment:{head:{id:"minecraft:iron_helmet",count:1},mainhand:{id:"minecraft:bow",count:1}}}
  5. /execute if score #c9_main c9_t matches 4..34 as @e[tag=c9_skel] at @s run tp @s ~0.12 ~ ~ facing ~1 ~ ~
  6. /execute if score #c9_main c9_t matches 30 run particle sculk_charge_pop ~ ~0.5 ~ 0.8 0.3 0.8 0.05 45 force
  7. /execute if score #c9_main c9_t matches 30 run playsound block.sculk_sensor.clicking block @a ~ ~ ~ 2 0.7
  8. /execute if score #c9_main c9_t matches 34 as @e[tag=c9_skel] at @s run summon marker ~ ~ ~ {Tags:["c9_ent","c9_hit"]}
  9. /execute if score #c9_main c9_t matches 34 at @e[tag=c9_hit] run summon block_display ~-0.5 ~-2.4 ~-0.5 {Tags:["c9_ent","c9_sp"],block_state:{Name:"minecraft:pointed_dripstone",Properties:{thickness:"tip_merge",vertical_direction:"up"}},Glowing:1b,glow_color_override:43775,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,2.8f,1.2f]},interpolation_duration:4}
  10. /execute if score #c9_main c9_t matches 34 at @e[tag=c9_hit] run summon evoker_fangs ~ ~ ~ {Tags:["c9_ent"]}
  11. /execute if score #c9_main c9_t matches 35 at @e[tag=c9_hit] run summon evoker_fangs ~0.8 ~ ~0.8 {Tags:["c9_ent"]}
  12. /execute if score #c9_main c9_t matches 36 as @e[tag=c9_sp] run data merge entity @s {start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,2.4f,0f],scale:[1.2f,2.8f,1.2f]}}
  13. /execute if score #c9_main c9_t matches 37 at @e[tag=c9_hit] run particle sonic_boom ~ ~1.2 ~ 0.2 0.2 0.2 0 2 force
  14. /execute if score #c9_main c9_t matches 37 at @e[tag=c9_hit] run particle sculk_soul ~ ~0.6 ~ 0.7 0.8 0.7 0.06 35 force

How it works

Frames from the test run

Sculk Spike Trap - frame 1Sculk Spike Trap - frame 2Sculk Spike Trap - frame 3

Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: A skeleton walks onto a deepslate and sculk platform with a calibrated sculk sensor in the middle, triggering glowing cyan-outlined pointed dripstone spikes and evoker fangs to erupt beneath it.

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. Create a flat area and run the 10 setup commands in chat while standing where you want the center of the sculk ruin.
  2. Place 14 repeating command blocks in a row nearby and set all of them to Always Active.
  3. Paste each loop command into its own repeating command block in order from 1 to 14.
  4. Make sure the loop commands execute positioned at the center of your sculk sensor pad.
  5. Watch the skeleton walk onto the sculk pad and trigger the glowing dripstone spike eruption every 5 seconds.

Use it with real players

To make this trap trigger on real players or survival mobs instead of the demo skeleton, replace the timer condition on the trigger commands with proximity detection: /execute at @e[type=marker,tag=c9_trap_center] as @e[distance=..3.5,type=!marker,type=!block_display,type=!evoker_fangs] at @s run ... and use a short cooldown scoreboard so the spikes thrust upward whenever anyone steps onto the sculk pad.

Remove it again 4 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-5 ~ ~-5 ~5 ~1 ~5 air
  4. /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 grass_block

FAQ

Why does the pointed dripstone spike move smoothly instead of teleporting?

It uses a block_display entity with interpolation_duration set to 4 ticks. When we change its translation Y value from 0f to 2.4f, Minecraft smoothly animates the upward thrust.

Why wears the skeleton an iron helmet?

The iron helmet prevents the skeleton from catching fire if you test the trap during daytime, and shows how the equipment NBT compound works in Java 26.x.

Commands used

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

Similar creations

Join 9Minecraft News & Guides