|
| | getY () |
| |
| | getBlockId ($x, $y, $z) |
| |
| | setBlockId ($x, $y, $z, $id) |
| |
| | getBlockData ($x, $y, $z) |
| |
| | setBlockData ($x, $y, $z, $data) |
| |
| | getBlock ($x, $y, $z, &$blockId, &$meta=null) |
| |
| | getFullBlock ($x, $y, $z) |
| |
| | setBlock ($x, $y, $z, $blockId=null, $meta=null) |
| |
| | getBlockSkyLight ($x, $y, $z) |
| |
| | setBlockSkyLight ($x, $y, $z, $level) |
| |
| | getBlockLight ($x, $y, $z) |
| |
| | setBlockLight ($x, $y, $z, $level) |
| |
| | getBlockIdColumn ($x, $z) |
| |
| | getBlockDataColumn ($x, $z) |
| |
| | getBlockSkyLightColumn ($x, $z) |
| |
| | getBlockLightColumn ($x, $z) |
| |
|
| getIdArray () |
| |
|
| getDataArray () |
| |
|
| getSkyLightArray () |
| |
|
| getLightArray () |
| |
| getBlock |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z, |
|
|
& |
$blockId, |
|
|
& |
$meta = null |
|
) |
| |
| getBlockData |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z |
|
) |
| |
| getBlockDataColumn |
( |
|
$x, |
|
|
|
$z |
|
) |
| |
| getBlockId |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z |
|
) |
| |
| getBlockIdColumn |
( |
|
$x, |
|
|
|
$z |
|
) |
| |
| getBlockLight |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z |
|
) |
| |
| getBlockLightColumn |
( |
|
$x, |
|
|
|
$z |
|
) |
| |
| getBlockSkyLight |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z |
|
) |
| |
| getBlockSkyLightColumn |
( |
|
$x, |
|
|
|
$z |
|
) |
| |
| getFullBlock |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z |
|
) |
| |
Gets block and meta in one go
- Parameters
-
| int | $x | 0-15 |
| int | $y | 0-15 |
| int | $z | 0-15 |
- Returns
- int bitmap, (id << 4) | data
Implemented in ChunkSection, and EmptyChunkSection.
| setBlock |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z, |
|
|
|
$blockId = null, |
|
|
|
$meta = null |
|
) |
| |
- Parameters
-
| int | $x | 0-15 |
| int | $y | 0-15 |
| int | $z | 0-15 |
| int | $blockId,if | null, do not change |
| int | $meta | 0-15, if null, do not change |
- Returns
- bool
Implemented in ChunkSection, and EmptyChunkSection.
| setBlockData |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z, |
|
|
|
$data |
|
) |
| |
| setBlockId |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z, |
|
|
|
$id |
|
) |
| |
| setBlockLight |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z, |
|
|
|
$level |
|
) |
| |
| setBlockSkyLight |
( |
|
$x, |
|
|
|
$y, |
|
|
|
$z, |
|
|
|
$level |
|
) |
| |
The documentation for this interface was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/level/format/ChunkSection.php