Skip to content

Placements 5.46.0 ​

final class · pocketmine\world\generator\vanilla\feature\Placements · source

Parsers of vanilla's placement modifiers (Java 26.3). Each modifier maps a position to the list of positions it produces, consuming the random exactly like vanilla.

Methods ​

heightmapType() ​

php
public static function heightmapType(string $name) : int

parse() ​

php
public static function parse(\pocketmine\world\generator\vanilla\feature\FeatureRegistry $registry, mixed $json) : \Closure

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