PlaceSettings 5.46.0
Vanilla's StructurePlaceSettings: transform, clipping box, processors and options of a template placement.
Properties
$applyWaterlogging
php
public bool $applyWaterloggingLiquidSettings.APPLY_WATERLOGGING (default) or IGNORE_WATERLOGGING
$box
php
public ?\pocketmine\world\generator\vanilla\structure\BoundingBox $box$ignoreEntities
php
public bool $ignoreEntities$knownShape
php
public bool $knownShapeStructurePlaceSettings.knownShape: no shape updates after placement (jigsaw elements)
$mirror
php
public int $mirror$pivotX
php
public int $pivotX$pivotZ
php
public int $pivotZ$processors
php
public array $processors$random
php
public \pocketmine\world\generator\vanilla\random\LegacyRandom|\pocketmine\world\generator\vanilla\feature\FeatureRandom|null $randomA fixed random for the processors; null: a random seeded from each block position (vanilla's default).
$rotation
php
public int $rotationMethods
addProcessor()
php
public function addProcessor(\pocketmine\world\generator\vanilla\structure\processor\StructureProcessor $processor) : selfgetRandom()
php
public function getRandom(int $x, int $y, int $z) : \pocketmine\world\generator\vanilla\random\LegacyRandom|\pocketmine\world\generator\vanilla\feature\FeatureRandomStructurePlaceSettings.getRandom(pos)
setBox()
php
public function setBox(?\pocketmine\world\generator\vanilla\structure\BoundingBox $box) : selfsetMirror()
php
public function setMirror(int $mirror) : selfsetPivot()
php
public function setPivot(int $x, int $z) : selfsetRotation()
php
public function setRotation(int $rotation) : self