Package org.bukkit

Class World.Spigot

java.lang.Object
org.bukkit.World.Spigot
Enclosing interface:
World

@Deprecated(forRemoval=true) public static class World.Spigot extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • Spigot

      public Spigot()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • strikeLightning

      @NotNull @Deprecated(since="1.20.4") public @NotNull LightningStrike strikeLightning(@NotNull @NotNull Location loc, boolean isSilent)
      Deprecated.
      sound is now client side and cannot be removed
      Strikes lightning at the given Location and possibly without sound
      Parameters:
      loc - The location to strike lightning
      isSilent - Whether this strike makes no sound
      Returns:
      The lightning entity.
      See Also:
    • strikeLightningEffect

      @NotNull @Deprecated(since="1.20.4") public @NotNull LightningStrike strikeLightningEffect(@NotNull @NotNull Location loc, boolean isSilent)
      Deprecated.
      sound is now client side and cannot be removed
      Strikes lightning at the given Location without doing damage and possibly without sound
      Parameters:
      loc - The location to strike lightning
      isSilent - Whether this strike makes no sound
      Returns:
      The lightning entity.
      See Also: