Interface ShulkerBullet

All Superinterfaces:
Audience, CommandSender, Entity, HoverEventSource<HoverEvent.ShowEntity>, Metadatable, Nameable, Permissible, PersistentDataHolder, Pointered, Projectile, ServerOperator, Sound.Emitter

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