Package org.bukkit
Class World.Spigot
java.lang.Object
org.bukkit.World.Spigot
- Enclosing interface:
- World
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorDescriptionSpigot()
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstrikeLightning
(@NotNull Location loc, boolean isSilent) Deprecated.sound is now client side and cannot be removedstrikeLightningEffect
(@NotNull Location loc, boolean isSilent) Deprecated.sound is now client side and cannot be removed
-
Constructor Details
-
Spigot
public Spigot()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
strikeLightning
@NotNull @Deprecated public @NotNull LightningStrike strikeLightning(@NotNull @NotNull Location loc, boolean isSilent) Deprecated.sound is now client side and cannot be removedStrikes 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.
- See Also:
-
strikeLightningEffect
@NotNull @Deprecated public @NotNull LightningStrike strikeLightningEffect(@NotNull @NotNull Location loc, boolean isSilent) Deprecated.sound is now client side and cannot be removedStrikes 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.
- See Also:
-