Skip to content

StateProviders 5.46.0 ​

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

Parsers of vanilla's block state providers. A provider returns the Java state for a position, or null for getOptionalState() providers that give nothing (rule_based without fallback, empty random_block).

Methods ​

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.