Skip to content

Axe ​

class · pocketmine\item\Axe · source

Extends TieredTool

Methods ​

getAttackPoints() ​

php
public function getAttackPoints() : int

getBlockToolHarvestLevel() ​

php
public function getBlockToolHarvestLevel() : int

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.