From ee2575794e91b9457a74a95daf1dcc707058cd58 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 12 Oct 2025 23:01:54 +0300 Subject: upgrade deps and clean up lots of doc comments --- azalea/src/bot.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'azalea/src/bot.rs') diff --git a/azalea/src/bot.rs b/azalea/src/bot.rs index 1897f510..6d7dc774 100644 --- a/azalea/src/bot.rs +++ b/azalea/src/bot.rs @@ -57,8 +57,10 @@ impl Plugin for BotPlugin { } } -/// A component that clients with [`BotPlugin`] will have. If you just want to -/// check if an entity is one of our bots, you should use [`LocalEntity`]. +/// A component that clients with [`BotPlugin`] will have. +/// +/// If you just want to check if an entity is one of our bots, you should use +/// [`LocalEntity`]. #[derive(Default, Component)] pub struct Bot { jumping_once: bool, @@ -97,8 +99,10 @@ pub trait BotClientExt { fn wait_ticks(&self, n: usize) -> impl Future + Send; /// Wait for the specified number of ECS `Update`s. fn wait_updates(&self, n: usize) -> impl Future + Send; - /// Mine a block. This won't turn the bot's head towards the block, so if - /// that's necessary you'll have to do that yourself with [`look_at`]. + /// Mine a block. + /// + /// This won't turn the bot's head towards the block, so if that's necessary + /// you'll have to do that yourself with [`look_at`]. /// /// [`look_at`]: crate::prelude::BotClientExt::look_at fn mine(&self, position: BlockPos) -> impl Future + Send; -- cgit v1.2.3