|
|
| __construct ($level, Compound $nbt=null) |
| |
|
| isLightPopulated () |
| |
|
| setLightPopulated ($value=1) |
| |
| | isPopulated () |
| |
| | setPopulated ($value=1) |
| |
| | isGenerated () |
| |
| | setGenerated ($value=1) |
| |
| | getNBT () |
| |
|
| toFastBinary () |
| |
|
| toBinary () |
| |
| | getBlock ($x, $y, $z, &$blockId, &$meta=null) |
| |
| | getFullBlock ($x, $y, $z) |
| |
| | setBlock ($x, $y, $z, $blockId=null, $meta=null) |
| |
| | getBlockId ($x, $y, $z) |
| |
| | setBlockId ($x, $y, $z, $id) |
| |
| | getBlockData ($x, $y, $z) |
| |
| | setBlockData ($x, $y, $z, $data) |
| |
| | getBlockSkyLight ($x, $y, $z) |
| |
| | setBlockSkyLight ($x, $y, $z, $data) |
| |
| | getBlockLight ($x, $y, $z) |
| |
| | setBlockLight ($x, $y, $z, $data) |
| |
|
| getBlockIdColumn ($x, $z) |
| |
|
| getBlockDataColumn ($x, $z) |
| |
|
| getBlockSkyLightColumn ($x, $z) |
| |
|
| getBlockLightColumn ($x, $z) |
| |
| | isSectionEmpty ($fY) |
| |
| | getSection ($fY) |
| |
| | setSection ($fY, ChunkSection $section) |
| |
| | load ($generate=true) |
| |
|
| getBlockIdArray () |
| |
|
| getBlockDataArray () |
| |
|
| getBlockSkyLightArray () |
| |
|
| getBlockLightArray () |
| |
| | getSections () |
| |
|
| initChunk () |
| |
| | getX () |
| |
| | getZ () |
| |
|
| setX ($x) |
| |
|
| setZ ($z) |
| |
| | getLevel () |
| |
| | getProvider () |
| |
| | setProvider (LevelProvider $provider) |
| |
| | getBiomeId ($x, $z) |
| |
| | setBiomeId ($x, $z, $biomeId) |
| |
| | getBiomeColor ($x, $z) |
| |
| | setBiomeColor ($x, $z, $R, $G, $B) |
| |
| | getHeightMap ($x, $z) |
| |
| | setHeightMap ($x, $z, $value) |
| |
|
| recalculateHeightMap () |
| |
| | getBlockExtraData ($x, $y, $z) |
| |
| | setBlockExtraData ($x, $y, $z, $data) |
| |
|
| populateSkyLight () |
| |
|
| getHighestBlockAt ($x, $z, $cache=true) |
| |
| | addEntity (Entity $entity) |
| |
| | removeEntity (Entity $entity) |
| |
| | addTile (Tile $tile) |
| |
| | removeTile (Tile $tile) |
| |
| | getEntities () |
| |
| | getTiles () |
| |
|
| getBlockExtraDataArray () |
| |
| | getTile ($x, $y, $z) |
| |
| | isLoaded () |
| |
| | load ($generate=true) |
| |
| | unload ($save=true, $safe=true) |
| |
|
| getBlockIdArray () |
| |
|
| getBlockDataArray () |
| |
|
| getBlockSkyLightArray () |
| |
|
| getBlockLightArray () |
| |
| | getBiomeIdArray () |
| |
| | getBiomeColorArray () |
| |
| | getHeightMapArray () |
| |
| | hasChanged () |
| |
| | setChanged ($changed=true) |
| |
|
| toFastBinary () |
| |
|
| isLightPopulated () |
| |
|
| setLightPopulated ($value=1) |
| |
| | getHighestBlockAt ($x, $z) |
| |
|
|
const | SECTION_COUNT = 8 |
| |
| | __construct ($provider, $x, $z, array $sections, array $biomeColors=[], array $heightMap=[], array $entities=[], array $tiles=[]) |
| |
| | __construct ($provider, $x, $z, $blocks, $data, $skyLight, $blockLight, array $biomeColors=[], array $heightMap=[], array $entities=[], array $tiles=[], array $extraData=[]) |
| |
|
| checkOldBiomes ($data) |
| |