| Package | Description | 
|---|---|
| org.bukkit | 
 More generalized classes in the API. 
 | 
| org.bukkit.event.entity | |
| org.bukkit.event.weather | 
Events relating to weather. | 
| Modifier and Type | Method | Description | 
|---|---|---|
LightningStrike | 
World.Spigot.strikeLightning(Location loc,
               boolean isSilent) | 
 Strikes lightning at the given  
Location and possibly without sound | 
LightningStrike | 
World.strikeLightning(Location loc) | 
 Strikes lightning at the given  
Location | 
LightningStrike | 
World.Spigot.strikeLightningEffect(Location loc,
                     boolean isSilent) | 
 Strikes lightning at the given  
Location without doing damage and possibly without sound | 
LightningStrike | 
World.strikeLightningEffect(Location loc) | 
 Strikes lightning at the given  
Location without doing damage | 
| Modifier and Type | Method | Description | 
|---|---|---|
LightningStrike | 
CreeperPowerEvent.getLightning() | 
 Gets the lightning bolt which is striking the Creeper. 
 | 
LightningStrike | 
PigZapEvent.getLightning() | 
 Gets the bolt which is striking the pig. 
 | 
| Constructor | Description | 
|---|---|
CreeperPowerEvent(Creeper creeper,
                 LightningStrike bolt,
                 CreeperPowerEvent.PowerCause cause) | 
|
PigZapEvent(Pig pig,
           LightningStrike bolt,
           PigZombie pigzombie) | 
| Modifier and Type | Method | Description | 
|---|---|---|
LightningStrike | 
LightningStrikeEvent.getLightning() | 
 Gets the bolt which is striking the earth. 
 | 
| Constructor | Description | 
|---|---|
LightningStrikeEvent(World world,
                    LightningStrike bolt) | 
 Deprecated.  
 | 
LightningStrikeEvent(World world,
                    LightningStrike bolt,
                    LightningStrikeEvent.Cause cause) | 
Copyright © 2020. All rights reserved.