接口 ShulkerBullet

所有超级接口:
CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, Projectile, ServerOperator

public interface ShulkerBullet extends Projectile
  • 方法详细资料

    • getTarget

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

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