From 74831abbe4f9d2a2eabbfe0a3a44874d9f49135b Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 15 Aug 2024 01:26:59 +0000 Subject: [PATCH] modify some docs --- azalea-client/src/account.rs | 2 +- azalea-client/src/mining.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/azalea-client/src/account.rs b/azalea-client/src/account.rs index c007e01ab..24023d5b8 100755 --- a/azalea-client/src/account.rs +++ b/azalea-client/src/account.rs @@ -93,7 +93,7 @@ impl Account { Self::microsoft_with_custom_client_id_and_scope(email, None, None).await } - /// Similar to [`account.microsoft()`](Self::microsoft) but you can use your + /// Similar to [`Account::microsoft`] but you can use your /// own `client_id` and `scope`. /// /// Pass `None` if you want to use default ones. diff --git a/azalea-client/src/mining.rs b/azalea-client/src/mining.rs index 753b00e70..bda14db00 100644 --- a/azalea-client/src/mining.rs +++ b/azalea-client/src/mining.rs @@ -86,6 +86,9 @@ impl Client { } } +/// A component that simulates the client holding down left click to mine the +/// block that it's facing, but this only interacts with blocks and not +/// entities. #[derive(Component)] pub struct LeftClickMine;