Package | Description |
---|---|
org.bukkit.event.weather |
Events relating to weather. |
Modifier and Type | Method and Description |
---|---|
@NotNull LightningStrikeEvent.Cause |
LightningStrikeEvent.getCause()
Gets the cause of this lightning strike.
|
static LightningStrikeEvent.Cause |
LightningStrikeEvent.Cause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LightningStrikeEvent.Cause[] |
LightningStrikeEvent.Cause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
LightningStrikeEvent(@NotNull World world,
@NotNull LightningStrike bolt,
@NotNull LightningStrikeEvent.Cause cause) |
Copyright © 2021. All rights reserved.