M HYPE SPLASH
// news

How can I summon Lighting in a certain spot?

By John Campbell

For a little things I'm doing I need to make charged creepers. However, finding one in the wild is almost impossible and I need to have people see the creepers change into charged creepers, therefore using /summon to summon a charged creeper won't work. Is there a command to summon lightning?

2

2 Answers

You can do /summon LightningBolt which will hit the place that your standing.

Or the better way is to do:

/execute @e[type=Creeper,r=20] ~ ~ ~ /summon LightningBolt

Which will spawn lightning directly on all creepers within a 20 block radius.

Lightning is an entity, and can be summoned with the summon command:

/summon LightningBolt