searchBedLayer

fun BlockPos.searchBedLayer(state: BlockState, layers: Int): Sequence<IntLongPair>

Scan blocks outwards from a bed