Further refactors to prepare for y=-64 lower limit

This commit is contained in:
Dylan K. Taylor
2021-03-18 00:08:16 +00:00
parent b844c4266d
commit eb9a68edee
17 changed files with 101 additions and 51 deletions

View File

@ -45,9 +45,14 @@ interface ChunkManager{
public function setChunk(int $chunkX, int $chunkZ, Chunk $chunk) : void;
/**
* Returns the height of the world
* Returns the lowest buildable Y coordinate of the world
*/
public function getWorldHeight() : int;
public function getMinY() : int;
/**
* Returns the highest buildable Y coordinate of the world
*/
public function getMaxY() : int;
/**
* Returns whether the specified coordinates are within the valid world boundaries, taking world format limitations