aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/bot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/bot.rs')
-rw-r--r--azalea/src/bot.rs5
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;