Interface ShulkerBullet

All Superinterfaces:
net.kyori.adventure.audience.Audience, CommandSender, Entity, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, Metadatable, Nameable, Permissible, PersistentDataHolder, net.kyori.adventure.pointer.Pointered, Projectile, ServerOperator

public interface ShulkerBullet extends Projectile
  • Method Details

    • getTarget

      Retrieve the target of this bullet.
      Returns:
      the targeted entity
    • setTarget

      void setTarget(@Nullable @Nullable Entity target)
      Sets the target of this bullet
      Parameters:
      target - the entity to target