NoiseThresholdCondition 5.46.0
Extends MaterialCondition
"minecraft:noise_threshold": a noise sampled at (x, 0, z), or at (x, y, z) if is_3d, is within the thresholds.
Methods
__construct()
php
public function __construct(\pocketmine\world\generator\vanilla\noise\NoiseStack $noise, float $minThreshold, float $maxThreshold, bool $is3d)compile()
php
public function compile(\pocketmine\world\generator\vanilla\surface\MaterialRuleCompiler $compiler) : stringtest()
php
public function test(\pocketmine\world\generator\vanilla\surface\MaterialContext $c) : bool