Remove biome colours and fix biome id arrays

This commit is contained in:
Dylan K. Taylor
2016-12-04 14:04:36 +00:00
parent 4d121f7d84
commit aafe0c4f69
9 changed files with 58 additions and 140 deletions

View File

@ -120,13 +120,6 @@ class Nether extends Generator{
$biome = Biome::getBiome(Biome::HELL);
$chunk->setBiomeId($x, $z, $biome->getId());
$color = [0, 0, 0];
$bColor = $biome->getColor();
$color[0] += (($bColor >> 16) ** 2);
$color[1] += ((($bColor >> 8) & 0xff) ** 2);
$color[2] += (($bColor & 0xff) ** 2);
$chunk->setBiomeColor($x, $z, $color[0], $color[1], $color[2]);
for($y = 0; $y < 128; ++$y){
if($y === 0 or $y === 127){