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