Skip to content

JigsawStructure 5.46.0 ​

final class · pocketmine\world\generator\vanilla\structure\jigsaw\JigsawStructure · source

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) : void

findGenerationPoint() ​

php
public function findGenerationPoint(\pocketmine\world\generator\vanilla\structure\StructureGenContext $context) : ?array

getReach() ​

php
public function getReach() : int

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.