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.
You need
- 1 repeating command block
- 2 chain command blocks
- Snowballs
1Get the ammo
/give @s snowball 16A stack of snowballs to throw.
2Wire the wand
Repeating block first, then two chain blocks. All Always Active.
/execute at @e[type=snowball] run particle minecraft:electric_spark_particle ~ ~ ~Leaves sparks along the flight path.
/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.
/execute as @e[type=snowball] at @s unless block ~ ~-1 ~ air run kill @sRemoves 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_onTurns it on. All the setup commands from the steps above run for you.
/function n9/lightning_snowball_wand_offTurns it off again.
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
- Replace lightning_bolt with tnt for an explosive snowball, or with a mob such as chicken.
- Use type=egg or type=ender_pearl to turn a different throwable into the wand.
- Lightning starts fires. Run /gamerule dofiretick false if you do not want the area to burn.
Turn it off
/gamerule commandblocksenabled falsePauses the command blocks.
Commands used
More command creations
Coins HUD above the hotbarShows each player their own coin balance above the hotbar at all times, using a scoreboard and titleraw.Easy HUD · 7 commands · videoFlower trailFlowers grow wherever a tagged player walks on grass.Easy World · 3 commands
Particle halo above every playerA ring of glowing end rod sparks floats above the head of every player and follows them around.Easy Particles · 10 commands · videoMore from 9Minecraft
Command reference © 2026 9Minecraft.net. Syntax read from Minecraft Bedrock Edition 1.26.66.1.