()
| 159 | }; |
| 160 | |
| 161 | public static void update() |
| 162 | { |
| 163 | paletteFormatDefault = "vanilla"; |
| 164 | waterColors = null; |
| 165 | foliageBirchColors = null; |
| 166 | foliagePineColors = null; |
| 167 | swampGrassColors = null; |
| 168 | swampFoliageColors = null; |
| 169 | skyColors = null; |
| 170 | fogColors = null; |
| 171 | underwaterColors = null; |
| 172 | underlavaColors = null; |
| 173 | redstoneColors = null; |
| 174 | xpOrbColors = null; |
| 175 | xpOrbTime = -1; |
| 176 | durabilityColors = null; |
| 177 | stemColors = null; |
| 178 | myceliumParticleColors = null; |
| 179 | lightMapPacks = null; |
| 180 | particleWaterColor = -1; |
| 181 | particlePortalColor = -1; |
| 182 | lilyPadColor = -1; |
| 183 | expBarTextColor = -1; |
| 184 | bossTextColor = -1; |
| 185 | signTextColor = -1; |
| 186 | fogColorNether = null; |
| 187 | fogColorEnd = null; |
| 188 | skyColorEnd = null; |
| 189 | colorsBlockColormaps = null; |
| 190 | blockColormaps = (CustomColormap[][])null; |
| 191 | useDefaultGrassFoliageColors = true; |
| 192 | spawnEggPrimaryColors = null; |
| 193 | spawnEggSecondaryColors = null; |
| 194 | wolfCollarColors = (float[][])null; |
| 195 | sheepColors = (float[][])null; |
| 196 | textColors = null; |
| 197 | setMapColors(mapColorsOriginal); |
| 198 | potionColors = null; |
| 199 | paletteFormatDefault = getValidProperty("mcpatcher/color.properties", "palette.format", CustomColormap.FORMAT_STRINGS, "vanilla"); |
| 200 | String s = "mcpatcher/colormap/"; |
| 201 | String[] astring = new String[] {"water.png", "watercolorX.png"}; |
| 202 | waterColors = getCustomColors(s, astring, 256, 256); |
| 203 | updateUseDefaultGrassFoliageColors(); |
| 204 | |
| 205 | if (Config.isCustomColors()) |
| 206 | { |
| 207 | String[] astring1 = new String[] {"pine.png", "pinecolor.png"}; |
| 208 | foliagePineColors = getCustomColors(s, astring1, 256, 256); |
| 209 | String[] astring2 = new String[] {"birch.png", "birchcolor.png"}; |
| 210 | foliageBirchColors = getCustomColors(s, astring2, 256, 256); |
| 211 | String[] astring3 = new String[] {"swampgrass.png", "swampgrasscolor.png"}; |
| 212 | swampGrassColors = getCustomColors(s, astring3, 256, 256); |
| 213 | String[] astring4 = new String[] {"swampfoliage.png", "swampfoliagecolor.png"}; |
| 214 | swampFoliageColors = getCustomColors(s, astring4, 256, 256); |
| 215 | String[] astring5 = new String[] {"sky0.png", "skycolor0.png"}; |
| 216 | skyColors = getCustomColors(s, astring5, 256, 256); |
| 217 | String[] astring6 = new String[] {"fog0.png", "fogcolor0.png"}; |
| 218 | fogColors = getCustomColors(s, astring6, 256, 256); |
no test coverage detected