toRotation

fun toRotation(yaw: Float): BlockFace

Gets the closest BlockFace to yaw.