Package mapwriter.region.BlockColours

Examples of mapwriter.region.BlockColours.BlockType


  private static int adjustBlockColourFromType(BlockColours bc, int blockAndMeta, int blockColour) {
    // for normal blocks multiply the block colour by the render colour.
    // for other blocks the block colour will be multiplied by the biome colour.
        int blockid = blockAndMeta >> 4;
    Block block = (Block) Block.blockRegistry.getObjectById(blockid);
    BlockType blockType = bc.getBlockType(blockAndMeta);
    switch (blockType) {
   
    case OPAQUE:
      blockColour |= 0xff000000;
    case NORMAL:
View Full Code Here

TOP

Related Classes of mapwriter.region.BlockColours.BlockType

Copyright © 2018 www.massapicom. 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.