public static interface ChunkGenerator.BiomeGrid
Custom generator is free to access and tailor values during generateBlockSections() or generateExtBlockSections().
Modifier and Type | Method | Description |
---|---|---|
Biome |
getBiome(int x,
int z) |
Deprecated.
biomes are now 3-dimensional
|
Biome |
getBiome(int x,
int y,
int z) |
Get biome at x, z within chunk being generated
|
void |
setBiome(int x,
int y,
int z,
Biome bio) |
Set biome at x, z within chunk being generated
|
void |
setBiome(int x,
int z,
Biome bio) |
Deprecated.
biomes are now 3-dimensional
|
@NotNull @Deprecated Biome getBiome(int x, int z)
x
- - 0-15z
- - 0-15@NotNull Biome getBiome(int x, int y, int z)
x
- - 0-15y
- - 0-255z
- - 0-15@Deprecated void setBiome(int x, int z, @NotNull Biome bio)
x
- - 0-15z
- - 0-15bio
- - Biome valuevoid setBiome(int x, int y, int z, @NotNull Biome bio)
x
- - 0-15y
- - 0-255z
- - 0-15bio
- - Biome valueCopyright © 2019. All rights reserved.