modify some docs

This commit is contained in:
mat 2024-08-15 01:26:59 +00:00
parent 73091d8f93
commit 74831abbe4
2 changed files with 4 additions and 1 deletions

View file

@ -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.

View file

@ -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;