toCartesianFace

fun toCartesianFace(yaw: Float): BlockFace

Gets the closest cardinal BlockFace (North, East, South, West) to the given yaw.


fun toCartesianFace(yaw: Float, pitch: Float): BlockFace

Gets the closest cartesian BlockFace (North, East, South, West, Up, Down) to the given yaw and pitch.