Skip to content

EndCityPieces 5.46.0 ​

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

vanilla's EndCityPieces for one start: a house tower, then towers, fat towers, bridges and at most one ship, generated recursively up to depth 8 by four section generators; a section whose pieces collide with pieces already there (other than those of its parent's section) is dropped. The tower bridge generator remembers whether the ship was created (vanilla resets it in init() for each start).

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\generator\vanilla\structure\template\StructureTemplates $templates, \pocketmine\world\generator\vanilla\random\LegacyRandom $random)

startHouseTower() ​

php
public function startHouseTower(int $x, int $y, int $z, int $rotation) : array

EndCityPieces.startHouseTower()

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