Skip to content

CanyonCarver 5.46.0 ​

final class · pocketmine\world\generator\vanilla\carver\CanyonCarver · source

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) : void

fromJson() ​

php
public static function fromJson(string $id, array $json, int $minY, int $height) : self

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