pocketmine\item\Tool::isTool PHP Метод

isTool() публичный Метод

public isTool ( )
    public function isTool()
    {
        return $this->id === self::FLINT_STEEL or $this->id === self::SHEARS or $this->id === self::BOW or $this->isPickaxe() !== false or $this->isAxe() !== false or $this->isShovel() !== false or $this->isSword() !== false or $this->isHoe() !== false;
    }