strikeLightningEffect

public LightningStrike strikeLightningEffect(Location loc, boolean isSilent)

Strikes lightning at the given Location without doing damage and possibly without sound

Return

The lightning entity.

Parameters

loc

The location to strike lightning

isSilent

Whether this strike makes no sound