|
| | __construct (Block $stemBlock, Block $hatBlock, private readonly Block $decorBlock, int $treeHeight, private readonly bool $hasVines, private readonly bool $huge) |
| |
| | canPlaceObject (ChunkManager $world, int $x, int $y, int $z, Random $random) |
| |
| | getBlockTransaction (ChunkManager $world, int $x, int $y, int $z, Random $random) |
| |
|
| | canOverride (Block $block) |
| |
| | generateTrunkHeight (Random $random) |
| |
| | placeCanopy (int $x, int $y, int $z, Random $random, BlockTransaction $transaction) |
| |
| | placeHatBlock (int $x, int $y, int $z, Random $random, BlockTransaction $transaction, float $decorChance, float $hatChance, float $vineChance) |
| |
| | placeHatDropBlock (int $x, int $y, int $z, Random $random, BlockTransaction $transaction, bool $isCrimson) |
| |
| | placeTrunk (int $x, int $y, int $z, Random $random, int $trunkHeight, BlockTransaction $transaction) |
| |
| | tryPlaceWeepingVines (int $x, int $y, int $z, Random $random, BlockTransaction $transaction) |
| |
Definition at line 36 of file NetherTree.php.
◆ __construct()
| pocketmine\world\generator\object\NetherTree::__construct |
( |
Block | $stemBlock, |
|
|
Block | $hatBlock, |
|
|
private readonly Block | $decorBlock, |
|
|
int | $treeHeight, |
|
|
private readonly bool | $hasVines, |
|
|
private readonly bool | $huge ) |
◆ canOverride()
| pocketmine\world\generator\object\NetherTree::canOverride |
( |
Block | $block | ) |
|
|
protected |
◆ canPlaceObject()
| pocketmine\world\generator\object\NetherTree::canPlaceObject |
( |
ChunkManager | $world, |
|
|
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
Random | $random ) |
◆ generateTrunkHeight()
| pocketmine\world\generator\object\NetherTree::generateTrunkHeight |
( |
Random | $random | ) |
|
|
protected |
◆ getBlockTransaction()
| pocketmine\world\generator\object\Tree::getBlockTransaction |
( |
ChunkManager | $world, |
|
|
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
Random | $random ) |
|
inherited |
◆ placeCanopy()
| pocketmine\world\generator\object\NetherTree::placeCanopy |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
Random | $random, |
|
|
BlockTransaction | $transaction ) |
|
protected |
◆ placeHatBlock()
| pocketmine\world\generator\object\NetherTree::placeHatBlock |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
Random | $random, |
|
|
BlockTransaction | $transaction, |
|
|
float | $decorChance, |
|
|
float | $hatChance, |
|
|
float | $vineChance ) |
|
protected |
◆ placeHatDropBlock()
| pocketmine\world\generator\object\NetherTree::placeHatDropBlock |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
Random | $random, |
|
|
BlockTransaction | $transaction, |
|
|
bool | $isCrimson ) |
|
protected |
◆ placeTrunk()
| pocketmine\world\generator\object\NetherTree::placeTrunk |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
Random | $random, |
|
|
int | $trunkHeight, |
|
|
BlockTransaction | $transaction ) |
|
protected |
◆ tryPlaceWeepingVines()
| pocketmine\world\generator\object\NetherTree::tryPlaceWeepingVines |
( |
int | $x, |
|
|
int | $y, |
|
|
int | $z, |
|
|
Random | $random, |
|
|
BlockTransaction | $transaction ) |
|
protected |
The documentation for this class was generated from the following file: