private function getXFace(Vector3 $direction) { return $direction->x > 0 ? Vector3::SIDE_EAST : Vector3::SIDE_WEST; }