tier->getHarvestLevel(); } public function getAttackPoints() : int{ return $this->tier->getBaseAttackPoints() - 3; } public function onDestroyBlock(Block $block) : bool{ if(!$block->getBreakInfo()->breaksInstantly()){ return $this->applyDamage(1); } return false; } public function onAttackEntity(Entity $victim) : bool{ return $this->applyDamage(2); } }