determineBlockFaceBetween

fun determineBlockFaceBetween(from: BlockPos, to: BlockPos): BlockFace?

Determines the block face that needs to be used to advance from from to to with step size 1, or null if the two positions are not adjacent.