Skip to content

GoatHorn ​

class · pocketmine\item\GoatHorn · source

Extends Item
Implements Releasable

Methods ​

canStartUsingItem() ​

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

describeState() protected ​

php
protected function describeState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : void

getCooldownTag() ​

php
public function getCooldownTag() : ?string

getCooldownTicks() ​

php
public function getCooldownTicks() : int

getHornType() ​

php
public function getHornType() : \pocketmine\item\GoatHornType

getMaxStackSize() ​

php
public function getMaxStackSize() : int

onClickAir() ​

php
public function onClickAir(\pocketmine\player\Player $player, \pocketmine\math\Vector3 $directionVector, array &$returnedItems) : \pocketmine\item\ItemUseResult

setHornType() ​

php
public function setHornType(\pocketmine\item\GoatHornType $type) : self

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