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