search Blocks In Cuboid
fun Vec3.searchBlocksInCuboid(radius: Float, filter: BiPredicate<BlockPos, BlockState>): List<Pair<BlockPos, BlockState>>
Scan blocks around the position in a cuboid with filtering.
Uses net.minecraft.world.level.LevelReader.findBlocksIn internally, which skips whole chunk sections through the palette check and only scans loaded sections within the world height.