Skip to content

IglooPiece 5.46.0 ​

final class · pocketmine\world\generator\vanilla\structure\piece\IglooPiece · source

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

makeSettings() protected ​

php
protected function makeSettings(?\pocketmine\world\generator\vanilla\feature\block\JavaBlocks $blocks) : \pocketmine\world\generator\vanilla\structure\template\PlaceSettings

postProcess() ​

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

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