public function __construct(Player $Player, Block $target, Item $itemInHand) { $this->player = $Player; $this->target = $target; $this->item = $itemInHand; }