Skip to content

StartPiece 5.46.0 ​

final class · pocketmine\world\generator\vanilla\structure\piece\stronghold\StartPiece · source

Extends StairsDown

StrongholdPieces.StartPiece: the first staircase, holding the state of the generation (pending children, last piece type placed, portal room, piece weights).

Properties ​

$generation ​

php
public readonly \pocketmine\world\generator\vanilla\structure\piece\stronghold\StrongholdPieces $generation

$pendingChildren ​

php
public array $pendingChildren

$portalRoomPiece ​

php
public ?\pocketmine\world\generator\vanilla\structure\piece\stronghold\PortalRoom $portalRoomPiece

$previousPiece ​

php
public ?\pocketmine\world\generator\vanilla\structure\piece\stronghold\StrongholdPieceWeight $previousPiece

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\generator\vanilla\structure\piece\stronghold\StrongholdPieces $generation, \pocketmine\world\generator\vanilla\random\LegacyRandom $random, int $x, int $z)

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