Added world.getMaxHeight (currently static until 1.8)

This commit is contained in:
Dinnerbone 2011-07-20 00:03:16 +01:00
parent 40bbf19ca2
commit 8836bf8419

View File

@ -667,6 +667,15 @@ public interface World {
*/ */
public double getHumidity(int x, int z); 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 * Represents various map environment types that a world may be
*/ */