Skip to content

StairsDown 5.46.0 ​

class · pocketmine\world\generator\vanilla\structure\piece\stronghold\StairsDown · source

Extends StrongholdPiece

StrongholdPieces.StairsDown: a spiral staircase going down 6 blocks (also the start piece).

Properties ​

$isSource ​

php
public readonly bool $isSource

Methods ​

__construct() protected ​

php
protected function __construct(int $genDepth, \pocketmine\world\generator\vanilla\structure\BoundingBox $box, int $direction, bool $isSource)

addChildren() ​

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

createPiece() ​

php
public static function createPiece(\pocketmine\world\generator\vanilla\structure\piece\StructurePiecesBuilder $builder, \pocketmine\world\generator\vanilla\random\LegacyRandom $random, int $x, int $y, int $z, int $direction, int $genDepth) : ?self

postProcess() ​

php
public function postProcess(\pocketmine\world\generator\vanilla\structure\StructurePlaceContext $c, \pocketmine\world\generator\vanilla\structure\BoundingBox $box, 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.