BaseCarpetWithVine 5.46.0
Extends Flowable
Properties
$sides protected
php
protected array $sidesMethods
canBeSupportedAt() protected
php
protected function canBeSupportedAt(\pocketmine\block\Block $block) : booldescribeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetCompostabilityChance()
php
public function getCompostabilityChance() : intgetFlameEncouragement()
php
public function getFlameEncouragement() : intgetFlammability()
php
public function getFlammability() : intgetVineGrowth()
php
public function getVineGrowth(int $face) : \pocketmine\block\utils\CarpetVineGrowthhasFaces() protected
php
protected function hasFaces() : boolisCarpetPart() protected
php
abstract protected function isCarpetPart() : boolonNearbyBlockChange()
php
public function onNearbyBlockChange() : voidrecalculateConnections() protected
php
protected function recalculateConnections() : boolsetVineGrowth()
php
public function setVineGrowth(int $face, \pocketmine\block\utils\CarpetVineGrowth $value) : self