Interface ShulkerBullet

All Superinterfaces:
Audience, CommandSender, Entity, HoverEventSource<HoverEvent.ShowEntity>, Metadatable, Nameable, Permissible, PersistentDataHolder, 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