WoodlandMansionPiece 5.46.0
Extends TemplatePiece
vanilla's WoodlandMansionPieces.WoodlandMansionPiece: one template of minecraft:woodland_mansion/, with the chests and the illagers/allays of its data markers.
Properties
$templateName
php
public readonly string $templateNameMethods
__construct()
php
public function __construct(\pocketmine\world\generator\vanilla\structure\template\StructureTemplates $templates, string $templateName, int $x, int $y, int $z, int $rotation, int $mirror = \pocketmine\world\generator\vanilla\structure\template\Rotations::MIRROR_NONE)handleDataMarker() protected
php
protected function handleDataMarker(\pocketmine\world\generator\vanilla\structure\StructurePlaceContext $c, string $metadata, int $x, int $y, int $z, \pocketmine\world\generator\vanilla\structure\BoundingBox $box) : voidWoodlandMansionPiece.handleDataMarker()
makeSettings() protected
php
protected function makeSettings(?\pocketmine\world\generator\vanilla\feature\block\JavaBlocks $blocks) : \pocketmine\world\generator\vanilla\structure\template\PlaceSettingsWoodlandMansionPiece.makeSettings(mirror, rotation)
