Bouncing Drill Mine Command

Build a Bouncing Drill Mine in Minecraft Java Edition using block displays that springs into the air when stepped on and fires a thermal laser downward.

Java EditionWands, Weapons & ToolsMedium22 commandsTested on a real 26.2 & 26.3 server
A bouncing mine hovers in the air and shoots a fiery beam down at an armor stand. Download the GIF Video & GIF © www.9minecraft.net

TrapsTechnologyFireRedOrangePvPAdventure MapMap MakingBlock displaysArmor standsBlock building (fill/setblock/clone)21+ commands

The Bouncing Drill Mine sits disguised as a compact pressure pad on a stone target pad. The moment an armored intruder walks across the trigger zone, the mine flashes red and launches straight up into the air on a plume of smoke.

Once locked in position above the target, the mine activates a glowing thermal laser beam that drills straight downward, blasting through the stone pad in a shower of sparks, flames, and shattered blocks.

1. Setup - type these once 8 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-3 ~-8 ~-3 ~3 ~-1 ~3 deepslate_bricks
  3. /fill ~-2 ~-7 ~-2 ~2 ~-1 ~2 stone
  4. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 polished_blackstone
  5. /summon marker ~ ~ ~ {Tags:["c9_all","c9_ctrl"]}
  6. /summon block_display ~ ~ ~ {Tags:["c9_all","c9_mine"],Glowing:1b,glow_color_override:16724736,block_state:{Name:"minecraft:heavy_core"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,0f,-0.4f],scale:[0.8f,0.4f,0.8f]}}
  7. /summon block_display ~ ~ ~ {Tags:["c9_all","c9_beam"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:ochre_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.15f,0f,-0.15f],scale:[0.3f,0f,0.3f]}}
  8. /summon armor_stand ~-4 ~ ~ {Tags:["c9_all","c9_actor"],NoGravity:1b,Rotation:[-90f,0f],equipment:{head:{id:"minecraft:iron_helmet",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}

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

  1. /execute as @e[tag=c9_ctrl] run scoreboard players add @s c9_t 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 120.. run scoreboard players set @e[tag=c9_ctrl] c9_t 1
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run fill ~-2 ~-7 ~-2 ~2 ~-1 ~2 stone
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 polished_blackstone
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run tp @e[tag=c9_actor] ~-4 ~ ~
  6. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run tp @e[tag=c9_mine] ~ ~ ~
  7. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run data modify entity @e[tag=c9_beam,limit=1] transformation.scale set value [0.3f,0f,0.3f]
  8. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 2..25 as @e[tag=c9_actor] at @s run tp @s ~0.16 ~ ~
  9. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 20..25 at @e[tag=c9_mine] run particle dust{color:[1.0,0.1,0.0],scale:1.8} ~ ~0.3 ~ 0.3 0.1 0.3 0 8
  10. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 26..36 as @e[tag=c9_mine] at @s run tp @s ~ ~0.5 ~
  11. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 26..36 at @e[tag=c9_mine] run particle cloud ~ ~ ~ 0.15 0.15 0.15 0.03 5
  12. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 38 run data modify entity @e[tag=c9_beam,limit=1] transformation.scale set value [0.35f,12.5f,0.35f]
  13. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 38 run data modify entity @e[tag=c9_beam,limit=1] transformation.translation set value [-0.175f,-7.0f,-0.175f]
  14. /execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 40..85 run particle flame ~ ~1 ~ 0.2 3.0 0.2 0.04 18

How it works

Frames from the test run

Bouncing Drill Mine Command - frame 1Bouncing Drill Mine Command - frame 2Bouncing Drill Mine Command - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A glowing red block launches upward on a trail of smoke above an armor stand on a stone pad, then fires a vertical stream of flame particles downward.

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 mine pad to appear.
  2. Run each of the 8 setup commands in chat to create the scoreboard timer, target pad, mine display, laser display, and test target.
  3. Place 14 repeating command blocks set to Always Active near your build.
  4. Paste one loop command into each repeating command block.
  5. Watch the armored dummy walk over the pad, trigger the bounding mine, and get hit by the downward thermal laser.

Use it with real players

To make the mine trigger when a real player steps on it instead of using the looping timer and armor stand, remove the c9_actor commands and advance the c9_t score only after detecting a player near the mine with /execute at @e[tag=c9_mine] if entity @a[distance=..1.5] run scoreboard players set @e[tag=c9_ctrl] c9_t 20. You can also deal damage during the laser phase with /execute at @e[tag=c9_mine] run damage @a[dx=0,dy=-7,dz=0] 6 minecraft:magic.

Remove it again 4 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-3 ~-8 ~-3 ~3 ~-1 ~3 dirt
  4. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 grass_block

FAQ

Why does the laser glow so brightly in the dark?

The laser block display uses an ochre froglight with a custom brightness NBT override of sky 15 and block 15, plus an orange glow color override.

Can I change how high the mine bounces before firing?

Yes, change the Y offset in the tenth loop command from ~0.5 to a higher or lower value, and adjust the laser beam scale in the twelfth loop command to match.

Commands used

/data/execute/fill/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides