AcaciaTree
Extends Tree
Methods
__construct()
php
public function __construct()generateTrunkHeight() protected
php
protected function generateTrunkHeight(\pocketmine\utils\Random $random) : intplaceBranch() protected
php
protected function placeBranch(\pocketmine\world\BlockTransaction $transaction, \pocketmine\math\Vector3 $start, int $branchFacing, int $maxDiagonal, int $length) : \pocketmine\math\Vector3placeCanopy() protected
php
protected function placeCanopy(int $x, int $y, int $z, \pocketmine\utils\Random $random, \pocketmine\world\BlockTransaction $transaction) : voidplaceCanopyLayer() protected
php
protected function placeCanopyLayer(\pocketmine\world\BlockTransaction $transaction, \pocketmine\math\Vector3 $center, int $radius, int $maxTaxicabDistance) : voidplaceTrunk() protected
php
protected function placeTrunk(int $x, int $y, int $z, \pocketmine\utils\Random $random, int $trunkHeight, \pocketmine\world\BlockTransaction $transaction) : void