aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-08-15 01:26:59 +0000
committermat <git@matdoes.dev>2024-08-15 01:26:59 +0000
commit74831abbe4f9d2a2eabbfe0a3a44874d9f49135b (patch)
tree91a9457bc5a0abe245ade4c959cec69199a2701b
parent73091d8f937192aca4c4bbc740c78d4d188f6ee1 (diff)
downloadazalea-drasl-74831abbe4f9d2a2eabbfe0a3a44874d9f49135b.tar.xz
modify some docs
-rwxr-xr-xazalea-client/src/account.rs2
-rw-r--r--azalea-client/src/mining.rs3
2 files changed, 4 insertions, 1 deletions
diff --git a/azalea-client/src/account.rs b/azalea-client/src/account.rs
index c007e01a..24023d5b 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 753b00e7..bda14db0 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;