Skip to content

HeightProviders 5.46.0 ​

final class · pocketmine\world\generator\vanilla\structure\HeightProviders · source

Height providers and vertical anchors of structure data (start_height, nether fossil height).

Methods ​

anchor() ​

php
public static function anchor(mixed $json) : \Closure

VerticalAnchor: {"absolute": y}, {"above_bottom": n}, {"below_top": n} or a plain y.

parse() ​

php
public static function parse(mixed $json) : \Closure

HeightProvider: constant (or a plain anchor) and uniform.

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