public interface BiomeMap extends GenerationPass
| Modifier and Type | Method and Description |
|---|---|
GenerationBiome |
get(int x,
int z)
Gets the
GenerationBiome at the given world coordinates. |
Identifier |
getId() |
GenerationBiome[] |
getRegion(GenerationBiome[] arr,
int x,
int z,
int sizeX,
int sizeZ)
Gets the
GenerationBiomes in the given world region. |
Identifier[] |
getRegionIds(Identifier[] arr,
int x,
int z,
int sizeX,
int sizeZ)
Gets the
Identifiers of the biomes in the given world region. |
boolean |
needsCaching() |
Set<GenerationBiome> |
possibleBiomes() |
initGenerationBiome get(int x, int z)
GenerationBiome at the given world coordinates.x - the X coordinatez - the Z coordinateGenerationBiome at the given coordinatesGenerationBiome[] getRegion(GenerationBiome[] arr, int x, int z, int sizeX, int sizeZ)
GenerationBiomes in the given world region.arr - the GenerationBiome[] to fill. A new array will be created if this array is null or too smallx - the region's base X coordinatez - the region's base Z coordinatesizeX - the size of the region along the X axissizeZ - the size of the region along the Z axis
Gets the GenerationBiomes in the given world region.Identifier[] getRegionIds(Identifier[] arr, int x, int z, int sizeX, int sizeZ)
Identifiers of the biomes in the given world region.arr - the Identifier[] to fill. A new array will be created if this array is null or too smallx - the region's base X coordinatez - the region's base Z coordinatesizeX - the size of the region along the X axissizeZ - the size of the region along the Z axis
Gets the Identifiers in the given world region.boolean needsCaching()
BiomeMap's results should be cached for performanceSet<GenerationBiome> possibleBiomes()
Identifier getId()
getId in interface GenerationPassCopyright © 2020. All rights reserved.