Skip to content

Shears ​

class · pocketmine\item\Shears · source

Extends Tool

Methods ​

getBaseMiningEfficiency() protected ​

php
protected function getBaseMiningEfficiency() : float

getBlockToolHarvestLevel() ​

php
public function getBlockToolHarvestLevel() : int

getBlockToolType() ​

php
public function getBlockToolType() : int

getMaxDurability() ​

php
public function getMaxDurability() : int

onDestroyBlock() ​

php
public function onDestroyBlock(\pocketmine\block\Block $block, array &$returnedItems) : bool

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