Skip to content

CaveCarver 5.46.0 ​

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

Extends WorldCarver

"minecraft:cave" (CaveWorldCarver): a few tunnels per start chunk, sometimes from a round room, wandering with random pitch/yaw changes and splitting once into two thinner branches.

Methods ​

__construct() ​

php
public function __construct(string $id, float $probability, \pocketmine\world\generator\vanilla\carver\ValueProvider $y, \pocketmine\world\generator\vanilla\carver\ValueProvider $count, \pocketmine\world\generator\vanilla\carver\ValueProvider $horizontalRadiusMultiplier, \pocketmine\world\generator\vanilla\carver\ValueProvider $verticalRadiusMultiplier, \pocketmine\world\generator\vanilla\carver\V …

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.