Interface ShulkerBullet

All Superinterfaces:
CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, Projectile, ServerOperator

public interface ShulkerBullet extends Projectile
  • Method Details

    • getTarget

      @Nullable Entity getTarget()
      Retrieve the target of this bullet.
      Returns:
      the targeted entity
    • setTarget

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