pub fn find_blocks_in_chunk(
block_states: &BlockStates,
chunk_pos: ChunkPos,
chunk: &Chunk,
min_y: i32,
cb: impl FnMut(BlockPos),
)
Expand description
An optimized function for finding the block positions in a chunk that match the given block states.
This is used internally by Instance::find_block
and
Instance::find_blocks
.