player = $player; } public function getBlock() : Block{ return $this->blockClicked; } public function getResultItem() : Item{ return $this->resultItem; } }