Skip to content

Hoe ​

class · pocketmine\item\Hoe · source

Extends TieredTool

Methods ​

getBlockToolType() ​

php
public function getBlockToolType() : int

onAttackEntity() ​

php
public function onAttackEntity(\pocketmine\entity\Entity $victim, array &$returnedItems) : bool

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.