程序包 org.bukkit

# 类 World.Spigot

java.lang.Object
org.bukkit.World.Spigot

封闭接口:
  World

public static class World.Spigot extends Object

- ## 构造器概要

  构造器
  构造器
  说明
  `Spigot()`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull LightningStrike`
  `strikeLightning(@NotNull Location loc, boolean isSilent)`
  已过时。
  sound is now client side and cannot be removed
  `@NotNull LightningStrike`
  `strikeLightningEffect(@NotNull Location loc, boolean isSilent)`
  已过时。
  sound is now client side and cannot be removed

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### Spigot

    public Spigot()

- ## 方法详细资料

  - ### strikeLightning

    @NotNull @Deprecated public @NotNull LightningStrike strikeLightning(@NotNull @NotNull Location loc, boolean isSilent)
    已过时。
    sound is now client side and cannot be removed
    Strikes lightning at the given `Location` and possibly without sound
    参数:
      `loc` - The location to strike lightning
      `isSilent` - Whether this strike makes no sound
    返回:
      The lightning entity.
    另请参阅:
      - `World.strikeLightning(org.bukkit.Location)`

  - ### strikeLightningEffect

    @NotNull @Deprecated public @NotNull LightningStrike strikeLightningEffect(@NotNull @NotNull Location loc, boolean isSilent)
    已过时。
    sound is now client side and cannot be removed
    Strikes lightning at the given `Location` without doing damage and possibly without sound
    参数:
      `loc` - The location to strike lightning
      `isSilent` - Whether this strike makes no sound
    返回:
      The lightning entity.
    另请参阅:
      - `World.strikeLightningEffect(org.bukkit.Location)`