Package org.spout.api.generator.biome

Examples of org.spout.api.generator.biome.Simple2DBiomeManager


    setSelector(new PerBlockBiomeSelector(biome));
  }

  @Override
  public BiomeManager generateBiomes(int chunkX, int chunkZ, World world) {
    final BiomeManager biomeManager = new Simple2DBiomeManager(chunkX, chunkZ);
    final byte[] biomeData = new byte[Chunk.BLOCKS.AREA];
    Arrays.fill(biomeData, (byte) biome.getId());
    biomeManager.deserialize(biomeData);
    return biomeManager;
  }
View Full Code Here

TOP

Related Classes of org.spout.api.generator.biome.Simple2DBiomeManager

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.