entity = $entity; $this->force = $force; $this->blockBreaking = true; } /** * @return float */ public function getForce() : float{ return $this->force; } public function setForce(float $force){ $this->force = $force; } /** * @return bool */ public function isBlockBreaking() : bool{ return $this->blockBreaking; } /** * @param bool $affectsBlocks */ public function setBlockBreaking(bool $affectsBlocks){ $this->blockBreaking = $affectsBlocks; } }