searchLayer

fun BlockPos.searchLayer(layers: Int, vararg directions: Direction): Sequence<IntLongPair>

Scan blocks outwards from center along given directions, up to layers

Return

The layer to the BlockPos (long value)