Package org.bukkit.generator
Interface ChunkGenerator.BiomeGrid
-
- Enclosing class:
- ChunkGenerator
public static interface ChunkGenerator.BiomeGridInterface to biome section 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BiomegetBiome(int x, int z)Deprecated.biomes are now 3-dimensionalBiomegetBiome(int x, int y, int z)Get biome at x, z within chunk being generatedvoidsetBiome(int x, int y, int z, Biome bio)Set biome at x, z within chunk being generatedvoidsetBiome(int x, int z, Biome bio)Deprecated.biomes are now 3-dimensional
-
-
-
Method Detail
-
getBiome
@NotNull @Deprecated Biome getBiome(int x, int z)
Deprecated.biomes are now 3-dimensionalGet biome at x, z within chunk being generated- Parameters:
x- - 0-15z- - 0-15- Returns:
- Biome value
-
getBiome
@NotNull Biome getBiome(int x, int y, int z)
Get biome at x, z within chunk being generated- Parameters:
x- - 0-15y- - 0-255z- - 0-15- Returns:
- Biome value
-
setBiome
@Deprecated void setBiome(int x, int z, @NotNull Biome bio)
Deprecated.biomes are now 3-dimensionalSet biome at x, z within chunk being generated- Parameters:
x- - 0-15z- - 0-15bio- - Biome value
-
-