Package org.bukkit
Class World.Spigot
- java.lang.Object
-
- org.bukkit.World.Spigot
-
-
Constructor Summary
Constructors Constructor Description Spigot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LightningStrike
strikeLightning(Location loc, boolean isSilent)
Strikes lightning at the givenLocation
and possibly without soundLightningStrike
strikeLightningEffect(Location loc, boolean isSilent)
Strikes lightning at the givenLocation
without doing damage and possibly without sound
-
-
-
Method Detail
-
strikeLightning
@NotNull public LightningStrike strikeLightning(@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 LightningStrike strikeLightningEffect(@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.
-
-