From 43b7d6aad17eaf2656fcb8edc2122edfd93f539f Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 16 Jan 2026 03:01:33 -0600 Subject: pathfinder tweaks, and add a way to enable baritone compat for debugging --- azalea/examples/testbot/commands/movement.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'azalea/examples') diff --git a/azalea/examples/testbot/commands/movement.rs b/azalea/examples/testbot/commands/movement.rs index 06c7ebd1..3f015f2c 100644 --- a/azalea/examples/testbot/commands/movement.rs +++ b/azalea/examples/testbot/commands/movement.rs @@ -210,4 +210,11 @@ pub fn register(commands: &mut CommandDispatcher>) { *source.state.task.lock() = BotTask::None; 1 })); + commands.register(literal("forcestop").executes(|ctx: &Ctx| { + let source = ctx.source.lock(); + source.bot.force_stop_pathfinding(); + source.reply("ok"); + *source.state.task.lock() = BotTask::None; + 1 + })); } -- cgit v1.2.3