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.
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.
/scoreboard objectives add c9_t dummy/fill ~-3 ~-8 ~-3 ~3 ~-1 ~3 deepslate_bricks/fill ~-2 ~-7 ~-2 ~2 ~-1 ~2 stone/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 polished_blackstone/summon marker ~ ~ ~ {Tags:["c9_all","c9_ctrl"]}/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]}}/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]}}/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}}}/execute as @e[tag=c9_ctrl] run scoreboard players add @s c9_t 1/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 120.. run scoreboard players set @e[tag=c9_ctrl] c9_t 1/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run fill ~-2 ~-7 ~-2 ~2 ~-1 ~2 stone/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 polished_blackstone/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run tp @e[tag=c9_actor] ~-4 ~ ~/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run tp @e[tag=c9_mine] ~ ~ ~/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]/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 ~ ~/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/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 ~/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/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]/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]/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 18setup #6 Summons a <code>block_display</code> showing a <code>heavy_core</code> scaled flat to look like a metallic pressure pad mine with a red glowing outline.setup #7 Summons the thermal laser beam using an <code>ochre_froglight</code> block display with full brightness and a vertical scale initially set to zero.loop #10 Between ticks 26 and 36, the mine rapidly teleports upward 0.5 blocks per tick, springing 5.5 blocks into the air above the target.loop #12 At tick 38, the laser beam stretches vertically to 12.5 blocks tall, connecting the hovering mine straight down into the stone floor.


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.
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.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_t/fill ~-3 ~-8 ~-3 ~3 ~-1 ~3 dirt/fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 grass_blockThe 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.
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.