BlockColours bc = new BlockColours();
File f = new File(this.configDir, blockColourSaveFileName);
if (this.useSavedBlockColours && f.isFile()) {
// load block colours from file
MwUtil.logInfo("loading block colours from %s", f);
bc.loadFromFile(f);
this.loadBlockColourOverrides(bc);
} else {
// generate block colours from current texture pack
MwUtil.logInfo("generating block colours");
// block type overrides need to be loaded before the block colours are generated