Interface EvokerFangs

All Superinterfaces:
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, ServerOperator, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.sound.Sound.Source.Provider

public interface EvokerFangs extends Entity
Represents Evoker Fangs.
Since:
1.11
  • Method Details

    • getOwner

      @Nullable @Nullable LivingEntity getOwner()
      Gets the LivingEntity which summoned the fangs.
      Returns:
      the LivingEntity which summoned the fangs
      Since:
      1.11
    • setOwner

      void setOwner(@Nullable @Nullable LivingEntity owner)
      Sets the LivingEntity which summoned the fangs.
      Parameters:
      owner - the LivingEntity which summoned the fangs
      Since:
      1.11
    • getAttackDelay

      int getAttackDelay()
      Get the delay in ticks until the fang attacks.
      Returns:
      the delay
      Since:
      1.20.2
    • setAttackDelay

      void setAttackDelay(int delay)
      Set the delay in ticks until the fang attacks.
      Parameters:
      delay - the delay, must be positive
      Since:
      1.20.2