mojira.dev
MC-87361

Execute not working on lightning

When trying to use execute on lightning, it yields no result.

To recreate this big place a Repeating commandblock with the command

/execute @e[type=LightningBolt] ~ ~ ~ say foo

and power the commandblock.

Then summon a LightningBolt via

/summon LightningBolt

and you will see that there is no output or "foo" from the lightning

Linked issues

Comments 3

Probably intended as LightningBolt is no "real" entity.
Else probably duplicate of MC-47832

My bad, I searched "lightning" and didn't see it come up so I figured it wasn't reported!

[Mod] redstonehelper

Please don't mark future versions as affected.

AJ

(Unassigned)

Unconfirmed

Minecraft 15w35b

Retrieved