Package org.bukkit
Class World.Spigot
java.lang.Object
org.bukkit.World.Spigot
- Enclosing interface:
- World
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstrikeLightning(Location loc, boolean isSilent) Deprecated.sound is now client side and cannot be removedstrikeLightningEffect(Location loc, boolean isSilent) Deprecated.sound is now client side and cannot be removed
-
Constructor Details
-
Spigot
public Spigot()
-
-
Method Details
-
strikeLightning
@NotNull @Deprecated public LightningStrike strikeLightning(@NotNull Location loc, boolean isSilent) Deprecated.sound is now client side and cannot be removedStrikes lightning at the givenLocationand possibly without sound- Parameters:
loc- The location to strike lightningisSilent- Whether this strike makes no sound- Returns:
- The lightning entity.
- See Also:
-
strikeLightningEffect
@NotNull @Deprecated public LightningStrike strikeLightningEffect(@NotNull Location loc, boolean isSilent) Deprecated.sound is now client side and cannot be removedStrikes lightning at the givenLocationwithout doing damage and possibly without sound- Parameters:
loc- The location to strike lightningisSilent- Whether this strike makes no sound- Returns:
- The lightning entity.
- See Also:
-