|
|
| __construct ($seed) |
| |
| | getBlockIdAt ($x, $y, $z) |
| |
| | setBlockIdAt ($x, $y, $z, $id) |
| |
| | getBlockDataAt ($x, $y, $z) |
| |
| | setBlockDataAt ($x, $y, $z, $data) |
| |
| | getChunk ($chunkX, $chunkZ) |
| |
| | setChunk ($chunkX, $chunkZ, FullChunk $chunk=null) |
| |
|
| cleanChunks () |
| |
| | getSeed () |
| |
| getBlockDataAt |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z |
|
) |
| |
Gets the raw block metadata
- Parameters
-
- Returns
- int 0-15
Implements ChunkManager.
| getBlockIdAt |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z |
|
) |
| |
Gets the raw block id.
- Parameters
-
- Returns
- int 0-255
Implements ChunkManager.
| getChunk |
( |
|
$chunkX, |
|
|
|
$chunkZ |
|
) |
| |
| setBlockDataAt |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z, |
|
|
|
$data |
|
) |
| |
Sets the raw block metadata.
- Parameters
-
| int | $x | |
| int | $y | |
| int | $z | |
| int | $data | 0-15 |
Implements ChunkManager.
| setBlockIdAt |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z, |
|
|
|
$id |
|
) |
| |
Sets the raw block id.
- Parameters
-
| int | $x | |
| int | $y | |
| int | $z | |
| int | $id | 0-255 |
Implements ChunkManager.
| setChunk |
( |
|
$chunkX, |
|
|
|
$chunkZ, |
|
|
FullChunk |
$chunk = null |
|
) |
| |
- Parameters
-
| int | $chunkX | |
| int | $chunkZ | |
| FullChunk | $chunk | |
Implements ChunkManager.
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/level/SimpleChunkManager.php