toFaceIndex

static int toFaceIndex(Direction face)

Convenient way to encode faces that may be null.Null is returned as NULL_FACE_ID.Use faceFromIndex to retrieve encoded face.

Sources

jvm source
Link copied to clipboard