接口 SpectralArrow

所有超级接口:
AbstractArrow, CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, Projectile, ServerOperator

public interface SpectralArrow extends AbstractArrow
代表一支光灵箭.
  • 方法详细资料

    • getGlowingTicks

      int getGlowingTicks()
      获取此箭矢施加发光效果的持续时间.

      原文: Returns the amount of time that this arrow will apply the glowing effect for.

      返回:
      发光效果的刻数
    • setGlowingTicks

      void setGlowingTicks(int duration)
      设置施加发光效果的持续时间.

      原文: Sets the amount of time to apply the glowing effect for.

      参数:
      duration - 发光效果的刻数