rotation = self::getRotationFromYaw($player->getLocation()->getYaw()); } return parent::place($tx, $item, $blockReplace, $blockClicked, $face, $clickVector, $player); } protected function getFacingDegrees() : float{ return $this->rotation * 22.5; } }