toFace

fun toFace(axis: Axis, positive: Boolean = true): BlockFace

Converts the given axis to a BlockFace, using the positive flag to determine the direction on the axis.