tier; } public function getAttackPoints() : int{ return self::getBaseDamageFromTier($this->tier) - 3; } public function onDestroyBlock(Block $block) : bool{ if($block->getHardness() > 0){ return $this->applyDamage(1); } return false; } public function onAttackEntity(Entity $victim) : bool{ return $this->applyDamage(2); } }