MegaSpruceTree 5.46.0
Extends TwoByTwoTree
Giant spruce, grown from a 2x2 square of spruce saplings (x, z is the north-west sapling).
Vanilla (https://minecraft.wiki/w/Spruce, Java's MegaPine foliage): a 2x2 trunk 13-28 blocks tall with a narrow conical crown over its top half, and podzol around the base. The crown here grows one block wider every three layers down, up to a radius of 4.
Methods
__construct()
php
public function __construct()generateTrunkHeight() protected
php
protected function generateTrunkHeight(\pocketmine\utils\Random $random) : intgetBlockTransaction()
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