CanyonCarver 5.46.0
Extends WorldCarver
"minecraft:canyon" (CanyonWorldCarver): one long, tall and thin tunnel per start chunk ("ravine"), whose width changes with height.
Methods
__construct()
php
public function __construct(string $id, float $probability, \pocketmine\world\generator\vanilla\carver\ValueProvider $y, \pocketmine\world\generator\vanilla\carver\ValueProvider $verticalRotation, \pocketmine\world\generator\vanilla\carver\ValueProvider $yScale, \pocketmine\world\generator\vanilla\carver\ValueProvider $distanceFactor, \pocketmine\world\generator\vanilla\carver\ValueProvider $thick …carve()
php
public function carve(\pocketmine\world\generator\vanilla\carver\CarvingRun $run, \pocketmine\world\generator\vanilla\random\LegacyRandom $random, int $startX, int $startZ) : voidfromJson()
php
public static function fromJson(string $id, array $json, int $minY, int $height) : self