|
| lookup (float $temperature, float $rainfall) |
|
Definition at line 32 of file BiomeSelector.php.
◆ __construct()
pocketmine\world\generator\biome\BiomeSelector::__construct |
( |
Random |
$random | ) |
|
◆ getRainfall()
pocketmine\world\generator\biome\BiomeSelector::getRainfall |
( |
float |
$x, |
|
|
float |
$z |
|
) |
| |
◆ getTemperature()
pocketmine\world\generator\biome\BiomeSelector::getTemperature |
( |
float |
$x, |
|
|
float |
$z |
|
) |
| |
◆ lookup()
pocketmine\world\generator\biome\BiomeSelector::lookup |
( |
float |
$temperature, |
|
|
float |
$rainfall |
|
) |
| |
|
abstractprotected |
Lookup function called by recalculate() to determine the biome to use for this temperature and rainfall.
- Returns
- int biome ID 0-255
◆ pickBiome()
pocketmine\world\generator\biome\BiomeSelector::pickBiome |
( |
float |
$x, |
|
|
float |
$z |
|
) |
| |
◆ recalculate()
pocketmine\world\generator\biome\BiomeSelector::recalculate |
( |
| ) |
|
The documentation for this class was generated from the following file: