TheEnd 5.46.0
Extends Generator
Simplified End: the main island of end stone around 0,0 with the ring of ten obsidian pillars. There are no outer islands, chorus plants, End cities or exit portal (the exit portal only matters after the dragon is killed).
Constants
ISLAND_RADIUS
php
public const ISLAND_RADIUS = 76Average radius of the main island, in blocks.
ISLAND_SURFACE_Y
php
public const ISLAND_SURFACE_Y = 62Y of the island surface at its centre.
PILLAR_COUNT
php
public const PILLAR_COUNT = 10PILLAR_RING_RADIUS
php
public const PILLAR_RING_RADIUS = 42Methods
__construct()
php
public function __construct(int $seed, string $preset)computePillars()
php
public static function computePillars(int $seed) : arrayVanilla places ten pillars on a circle of radius 42; their heights are 76, 79, ... 103 in a seed-dependent order and the taller pillars are wider.
generateChunk()
php
public function generateChunk(\pocketmine\world\ChunkManager $world, int $chunkX, int $chunkZ) : voidgetIslandColumn()
php
public function getIslandColumn(int $x, int $z) : ?arrayReturns the [bottom, top] Y of the island at the given column, or null if the column is outside the island.
populateChunk()
php
public function populateChunk(\pocketmine\world\ChunkManager $world, int $chunkX, int $chunkZ) : void