aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/bot.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-28 14:31:41 +0500
committermat <git@matdoes.dev>2025-12-28 14:31:41 +0500
commit7ab3b8924f64f7eadb6b8928b6fae73cb06e4c2f (patch)
tree5add5d27fd7c2638ebe6fab9bd7adcdae28a358d /azalea/src/bot.rs
parent9513f42e87f64c409cdb2a100500a50e5a713bac (diff)
downloadazalea-drasl-7ab3b8924f64f7eadb6b8928b6fae73cb06e4c2f.tar.xz
move Event and auto_reconnect to the azalea crate
Diffstat (limited to 'azalea/src/bot.rs')
-rw-r--r--azalea/src/bot.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea/src/bot.rs b/azalea/src/bot.rs
index 6f39c2fe..73b225b2 100644
--- a/azalea/src/bot.rs
+++ b/azalea/src/bot.rs
@@ -130,9 +130,7 @@ impl Client {
/// 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
+ /// you'll have to do that yourself with [`look_at`](Client::look_at).
pub async fn mine(&self, position: BlockPos) {
self.start_mining(position);
@@ -211,5 +209,7 @@ impl PluginGroup for DefaultBotPlugins {
.add(crate::auto_respawn::AutoRespawnPlugin)
.add(crate::accept_resource_packs::AcceptResourcePacksPlugin)
.add(crate::tick_broadcast::TickBroadcastPlugin)
+ .add(crate::events::EventsPlugin)
+ .add(crate::auto_reconnect::AutoReconnectPlugin)
}
}