org.bukkit.generator
Interface ChunkGenerator.BiomeGrid

Enclosing class:
ChunkGenerator

public static interface ChunkGenerator.BiomeGrid

Interface to biome data for chunk to be generated: initialized with default values for world type and seed.

Custom generator is free to access and tailor values during generateBlockSections() or generateExtBlockSections().


Method Summary
 Biome getBiome(int x, int z)
          Get biome at x, z within chunk being generated
 void setBiome(int x, int z, Biome bio)
          Set biome at x, z within chunk being generated
 

Method Detail

getBiome

Biome getBiome(int x,
               int z)
Get biome at x, z within chunk being generated

Parameters:
x - - 0-15
z - - 0-15
Returns:
Biome value

setBiome

void setBiome(int x,
              int z,
              Biome bio)
Set biome at x, z within chunk being generated

Parameters:
x - - 0-15
z - - 0-15
bio - - Biome value


Copyright © 2013. All Rights Reserved.