Skip to content

AcaciaTree ​

final class · pocketmine\world\generator\object\AcaciaTree · source

Extends Tree

Methods ​

__construct() ​

php
public function __construct()

generateTrunkHeight() protected ​

php
protected function generateTrunkHeight(\pocketmine\utils\Random $random) : int

placeBranch() protected ​

php
protected function placeBranch(\pocketmine\world\BlockTransaction $transaction, \pocketmine\math\Vector3 $start, int $branchFacing, int $maxDiagonal, int $length) : \pocketmine\math\Vector3

placeCanopy() protected ​

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

placeCanopyLayer() protected ​

php
protected function placeCanopyLayer(\pocketmine\world\BlockTransaction $transaction, \pocketmine\math\Vector3 $center, int $radius, int $maxTaxicabDistance) : void

placeTrunk() protected ​

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

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