aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_use_item_on.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-10-12 23:01:54 +0300
committermat <git@matdoes.dev>2025-10-12 23:01:54 +0300
commitee2575794e91b9457a74a95daf1dcc707058cd58 (patch)
treedf725850ef18ded5ce3f6552e17095d0f704ae84 /azalea-protocol/src/packets/game/s_use_item_on.rs
parent1a1402954b07cd77615d0afc026c73b008787f51 (diff)
downloadazalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea-protocol/src/packets/game/s_use_item_on.rs')
-rw-r--r--azalea-protocol/src/packets/game/s_use_item_on.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/s_use_item_on.rs b/azalea-protocol/src/packets/game/s_use_item_on.rs
index e97d8aaf..61d7fc78 100644
--- a/azalea-protocol/src/packets/game/s_use_item_on.rs
+++ b/azalea-protocol/src/packets/game/s_use_item_on.rs
@@ -24,9 +24,10 @@ pub struct BlockHit {
pub block_pos: BlockPos,
/// The face of the block that was clicked.
pub direction: Direction,
- /// The exact coordinates of the world where the block was clicked. In the
- /// network, this is transmitted as the difference between the location and
- /// block position.
+ /// The exact coordinates of the world where the block was clicked.
+ ///
+ /// In the network, this is transmitted as the difference between the
+ /// location and block position.
pub location: Vec3,
/// Whether the player's head is inside a block.
pub inside: bool,