Package net.minecraft.world.gen

Examples of net.minecraft.world.gen.FlatLayerInfo


  public ChunkProviderBedrock(World par1World, long par2, boolean par4) {
    this.worldObj = par1World;
    this.random = new Random(par2);
    generator = new OreClusterGenerator();

    FlatLayerInfo flatlayerinfo = new FlatLayerInfo(256, Blocks.bedrock);

    for (int j = flatlayerinfo.getMinY(); j < flatlayerinfo.getMinY() + flatlayerinfo.getLayerCount(); ++j) {
      this.cachedBlockIDs[j] = (byte) (Block.getIdFromBlock(flatlayerinfo.func_151536_b()) & 255);
      this.cachedBlockMetadata[j] = (byte) flatlayerinfo.getFillBlockMeta();
    }

  }
View Full Code Here

TOP

Related Classes of net.minecraft.world.gen.FlatLayerInfo

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.