Package worldmap

Examples of worldmap.MapColumnChunk


   
   
    for(byte y = 0; y < 16; y++) {
      if(!column.isAir(y)) {
        bitmask |= maskerbit;
        MapColumnChunk chunk = column.getChunk(y);
        if(block_ids == null) {
          block_ids = chunk.getBlocksIds();
          block_metadata = chunk.getBlocksMetadata();
          block_light = chunk.getBlocksLight();
          block_skylight = chunk.getBlocksSkylight();
        } else {
          block_ids = ArrayMerge.mergeBytes(block_ids, chunk.getBlocksIds());
          block_metadata = ArrayMerge.mergeBytes(block_metadata, chunk.getBlocksMetadata());
          block_light = ArrayMerge.mergeBytes(block_light, chunk.getBlocksLight());
          block_skylight = ArrayMerge.mergeBytes(block_skylight, chunk.getBlocksSkylight());
        }
       
      }
      maskerbit <<= maskerbit;
    }
View Full Code Here

TOP

Related Classes of worldmap.MapColumnChunk

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.