ShelfMushroom 5.46.0
Extends Flowable
Implements HorizontalFacing
Shelf mushroom (Bedrock 1.26.40): a flat fungus that grows on the side of a block.
Constants
MAX_GROWTH
php
public const MAX_GROWTH = 7MIN_GROWTH
php
public const MIN_GROWTH = 0Properties
$growth protected
php
protected int $growthMethods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetGrowth()
php
public function getGrowth() : intplace()
php
public function place(\pocketmine\world\BlockTransaction $tx, \pocketmine\item\Item $item, \pocketmine\block\Block $blockReplace, \pocketmine\block\Block $blockClicked, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null) : boolsetGrowth()
php
public function setGrowth(int $growth) : self