player = $player; } public function getEntity() : Entity{ return $this->entity; } /** * Returns the absolute coordinates of the click. This is usually on the surface of the entity's hitbox. */ public function getClickPosition() : Vector3{ return $this->clickPos; } }