JigsawStructure 5.46.0
Implements StructureType
minecraft:jigsaw structures (villages, pillager outposts, bastions, ancient cities, trail ruins, trial chambers, abandoned camps): vanilla's JigsawStructure and JigsawPlacement.addPieces().
Methods
__construct()
php
public function __construct(array $json)afterPlace()
php
public function afterPlace(\pocketmine\world\generator\vanilla\structure\StructurePlaceContext $c, \pocketmine\world\generator\vanilla\structure\StructureStart $start, \pocketmine\world\generator\vanilla\structure\BoundingBox $chunkBox, int $chunkX, int $chunkZ) : voidfindGenerationPoint()
php
public function findGenerationPoint(\pocketmine\world\generator\vanilla\structure\StructureGenContext $context) : ?arraygetReach()
php
public function getReach() : int