player; } /** * Gets the item in hand */ public function getItem() : Item{ return $this->item; } public function getBlockReplaced() : Block{ return $this->blockReplace; } public function getBlockAgainst() : Block{ return $this->blockAgainst; } }