diff options
| author | mat <git@matdoes.dev> | 2025-06-03 09:52:30 +0930 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-03 09:52:30 +0930 |
| commit | f3a5e91a8ccbcd03a239aa3565dbfddabb26fa76 (patch) | |
| tree | b9f34dda5ba68bbfc4159dd1631455c8dd84e2ad /azalea-core | |
| parent | 7517a207db658c98d5b97b3b3f44df6725c025a2 (diff) | |
| download | azalea-drasl-f3a5e91a8ccbcd03a239aa3565dbfddabb26fa76.tar.xz | |
fix issues when pathfinding to non-full blocks and add Client::view_inventory
Diffstat (limited to 'azalea-core')
| -rw-r--r-- | azalea-core/src/position.rs | 5 |
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 { |
