Skip to content

EndIslandsFunction 5.46.0 ​

final class · pocketmine\world\generator\vanilla\density\EndIslandsFunction · source

Extends DensityFunction

"minecraft:end_outer_islands": the small islands of the outer End (more than 64 chunks from 0,0), one candidate per chunk where a seeded simplex noise is low enough, each a cone of seed-independent size. The central island is a separate part of the density function. Computed with Java's int division and float arithmetic.

Methods ​

__construct() ​

php
public function __construct(int $seed)

children() ​

php
public function children() : array

compute() ​

php
public function compute(float $x, float $y, float $z) : float

dependsOnY() ​

php
public function dependsOnY() : bool

heightValue() ​

php
public function heightValue(int $sectionX, int $sectionZ) : float

Highest island cone value (float) at a section (8x8 block column), or NO_ISLAND.

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