Skip to content

Bow ​

class · pocketmine\item\Bow · source

Extends Tool
Implements Releasable

Methods ​

canStartUsingItem() ​

php
public function canStartUsingItem(\pocketmine\player\Player $player) : bool

getFuelTime() ​

php
public function getFuelTime() : int

getMaxDurability() ​

php
public function getMaxDurability() : int

onReleaseUsing() ​

php
public function onReleaseUsing(\pocketmine\player\Player $player, array &$returnedItems) : \pocketmine\item\ItemUseResult

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