Skip to content

BambooSapling ​

final class · pocketmine\block\BambooSapling · source

Extends Flowable

Methods ​

asItem() ​

php
public function asItem() : \pocketmine\item\Item

describeBlockOnlyState() protected ​

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

isReady() ​

php
public function isReady() : bool

onInteract() ​

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

onRandomTick() ​

php
public function onRandomTick() : void

setReady() ​

php
public function setReady(bool $ready) : self

ticksRandomly() ​

php
public function ticksRandomly() : bool

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