Interface SpectralArrow

All Superinterfaces:
AbstractArrow, net.kyori.adventure.audience.Audience, CommandSender, DataComponentView, Entity, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, Metadatable, Nameable, Permissible, PersistentDataHolder, PersistentDataViewHolder, net.kyori.adventure.pointer.Pointered, Projectile, ServerOperator, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.sound.Sound.Source.Provider

public interface SpectralArrow extends AbstractArrow
Represents a spectral arrow.
Since:
1.9.4
  • Method Details

    • getGlowingTicks

      int getGlowingTicks()
      Returns the amount of time that this arrow will apply the glowing effect for.
      Returns:
      the glowing effect ticks
      Since:
      1.9.4
    • setGlowingTicks

      void setGlowingTicks(int duration)
      Sets the amount of time to apply the glowing effect for.
      Parameters:
      duration - the glowing effect ticks
      Since:
      1.9.4