Skip to content

TieredTool ​

abstract class · pocketmine\item\TieredTool · source

Extends Tool

Properties ​

$tier protected ​

php
protected \pocketmine\item\ToolTier $tier

Methods ​

__construct() ​

php
public function __construct(\pocketmine\item\ItemIdentifier $identifier, string $name, \pocketmine\item\ToolTier $tier, array $enchantmentTags = [])

getBaseMiningEfficiency() protected ​

php
protected function getBaseMiningEfficiency() : float

getEnchantability() ​

php
public function getEnchantability() : int

getFuelTime() ​

php
public function getFuelTime() : int

getMaxDurability() ​

php
public function getMaxDurability() : int

getTier() ​

php
public function getTier() : \pocketmine\item\ToolTier

isFireProof() ​

php
public function isFireProof() : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.