Skip to content

PoplarTree 5.46.0 ​

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

Extends Tree

Poplar tree (Bedrock 1.26.40). Vanilla poplars are tall and narrow; this uses the oak shape with a taller trunk and a random autumn leaf colour until a dedicated shape is implemented.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\utils\Random $random)

getBlockTransaction() ​

php
public function getBlockTransaction(\pocketmine\world\ChunkManager $world, int $x, int $y, int $z, \pocketmine\utils\Random $random) : ?\pocketmine\world\BlockTransaction

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