private function getYFace(Vector3 $direction) { return $direction->y > 0 ? Vector3::SIDE_UP : Vector3::SIDE_DOWN; }