From f3a5e91a8ccbcd03a239aa3565dbfddabb26fa76 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 3 Jun 2025 09:52:30 +0930 Subject: fix issues when pathfinding to non-full blocks and add Client::view_inventory --- azalea-core/src/position.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'azalea-core') 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 { -- cgit v1.2.3