mirror of
https://github.com/PaperMC/Paper.git
synced 2025-09-03 05:43:52 -07:00
SPIGOT-5422: Add support for 3-dimensional biomes
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -104,19 +104,44 @@ public interface ChunkSnapshot {
|
||||
* @param x X-coordinate (0-15)
|
||||
* @param z Z-coordinate (0-15)
|
||||
* @return Biome at given coordinate
|
||||
* @deprecated biomes are now 3-dimensional
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
Biome getBiome(int x, int z);
|
||||
|
||||
/**
|
||||
* Get raw biome temperature (0.0-1.0) at given coordinate
|
||||
* Get biome at given coordinates
|
||||
*
|
||||
* @param x X-coordinate (0-15)
|
||||
* @param y Y-coordinate (0-255)
|
||||
* @param z Z-coordinate (0-15)
|
||||
* @return Biome at given coordinate
|
||||
*/
|
||||
@NotNull
|
||||
Biome getBiome(int x, int y, int z);
|
||||
|
||||
/**
|
||||
* Get raw biome temperature at given coordinates
|
||||
*
|
||||
* @param x X-coordinate (0-15)
|
||||
* @param z Z-coordinate (0-15)
|
||||
* @return temperature at given coordinate
|
||||
* @deprecated biomes are now 3-dimensional
|
||||
*/
|
||||
@Deprecated
|
||||
double getRawBiomeTemperature(int x, int z);
|
||||
|
||||
/**
|
||||
* Get raw biome temperature at given coordinates
|
||||
*
|
||||
* @param x X-coordinate (0-15)
|
||||
* @param y Y-coordinate (0-15)
|
||||
* @param z Z-coordinate (0-15)
|
||||
* @return temperature at given coordinate
|
||||
*/
|
||||
double getRawBiomeTemperature(int x, int y, int z);
|
||||
|
||||
/**
|
||||
* Get world full time when chunk snapshot was captured
|
||||
*
|
||||
|
Reference in New Issue
Block a user