mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Chunk: specify expected bounds for Y coordinates
This commit is contained in:
parent
db215283a2
commit
167492087f
@ -175,7 +175,7 @@ class Chunk{
|
||||
* Returns a bitmap of block ID and meta at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
*
|
||||
* @return int bitmap, (id << 4) | meta
|
||||
@ -188,7 +188,7 @@ class Chunk{
|
||||
* Sets block ID and meta in one call at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
* @param int|null $blockId 0-255 if null, does not change
|
||||
* @param int|null $meta 0-15 if null, does not change
|
||||
@ -205,7 +205,7 @@ class Chunk{
|
||||
* Returns the block ID at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
*
|
||||
* @return int 0-255
|
||||
@ -218,7 +218,7 @@ class Chunk{
|
||||
* Sets the block ID at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
* @param int $id 0-255
|
||||
*
|
||||
@ -234,7 +234,7 @@ class Chunk{
|
||||
* Returns the block meta value at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
*
|
||||
* @return int 0-15
|
||||
@ -247,7 +247,7 @@ class Chunk{
|
||||
* Sets the block meta value at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
* @param int $data 0-15
|
||||
*
|
||||
@ -263,7 +263,7 @@ class Chunk{
|
||||
* Returns the sky light level at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
*
|
||||
* @return int 0-15
|
||||
@ -276,7 +276,7 @@ class Chunk{
|
||||
* Sets the sky light level at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
* @param int $level 0-15
|
||||
*
|
||||
@ -303,7 +303,7 @@ class Chunk{
|
||||
* Returns the block light level at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y 0-15
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
*
|
||||
* @return int 0-15
|
||||
@ -316,7 +316,7 @@ class Chunk{
|
||||
* Sets the block light level at the specified chunk block coordinates
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y 0-15
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
* @param int $level 0-15
|
||||
*
|
||||
@ -653,7 +653,7 @@ class Chunk{
|
||||
* Returns the tile at the specified chunk block coordinates, or null if no tile exists.
|
||||
*
|
||||
* @param int $x 0-15
|
||||
* @param int $y
|
||||
* @param int $y 0-255
|
||||
* @param int $z 0-15
|
||||
*
|
||||
* @return Tile|null
|
||||
|
Loading…
x
Reference in New Issue
Block a user