Library 5.46.0
Extends StrongholdPiece
StrongholdPieces.Library: bookshelves, cobwebs and chests; the tall variant has a gallery reached by a ladder and a fence chandelier with torches.
Methods
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) : ?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