BiomeClimate 5.46.0
Biome temperature, freezing and snowing checks of Java 26.3 (Biome.getTemperature(), shouldFreeze(), shouldSnow()), in float32 like Java. During worldgen the block light is 0.
Methods
__construct()
php
public function __construct(\pocketmine\world\generator\vanilla\feature\FeatureRegistry $registry)shouldFreeze()
php
public function shouldFreeze(\pocketmine\world\generator\vanilla\feature\FeatureContext $c, int $x, int $y, int $z, bool $checkNeighbors = true, ?int $biome = null) : boolshouldSnow()
php
public function shouldSnow(\pocketmine\world\generator\vanilla\feature\FeatureContext $c, int $x, int $y, int $z, ?int $biome = null) : booltemperature()
php
public function temperature(int $biome, int $x, int $y, int $z, int $seaLevel) : floatwarmEnoughToRain()
php
public function warmEnoughToRain(int $biome, int $x, int $y, int $z, int $seaLevel) : bool