Package org.bukkit
Class World.Spigot
java.lang.Object
org.bukkit.World.Spigot
- Enclosing interface:
- World
Deprecated.
Unsupported api
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstrikeLightning
(@NotNull Location loc, boolean isSilent) Deprecated.The lightning strike sound has been moved into the client and this doesn't prevent the sound being played.strikeLightningEffect
(@NotNull Location loc, boolean isSilent) Deprecated.The lightning strike sound has been moved into the client and this doesn't prevent the sound being played.
-
Constructor Details
-
Spigot
public Spigot()Deprecated.
-
-
Method Details
-
strikeLightning
@NotNull @Deprecated public @NotNull LightningStrike strikeLightning(@NotNull @NotNull Location loc, boolean isSilent) Deprecated.The lightning strike sound has been moved into the client and this doesn't prevent the sound being played. Use the regular (non spigot) methods instead for a consistent behavior.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 @Deprecated public @NotNull LightningStrike strikeLightningEffect(@NotNull @NotNull Location loc, boolean isSilent) Deprecated.The lightning strike sound has been moved into the client and this doesn't prevent the sound being played. Use the regular (non spigot) methods instead for a consistent behavior.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.
-