private function getYPosition(Vector3 $direction, Vector3 $position, Vector3 $block) { return $this->getPosition($direction->y, $position->y, $block->y); }