Skip to content

CherryTree 5.46.0 ​

class · pocketmine\world\generator\object\CherryTree · source

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\BlockTransaction

placeCanopy() protected ​

php
protected function placeCanopy(int $x, int $y, int $z, \pocketmine\utils\Random $random, \pocketmine\world\BlockTransaction $transaction) : void

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