Property | Type | Description | |
---|---|---|---|
$COMPRESSION_LEVEL | 256 sectors, (1 MiB) | ||
$lastUsed |
Property | Type | Description | |
---|---|---|---|
$filePath | |||
$filePointer | |||
$lastSector | |||
$levelProvider | pocketmine\level\format\LevelProvider | ||
$locationTable | |||
$x | |||
$z |
Method | Description | |
---|---|---|
__construct ( pocketmine\level\format\LevelProvider $level, $regionX, $regionZ ) | ||
__destruct ( ) | ||
chunkExists ( $x, $z ) | ||
close ( ) | ||
doSlowCleanUp ( ) | ||
getX ( ) | ||
getZ ( ) | ||
readChunk ( $x, $z ) | ||
removeChunk ( $x, $z ) | ||
writeChunk ( pocketmine\level\format\FullChunk $chunk ) |
Method | Description | |
---|---|---|
createBlank ( ) | ||
getChunkOffset ( $x, $z ) | ||
isChunkGenerated ( $index ) | ||
loadLocationTable ( ) | ||
saveChunk ( $x, $z, $chunkData ) | ||
unserializeChunk ( $data ) | ||
writeLocationIndex ( $index ) |
Method | Description | |
---|---|---|
cleanGarbage ( ) | ||
writeLocationTable ( ) |
public __construct ( pocketmine\level\format\LevelProvider $level, $regionX, $regionZ ) | ||
$level | pocketmine\level\format\LevelProvider |
public writeChunk ( pocketmine\level\format\FullChunk $chunk ) | ||
$chunk | pocketmine\level\format\FullChunk |
protected LevelProvider,pocketmine\level\format $levelProvider | ||
return | pocketmine\level\format\LevelProvider |