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.


fun toFace(yaw: Float): BlockFace

Gets the closest BlockFace to yaw.