mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Added world.getMaxHeight (currently static until 1.8)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
c9d867579e
commit
2be5996714
1 changed files with 9 additions and 0 deletions
|
@ -667,6 +667,15 @@ public interface World {
|
|||
*/
|
||||
public double getHumidity(int x, int z);
|
||||
|
||||
/**
|
||||
* Gets the maximum height of this world.
|
||||
*
|
||||
* If the max height is 100, there are only blocks from y=0 to y=99.
|
||||
*
|
||||
* @return Maximum height of the world
|
||||
*/
|
||||
public int getMaxHeight();
|
||||
|
||||
/**
|
||||
* Represents various map environment types that a world may be
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue