aboutsummaryrefslogtreecommitdiff
path: root/azalea/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src')
-rw-r--r--azalea/src/pathfinder/mod.rs4
1 files changed, 3 insertions, 1 deletions
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<dyn Goal>,
/// 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};