aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-06-03 09:52:30 +0930
committermat <git@matdoes.dev>2025-06-03 09:52:30 +0930
commitf3a5e91a8ccbcd03a239aa3565dbfddabb26fa76 (patch)
treeb9f34dda5ba68bbfc4159dd1631455c8dd84e2ad /azalea-core/src
parent7517a207db658c98d5b97b3b3f44df6725c025a2 (diff)
downloadazalea-drasl-f3a5e91a8ccbcd03a239aa3565dbfddabb26fa76.tar.xz
fix issues when pathfinding to non-full blocks and add Client::view_inventory
Diffstat (limited to 'azalea-core/src')
-rw-r--r--azalea-core/src/position.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/azalea-core/src/position.rs b/azalea-core/src/position.rs
index 357e9b39..beb8eedb 100644
--- a/azalea-core/src/position.rs
+++ b/azalea-core/src/position.rs
@@ -335,8 +335,9 @@ impl Vec3 {
}
}
-/// The coordinates of a block in the world. For entities (if the coordinate
-/// have decimals), use [`Vec3`] instead.
+/// The coordinates of a block in the world.
+///
+/// For entities (if the coordinates are floating-point), use [`Vec3`] instead.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub struct BlockPos {