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 and Description |
---|---|
LightningStrike |
World.strikeLightning(Location loc)
Strikes lightning at the given
Location |
LightningStrike |
World.Spigot.strikeLightning(Location loc,
boolean isSilent)
Strikes lightning at the given
Location and possibly without sound |
LightningStrike |
World.strikeLightningEffect(Location loc)
Strikes lightning at the given
Location without doing damage |
LightningStrike |
World.Spigot.strikeLightningEffect(Location loc,
boolean isSilent)
Strikes lightning at the given
Location without doing damage and possibly without sound |
Modifier and Type | Method and Description |
---|---|
LightningStrike |
PigZapEvent.getLightning()
Gets the bolt which is striking the pig.
|
LightningStrike |
CreeperPowerEvent.getLightning()
Gets the lightning bolt which is striking the Creeper.
|
Constructor and Description |
---|
CreeperPowerEvent(Creeper creeper,
LightningStrike bolt,
CreeperPowerEvent.PowerCause cause) |
PigZapEvent(Pig pig,
LightningStrike bolt,
PigZombie pigzombie) |
Modifier and Type | Method and Description |
---|---|
LightningStrike |
LightningStrikeEvent.getLightning()
Gets the bolt which is striking the earth.
|
Constructor and Description |
---|
LightningStrikeEvent(World world,
LightningStrike bolt) |
Copyright © 2015. All rights reserved.