public Biome(String name, int index, int color, BiomeType type) { biomes[index] = this; this.name = name; this.index = index; this.color = color; this.type = type; biomeMap.put(name, this); if (index >= 128) this.color = Util.lightenColor(color, 40); }