Skip to content

BaseCarpetWithVine 5.46.0 ​

abstract class · pocketmine\block\BaseCarpetWithVine · source

Extends Flowable

Properties ​

$sides protected ​

php
protected array $sides

Methods ​

canBeSupportedAt() protected ​

php
protected function canBeSupportedAt(\pocketmine\block\Block $block) : bool

describeBlockOnlyState() protected ​

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

getCompostabilityChance() ​

php
public function getCompostabilityChance() : int

getFlameEncouragement() ​

php
public function getFlameEncouragement() : int

getFlammability() ​

php
public function getFlammability() : int

getVineGrowth() ​

php
public function getVineGrowth(int $face) : \pocketmine\block\utils\CarpetVineGrowth

hasFaces() protected ​

php
protected function hasFaces() : bool

isCarpetPart() protected ​

php
abstract protected function isCarpetPart() : bool

onNearbyBlockChange() ​

php
public function onNearbyBlockChange() : void

recalculateConnections() protected ​

php
protected function recalculateConnections() : bool

setVineGrowth() ​

php
public function setVineGrowth(int $face, \pocketmine\block\utils\CarpetVineGrowth $value) : self

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