From 1d3a7c969f430a8cea4296930df0d6c04e253747 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 1 Jun 2025 09:57:54 -1245 Subject: add Client::entities_by and improve some docs --- azalea/src/pathfinder/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'azalea/src') diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 1b8a71c8..12b6f156 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -142,7 +142,7 @@ pub struct GotoEvent { pub entity: Entity, pub goal: Arc, /// The function that's used for checking what moves are possible. Usually - /// `pathfinder::moves::default_move` + /// [`moves::default_move`]. pub successors_fn: SuccessorsFn, /// Whether the bot is allowed to break blocks while pathfinding. @@ -198,6 +198,8 @@ impl PathfinderClientExt for azalea_client::Client { /// Pathfind to the given goal and wait until either the target is reached /// or the pathfinding is canceled. /// + /// You can use [`Self::start_goto`] instead if you don't want to wait. + /// /// ``` /// # use azalea::prelude::*; /// # use azalea::{BlockPos, pathfinder::goals::BlockPosGoal}; -- cgit v1.2.3