IglooPiece 5.46.0
Extends TemplatePiece
vanilla's IglooPieces.IglooPiece. The height comes from the terrain at the igloo's door (computed from the noise terrain when the start is made, so every chunk of the igloo agrees).
Constants
IGLOO
php
public const IGLOO = "minecraft:igloo/top"LABORATORY
php
public const LABORATORY = "minecraft:igloo/bottom"LADDER
php
public const LADDER = "minecraft:igloo/middle"Methods
__construct()
php
public function __construct(\pocketmine\world\generator\vanilla\structure\template\StructureTemplates $templates, \pocketmine\world\generator\vanilla\structure\TerrainSampler $terrain, string $location, int $startX, int $startZ, int $rotation, int $down)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) : voidmakeSettings() protected
php
protected function makeSettings(?\pocketmine\world\generator\vanilla\feature\block\JavaBlocks $blocks) : \pocketmine\world\generator\vanilla\structure\template\PlaceSettingspostProcess()
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