Trident
Extends Tool
Implements Releasable
Methods
canStartUsingItem()
php
public function canStartUsingItem(\pocketmine\player\Player $player) : boolgetAttackPoints()
php
public function getAttackPoints() : intgetMaxDurability()
php
public function getMaxDurability() : intonAttackEntity()
php
public function onAttackEntity(\pocketmine\entity\Entity $victim, array &$returnedItems) : boolonDestroyBlock()
php
public function onDestroyBlock(\pocketmine\block\Block $block, array &$returnedItems) : boolonReleaseUsing()
php
public function onReleaseUsing(\pocketmine\player\Player $player, array &$returnedItems) : \pocketmine\item\ItemUseResult