Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.generator.ChunkGenerator.BiomeGrid Interface Reference

Public Member Functions

Biome getBiome (int x, int z)
 
void setBiome (int x, int z, Biome bio)
 

Detailed Description

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().

Definition at line 26 of file ChunkGenerator.java.

Member Function Documentation

Biome org.bukkit.generator.ChunkGenerator.BiomeGrid.getBiome ( int  x,
int  z 
)

Get biome at x, z within chunk being generated

Parameters
x- 0-15
z- 0-15
Returns
Biome value
void org.bukkit.generator.ChunkGenerator.BiomeGrid.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

The documentation for this interface was generated from the following file: