Mojira Archive
MC-64623

Lightning bolts cannot be targeted by selectors

The bug

Lightning bolts (lightning_bolt) cannot be targeted by selectors.
However their id can be used as type argument value (explanation in this comment).

How to reproduce

Have two command blocks, one constantly spawning lightning bolts, the other running for example

/execute as @e[type=lightning_bolt] run say Found