Package | Description |
---|---|
com.destroystokyo.paper.event.entity | |
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 and Description |
---|---|
@NotNull LightningStrike |
EntityZapEvent.getBolt()
Gets the lightning bolt that is striking the entity.
|
Constructor and Description |
---|
EntityZapEvent(@NotNull Entity entity,
@NotNull LightningStrike bolt,
@NotNull Entity replacementEntity) |
Modifier and Type | Method and Description |
---|---|
@NotNull LightningStrike |
World.strikeLightning(@NotNull Location loc)
Strikes lightning at the given
Location |
@NotNull LightningStrike |
World.Spigot.strikeLightning(@NotNull Location loc,
boolean isSilent)
Strikes lightning at the given
Location and possibly without sound |
@NotNull LightningStrike |
World.strikeLightningEffect(@NotNull Location loc)
Strikes lightning at the given
Location without doing damage |
@NotNull LightningStrike |
World.Spigot.strikeLightningEffect(@NotNull Location loc,
boolean isSilent)
Strikes lightning at the given
Location without doing damage and possibly without sound |
Modifier and Type | Method and 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 and 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 and Description |
---|---|
@NotNull LightningStrike |
LightningStrikeEvent.getLightning()
Gets the bolt which is striking the earth.
|
Constructor and Description |
---|
LightningStrikeEvent(@NotNull World world,
@NotNull LightningStrike bolt)
Deprecated.
|
LightningStrikeEvent(@NotNull World world,
@NotNull LightningStrike bolt,
@NotNull LightningStrikeEvent.Cause cause) |
Copyright © 2021. All rights reserved.