Skip to content

Library 5.46.0 ​

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

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) : ?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.