fn get_limit( test: &impl Fn(BlockPos) -> bool, start: BlockPos, axis: Axis, step: i32, limit: i32, ) -> i32