EndCityPiece 5.46.0
Extends TemplatePiece
vanilla's EndCityPieces.EndCityPiece: one template of minecraft:end_city/, with its loot chests, shulker sentries and the elytra item frame of the ship.
Properties
$rotation
php
public readonly int $rotation$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, bool $overwrite)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) : voidEndCityPiece.handleDataMarker()
makeSettings() protected
php
protected function makeSettings(?\pocketmine\world\generator\vanilla\feature\block\JavaBlocks $blocks) : \pocketmine\world\generator\vanilla\structure\template\PlaceSettingsEndCityPiece.makeSettings(overwrite, rotation): structure blocks are never placed; air only when overwriting.
