diff options
| author | mat <git@matdoes.dev> | 2024-12-24 04:37:55 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-12-24 04:37:55 +0000 |
| commit | 958848e8ed10c7b8a83c9faea1fac6eaac39b018 (patch) | |
| tree | 9e09f0994b779db00c65c9a25168818b61724e8c /azalea/src/bot.rs | |
| parent | 30cbeecdfea4199b8f134c8394c677588ff9a2ce (diff) | |
| download | azalea-drasl-958848e8ed10c7b8a83c9faea1fac6eaac39b018.tar.xz | |
improve some docs and apis related to pathfinder
Diffstat (limited to 'azalea/src/bot.rs')
| -rw-r--r-- | azalea/src/bot.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/azalea/src/bot.rs b/azalea/src/bot.rs index eee0f880..522f99eb 100644 --- a/azalea/src/bot.rs +++ b/azalea/src/bot.rs @@ -104,6 +104,11 @@ impl BotClientExt for azalea_client::Client { }); } + /// Returns a Receiver that receives a message every game tick. + /// + /// This is useful if you want to efficiently loop until a certain condition + /// is met. + /// /// ``` /// # use azalea::prelude::*; /// # use azalea::container::WaitingForInventoryOpen; |
