Cactus
Extends Transparent
Implements Ageable
Constants
MAX_AGE
php
public const MAX_AGE = 15MAX_HEIGHT
php
public const MAX_HEIGHT = 3Methods
getCompostabilityChance() 5.46.0
php
public function getCompostabilityChance() : intgetSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypehasEntityCollision()
php
public function hasEntityCollision() : boolonEntityInside()
php
public function onEntityInside(\pocketmine\entity\Entity $entity) : boolonRandomTick()
php
public function onRandomTick() : voidrecalculateCollisionBoxes() protected
php
protected function recalculateCollisionBoxes() : arrayticksRandomly()
php
public function ticksRandomly() : bool