PoolElementPiece 5.46.0
Extends StructurePiece
A placed jigsaw element (vanilla's PoolElementStructurePiece).
Properties
$applyWaterlogging
php
public readonly bool $applyWaterlogging$element
php
public readonly \pocketmine\world\generator\vanilla\structure\jigsaw\PoolElement $element$junctions
php
public array $junctionsJunctions with neighbouring pieces: [x, groundY, z, deltaY, destination projection].
$rotation
php
public readonly int $rotation$x
php
public int $x$y
php
public int $y$z
php
public int $zMethods
__construct()
php
public function __construct(\pocketmine\world\generator\vanilla\structure\jigsaw\PoolElement $element, int $x, int $y, int $z, int $groundLevelDelta, int $rotation, \pocketmine\world\generator\vanilla\structure\BoundingBox $box, bool $applyWaterlogging)getGroundLevelDelta()
php
public function getGroundLevelDelta() : intisRigid()
php
public function isRigid() : boolmove()
php
public function move(int $dx, int $dy, int $dz) : voidpostProcess()
php
public function postProcess(\pocketmine\world\generator\vanilla\structure\StructurePlaceContext $c, \pocketmine\world\generator\vanilla\structure\BoundingBox $chunkBox, int $chunkX, int $chunkZ, array $pivot) : void