Package org.bukkit
Class World.Spigot
java.lang.Object
org.bukkit.World.Spigot
- Enclosing interface:
- World
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstrikeLightning(@NotNull Location loc, boolean isSilent)
Strikes lightning at the givenLocation
and possibly without soundstrikeLightningEffect(@NotNull Location loc, boolean isSilent)
Strikes lightning at the givenLocation
without doing damage and possibly without sound
-
Constructor Details
-
Spigot
public Spigot()
-
-
Method Details
-
strikeLightning
@NotNull public @NotNull LightningStrike strikeLightning(@NotNull @NotNull Location loc, boolean isSilent)Strikes lightning at the givenLocation
and possibly without sound- Parameters:
loc
- The location to strike lightningisSilent
- Whether this strike makes no sound- Returns:
- The lightning entity.
-
strikeLightningEffect
@NotNull public @NotNull LightningStrike strikeLightningEffect(@NotNull @NotNull Location loc, boolean isSilent)Strikes lightning at the givenLocation
without doing damage and possibly without sound- Parameters:
loc
- The location to strike lightningisSilent
- Whether this strike makes no sound- Returns:
- The lightning entity.
-