Skip to content

MineShaftRoom 5.46.0 ​

final class · pocketmine\world\generator\vanilla\structure\piece\mineshaft\MineShaftRoom · source

Extends MineShaftPiece

Vanilla's MineshaftPieces.MineShaftRoom: the start room, a cave air box with a dome, with corridors on its sides.

Methods ​

__construct() ​

php
public function __construct(int $genDepth, \pocketmine\world\generator\vanilla\random\LegacyRandom $random, int $west, int $north, bool $mesa)

addChildren() ​

php
public function addChildren(\pocketmine\world\generator\vanilla\structure\piece\mineshaft\MineShaftRoom $start, \pocketmine\world\generator\vanilla\structure\piece\StructurePiecesBuilder $builder, \pocketmine\world\generator\vanilla\random\LegacyRandom $random) : void

move() ​

php
public function move(int $dx, int $dy, int $dz) : void

postProcess() ​

php
public function postProcess(\pocketmine\world\generator\vanilla\structure\StructurePlaceContext $c, \pocketmine\world\generator\vanilla\structure\BoundingBox $chunkBox, int $chunkX, int $chunkZ, array $pivot) : void

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