Lightning wand: snowballs call lightning where they land

Throw a snowball and lightning strikes the spot it hits, with a trail of sparks behind it in the air.

MediumGameplay5 commandsEvery command accepted by the game (1.26.66.1)

You need

1Get the ammo

Chat
/give @s snowball 16

A stack of snowballs to throw.

2Wire the wand

Repeating block first, then two chain blocks. All Always Active.

Repeating block
/execute at @e[type=snowball] run particle minecraft:electric_spark_particle ~ ~ ~

Leaves sparks along the flight path.

Chain block
/execute at @e[type=snowball] unless block ~ ~-1 ~ air run summon lightning_bolt ~ ~ ~

When the block just below the snowball is not air, it is about to land: strike there.

Chain block
/execute as @e[type=snowball] at @s unless block ~ ~-1 ~ air run kill @s

Removes the snowball so one throw gives one strike.

No command blocks? Use the function pack

This creation is included in the free 9Minecraft Command Creations behavior pack. Add the pack to your world, then type one command. It does the same thing as the command blocks above, driven by a tick function.

/function n9/lightning_snowball_wand_on

Turns it on. All the setup commands from the steps above run for you.

/function n9/lightning_snowball_wand_off

Turns it off again.

Download the pack (.mcpack) How to install it

How it works

A thrown snowball is an entity, so "execute at @e[type=snowball]" runs commands at its position every tick while it flies. The "unless block ~ ~-1 ~ air" test becomes true in the last tick before it touches the ground.

Make it your own

Turn it off

/gamerule commandblocksenabled false

Pauses the command blocks.

Commands used

More command creations

More from 9Minecraft

Command reference © 2026 9Minecraft.net. Syntax read from Minecraft Bedrock Edition 1.26.66.1.