Skip to content

RespawnAnchor ​

final class · pocketmine\block\RespawnAnchor · source

Extends Opaque

Methods ​

describeBlockOnlyState() protected ​

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

getCharges() ​

php
public function getCharges() : int

getLightLevel() ​

php
public function getLightLevel() : int

onInteract() ​

php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : bool

setCharges() ​

php
public function setCharges(int $charges) : self

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