Late to the party, but you can use this.
/execute at [player] run summon minecraft:lightning_bolt ~ ~ ~
Summons summons lightning bolt at player position. ~ ~ ~~ ~ ~
is needed. You can also use @r@r
, @a@a
and others in place of [player][player]
. Apparently you need the atat
part before the runrun
part.
chicks
- 1.4k
- 2
- 18
- 31