fn iter_chunk_blocks(min_z: i32, max_z: i32) -> impl Iterator<Item = IVec3> {
  (min_z..=max_z).flat_map(|z| {
    (0..16).flat_map(move |x| {
      (0..16).map(move |y| {
        IVec3::new(x, y, z)
      })
    })
  })
}
/// Iterates through every block in a chunk
Iterates through every block in a chunk
Iterates through every block in a chunk
fn iter_chunk_blocks(min_z: i32, max_z: i32) -> impl Iterator<Item = IVec3> {
  (min_z..=max_z).flat_map(|z| {
    (0..16).flat_map(move |x| {
      (0..16).map(move |y| {
        IVec3::new(x, y, z)
      })
    })
  })
}
fn iter_chunk_blocks ( min_z : i32 , max_z : i32 ) -> impl Iterator < Item = IVec3 > { ( min_z ..= max_z ) . flat_map ( | z | { ( 0 .. 16 ) . flat_map ( move | x | { ( 0 .. 16 ) . map ( move | y | { IVec3 :: new ( x , y , z ) } ) } ) } ) }
Iterates through every block in a chunk
Iterates through every block in a chunk
min_z
i32
max_z
i32
min_z
i32
max_z
i32