|
| getBlockIdAt (int $x, int $y, int $z) |
|
| setBlockIdAt (int $x, int $y, int $z, int $id) |
|
| getBlockDataAt (int $x, int $y, int $z) |
|
| setBlockDataAt (int $x, int $y, int $z, int $data) |
|
| getBlockLightAt (int $x, int $y, int $z) |
|
| updateBlockLight (int $x, int $y, int $z) |
|
| setBlockLightAt (int $x, int $y, int $z, int $level) |
|
| getChunk (int $chunkX, int $chunkZ) |
|
| setChunk (int $chunkX, int $chunkZ, Chunk $chunk=null) |
|
| getSeed () |
|
◆ getBlockDataAt()
getBlockDataAt |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z |
|
) |
| |
◆ getBlockIdAt()
getBlockIdAt |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z |
|
) |
| |
◆ getBlockLightAt()
getBlockLightAt |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z |
|
) |
| |
◆ getChunk()
getChunk |
( |
int |
$chunkX, |
|
|
int |
$chunkZ |
|
) |
| |
◆ getSeed()
◆ setBlockDataAt()
setBlockDataAt |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
int |
$data |
|
) |
| |
Sets the raw block metadata.
- Parameters
-
int | $x | |
int | $y | |
int | $z | |
int | $data | 0-15 |
Implemented in Level, and SimpleChunkManager.
◆ setBlockIdAt()
setBlockIdAt |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
int |
$id |
|
) |
| |
◆ setBlockLightAt()
setBlockLightAt |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z, |
|
|
int |
$level |
|
) |
| |
Sets the raw block light level.
- Parameters
-
int | $x | |
int | $y | |
int | $z | |
int | $level | 0-15 |
Implemented in Level, and SimpleChunkManager.
◆ setChunk()
setChunk |
( |
int |
$chunkX, |
|
|
int |
$chunkZ, |
|
|
Chunk |
$chunk = null |
|
) |
| |
◆ updateBlockLight()
updateBlockLight |
( |
int |
$x, |
|
|
int |
$y, |
|
|
int |
$z |
|
) |
| |
Updates the light around the block
- Parameters
-
Implemented in Level.
The documentation for this interface was generated from the following file:
- src/pocketmine/level/ChunkManager.php