IntProvider 5.46.0
A parsed vanilla IntProvider: the sampler and its value range.
Properties
$max
php
public readonly int $max$min
php
public readonly int $min$sample
php
public readonly \Closure $sampleMethods
__construct()
php
public function __construct(\Closure $sample, int $min, int $max)constant()
php
public static function constant(int $value) : selfsample()
php
public function sample(\pocketmine\world\generator\vanilla\feature\FeatureRandom $random) : int