RoomCrossing 5.46.0
Extends StrongholdPiece
StrongholdPieces.RoomCrossing: a room with exits on three sides and one of three centrepieces (stone pillar with torches, fountain, or a cobblestone pillar with a planks gallery and a chest).
Methods
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) : voidcreatePiece()
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) : ?selfpostProcess()
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