Package mapwriter.region

Examples of mapwriter.region.BlockColours.loadFromFile()


    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
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.