diff options
Diffstat (limited to 'azalea-world/src')
| -rw-r--r-- | azalea-world/src/find_blocks.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/azalea-world/src/find_blocks.rs b/azalea-world/src/find_blocks.rs index 068a5029..46c1f8bb 100644 --- a/azalea-world/src/find_blocks.rs +++ b/azalea-world/src/find_blocks.rs @@ -116,7 +116,10 @@ impl Instance { /// Find all the coordinates of a block in the world. /// /// This returns an iterator that yields the [`BlockPos`]s of blocks that - /// are in the given block states. It's sorted by `x+y+z`. + /// are in the given block states. + /// + /// Note that this is sorted by `x+y+z` and not `x^2+y^2+z^2` for + /// optimization purposes. pub fn find_blocks<'a>( &'a self, nearest_to: impl Into<BlockPos>, |
