From 9513f42e87f64c409cdb2a100500a50e5a713bac Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Sat, 27 Dec 2025 22:02:00 -0600 Subject: Move Client struct to azalea crate (#297) * move the Client struct out of azalea-client into azalea * actually add client impls in azalea --- azalea/src/pathfinder/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea/src/pathfinder') diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 90b506e9..155261cc 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -66,9 +66,9 @@ use self::{ moves::{ExecuteCtx, IsReachedCtx, SuccessorsFn}, }; use crate::{ - WalkDirection, + Client, WalkDirection, app::{App, Plugin}, - bot::{BotClientExt, JumpEvent, LookAtEvent}, + bot::{JumpEvent, LookAtEvent}, ecs::{ component::Component, entity::Entity, @@ -229,7 +229,7 @@ pub trait PathfinderClientExt { fn is_goto_target_reached(&self) -> bool; } -impl PathfinderClientExt for azalea_client::Client { +impl PathfinderClientExt for Client { async fn goto(&self, goal: impl Goal + 'static) { self.goto_with_opts(goal, PathfinderOpts::new()).await; } -- cgit v1.2.3