TreeFactory
Methods
get()
php
public static function get(\pocketmine\utils\Random $random, ?\pocketmine\world\generator\object\TreeType $type = null) : ?\pocketmine\world\generator\object\TreegetTwoByTwo() 5.46.0
php
public static function getTwoByTwo(\pocketmine\utils\Random $random, \pocketmine\world\generator\object\TreeType $type) : ?\pocketmine\world\generator\object\TreeReturns the tree grown from a 2x2 square of saplings of the given type, or null if that type has no such tree.
