public function getBiomeId($x, $z) { return ($this->biomeColors[($z << 4) + $x] & 0xff000000) >> 24; }