CherryTree 5.46.0
Extends Tree
Cherry tree. Vanilla cherry trees have a bent trunk with up to three branches; this is a simplified shape: a straight trunk under a wide, flat, rounded canopy of cherry leaves.
Methods
__construct()
php
public function __construct()getBlockTransaction()
php
public function getBlockTransaction(\pocketmine\world\ChunkManager $world, int $x, int $y, int $z, \pocketmine\utils\Random $random) : ?\pocketmine\world\BlockTransactionplaceCanopy() protected
php
protected function placeCanopy(int $x, int $y, int $z, \pocketmine\utils\Random $random, \pocketmine\world\BlockTransaction $transaction) : void